×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Changes - MultiCharts

Changes

Jump to navigation Jump to search

GetPlotColor

120 bytes added, 13:38, 19 February 2012
no edit summary
Returns an [[RGB ]] color number or a legacy color value that correspond to the color of the specified plot[[Plot]].
==== Usage ====
<syntaxhighlight>GetPlotColor(PlotNumber)</syntaxhighlight>
Where: [[ :'''PlotNumber]] ''' - a numerical expression specifying the plot number; plot numbers range from 1 to 999 .
==Notes == Example * Use [[SetPlotColor]] to set the color of a specified [[Plot]]. ==Examples ==Assign an [[RGB ]] color number, corresponding to the color of Plot1, to the Value1 variable:
<syntaxhighlight>Value1=GetPlotColor(1);</syntaxhighlight>
Assign a [[LegacyColorValue|legacy color value]], corresponding to the color of Plot1, to the Value1 variable:
<syntaxhighlight>[LegacyColorValue=True];
Value1=GetPlotColor(1);</syntaxhighlight>
 
 
[[Category:Plotting]]

Navigation menu