bindingInfo.colorFrame

Specifies the aesthetic color treatment for the chart elements. A ColorFrame can color-code chart elements by value, or simply specify a static color scheme. The default for dimensions is CategoricalColorFrame, and the default for measures is GradientColorFrame.

Type

Example

Chart1.bindingInfo.setColorField("Total",Chart.NUMBER);
Chart1.bindingInfo.colorFrame = new HeatColorFrame;

HeatColorFrame

Dashboard script that modifies bindingInfo should generally be placed in the onRefresh handler. See Add Dashboard Script.