GetPlotColor

From MultiCharts
Revision as of 12:54, 23 January 2012 by 194.84.116.138 (talk) (Created page with "Returns an RGB color number or a legacy color value that correspond to the color of the specified plot. ==== Usage ==== <syntaxhighlight>GetPlotColor(PlotNumber)</syntaxhigh...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Returns an RGB color number or a legacy color value that correspond to the color of the specified plot.

Usage

GetPlotColor(PlotNumber)

Where: PlotNumber - a numerical expression specifying the plot number; plot numbers range from 1 to 999

Example

Assign an RGB color number, corresponding to the color of Plot1, to Value1 variable:

Value1=GetPlotColor(1);

Assign a legacy color value, corresponding to the color of Plot1, to Value1 variable:

[LegacyColorValue=True];

Value1=GetPlotColor(1);