Difference between revisions of "GetBackgroundColor"

From MultiCharts
Jump to navigation Jump to search
(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...")
 
 
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 ====
+
== Usage ==
 
<syntaxhighlight>GetBackgroundColor</syntaxhighlight>  
 
<syntaxhighlight>GetBackgroundColor</syntaxhighlight>  
 
   
 
   
==== Example ====
+
== Notes ==
Assign an RGB color number, corresponding to the background color of the chart, to Value1 variable:
+
* Use [[SetPlotBGColor]] to set the background color for a specified [[Plot]].
  
<syntaxhighlight>Value1=GetBackgroundColor;</syntaxhighlight>
+
== Example ==
 +
Assign an [[RGB]] color number, corresponding to the background color of the chart, to the Value1 variable:
  
Assign a legacy color value, corresponding to the background color of the chart, to Value1 variable:
+
<syntaxhighlight>Value1 = GetBackgroundColor;</syntaxhighlight>
  
<syntaxhighlight>[LegacyColorValue=True];
+
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

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;