"colorStyle"

Defines the color style of the graph.

Synopsis

shape.colorStyle(string style);

Parameter

Parameter Description
shape Name des Objektes
style
  • "ColorStyleUniform" - Objects are rendered in a single color. The color used is specified in baseColor, singleHighlightColor and multiHighlightColor properties

  • "ColorStyleObjectGradient" - Objects are colored using a full gradient for each object regardless of object height. The gradient used is specified in baseGradients, singleHighlightGradient and multiHighlightGradient properties

  • "ColorStyleRangeGradient" - Objects are colored using a portion of the full gradient determined by the object's height and its position on the Y-axis. The gradient used is specified in baseGradients, singleHighlightGradient and multiHighlightGradient properties

Description

Defines the color style of the graph.

Example

main()
{
  this.colorStyle("ColorStyleUniform");
}

Assignment

BarChart3D EWO