CimGraphControl.ChartColor (property)

Gets and sets the control's chart color.
Syntax: OLE_COLOR = object.ChartColor
object.ChartColor = OLE_COLOR
Description: CimGraphControl.ChartColor is used to fill the chart's background. The chart is where the series, sliders and grid are located. Since there is no ambient chart color defined in a control container (e.g. CimView or VB), the property returns the ambient background color when using ambient chart color. If you change the property while using the ambient chart color, the property UseAmbientChartColor is set to False.

The value of this property defaults to the ambient chart color.

Example

The following CimView script excerpt changes the chart color to red:
cimOleObj.ChartColor = cimOleObj.RGB(255,0,0)