GetBackgroundColor: Difference between revisions
From MultiCharts
(Created page with "Returns an RGB color number or a legacy color value that correspond to the background color of the chart. ==== Usage ==== <syntaxhighlight>GetBackgroundColor</syntaxhighlig...") |
No edit summary |
||
Line 1: | Line 1: | ||
Returns an RGB color number or a legacy color value that correspond to the background color of the chart. | Returns an [[RGB]] color number or a [[LegacyColorValue|legacy color value]] that correspond to the background [[:Category:Colors|color]] of the chart. | ||
== Usage == | |||
<syntaxhighlight>GetBackgroundColor</syntaxhighlight> | <syntaxhighlight>GetBackgroundColor</syntaxhighlight> | ||
== | == Notes == | ||
* Use [[SetPlotBGColor]] to set the background color for a specified [[Plot]]. | |||
== Example == | |||
Assign an [[RGB]] color number, corresponding to the background color of the chart, to the Value1 variable: | |||
<syntaxhighlight>Value1 = GetBackgroundColor;</syntaxhighlight> | |||
Assign a [[LegacyColorValue|legacy color value]], corresponding to the background color of the chart, to the Value1 variable: | |||
Value1=GetBackgroundColor;</syntaxhighlight> | <syntaxhighlight>[LegacyColorValue = True]; | ||
Value1 = GetBackgroundColor;</syntaxhighlight> | |||
[[Category:Plotting]] | [[Category:Plotting]] |
Latest revision as of 13:40, 19 February 2012
Returns an RGB color number or a legacy color value that correspond to the background color of the chart.
Usage
GetBackgroundColor
Notes
- Use SetPlotBGColor to set the background color for a specified Plot.
Example
Assign an RGB color number, corresponding to the background color of the chart, to the Value1 variable:
Value1 = GetBackgroundColor;
Assign a legacy color value, corresponding to the background color of the chart, to the Value1 variable:
[LegacyColorValue = True];
Value1 = GetBackgroundColor;