To display Number 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 the config.js file with any text
editor.
-
Locate the Example Rule 10 - Disable the continuous number
strategy code block, as shown in this example:
// Example Rule 10 - Disable the continuous number strategy, to revert
// to the old behavior (Before 8.2) that represents Number dimensions in a discrete axis.
/*
{
select: { module: "pentaho/visual/role/adaptation/EntityWithNumberKeyStrategy" },
apply: { isBrowsable: false }
},
*/
-
Remove the /* marker and the */ marker to
uncomment the EntityWithNumberKeyStrategy command.
-
Save and close the file, then refresh the browser.
Your line and area visualizations will display Number
dimensions on a discrete axis and the scatter visualization will not be able to provide
Number dimensions.