Skip to main content
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.

Classes

Name Summary
Type

The type class of pentaho.visual.color.PaletteProperty.

Constructor Details

new PaletteProperty()

This class was not designed to be constructed directly.

Source: javascript/web/pentaho/visual/color/paletteProperty.js, line 44