Skip to main content
Pentaho Documentation

IPalette

pentaho.visual.color.spec.IPalette

The spec.IPalette interface describes a color palette instance in object form.

Source: doc-js/pentaho/visual/color/spec/IPalette.jsdoc, line 17

Extends

Members

Name Description
_ : pentaho.type.spec.UTypeReference

An inline type reference of the value's type.

colors : Array.<string>

The list of colors of the color palette.

level : pentaho.visual.color.Level

The level of measurement of the color palette.

Members Details

_: pentaho.type.spec.UTypeReference

An inline type reference of the value's type.

Source: doc-js/pentaho/type/spec/IInstance.jsdoc, line 27

Inherited From: pentaho.type.spec.IInstance#_

colors: Array.<string>

The list of colors of the color palette.

This property is required.

Source: doc-js/pentaho/visual/color/spec/IPalette.jsdoc, line 36

See also:  pentaho.visual.color.Palette#colors

level: pentaho.visual.color.Level

The level of measurement of the color palette.

Source: doc-js/pentaho/visual/color/spec/IPalette.jsdoc, line 26

Default Value: "nominal"

See also:  pentaho.visual.color.Palette#level