Skip to main content

Pentaho+ documentation has moved!

The new product documentation portal is here. Check it out now at docs.hitachivantara.com

 

Hitachi Vantara Lumada and Pentaho Documentation

PaletteProperty

pentaho.visual.color. PaletteProperty

The PaletteProperty class represents a color palette of a visualization and defines its required capabilities.

The capabilities of the color palette are described by the levels attribute.

The valueType of a property of this type is Palette.

The defaultValue of a property of this type is initialized to a function that queries registered palette instances for one with a compatible level. It does not choose a palette that another palette property in the same visualization model is already using. During construction, this exclusion rule only covers properties which are defined before it.

AMD Module

require(["pentaho/visual/color/PaletteProperty"], function(PaletteProperty) { /* code goes here */ });

Extends

  • pentaho.type.PaletteProperty

Constructor

Name Description
new PaletteProperty()

This class was not designed to be constructed directly.

Constructor Details

new PaletteProperty()

This class was not designed to be constructed directly.

Source: javascript/web/pentaho/visual/color/PaletteProperty.js, line 45