Set discrete axes for time dimensions in PDI Data Explorer
To display Time dimensions in the line and area visualizations on a discrete axis, perform the following steps:
Navigate to the
pentaho/design-tools/data-integration/system/karaf/config/web-client
system directory and open theconfig.js
file with any text editor.Locate the
Example Rule 9 - Disable the continuous date strategy
code block, as shown in this example:// Example Rule 9 - Disable the continuous date strategy, to revert // to the old behavior (Before 8.1) that represents Time dimensions in a discrete axis. /* { select: { module: "pentaho/visual/role/adaptation/EntityWithTimeIntervalKeyStrategy" }, apply: { isBrowsable: false } }, */
Remove the
/*
marker and the*/
marker to uncomment theEntityWithTimeIntervalKeyStrategy
command.Save and close the file, then refresh the browser.
Your line and area visualizations will display Time dimensions on a discrete axis and the scatter visualization will not be able to provide Time dimensions.
PreviousUse discrete axis for line, area, and scatter chartsNextSet discrete axes for number dimensions in PDI Data Explorer
Last updated
Was this helpful?