This macro can be used to change the color of markers and risers in all chart types except box plots. Use the @MC macro if you want to change the color of markers in box plots.
SYNTAX:
@MCOLOR nSeries Color
PARAMETERS:
nSeries; -1...n (where: n = the total number of series in the chart). -1=apply to all series, 0=Series 1, 1=Series 2, etc.
Color; Defines the color to be applied to the riser(s)/marker(s):
Color Type
Data Type
Range
Example
Color Only
Hex
0x000000...0xFFFFFF
0xFF0000 (Red)
HTML
#000000...#FFFFFF
#FF0000 = Red
Integer
3 integers 0...255 specifying the red, green, & blue components of the color
255 0 0 = Red
String
a color name string from http://www.w3schools.com/CSS/css_colornames.asp
Red
Color + Transparency
String:
Integera color name string from http://www.w3schools.com/CSS/css_colornames.asp:0...255
Red:224 (almost opaque)
HTML
#00000000...#FFFFFFE0 where: last two characters specify transparency level
#ff0000e0
#ff0000=Red
e0=TransparencyGradient
String
@MCOLOR 0 MyGradientDef
Picture
String
@MCOLOR 0
MyPictureDefEXAMPLE: @MCOLOR.WID
@SZ 50
@MCOLOR 0 255 0 0
@MCOLOR 1 0 255 0
@MCOLOR 2 0x0000ff
@MCOLOR 3 Yellow
@GRAD G1 90 Red Pink
@MCOLOR 4 G1
EXAMPLE: @MCOLOR_ON_RISERS.WID
@MCOLOR 0 255 0 0
@MCOLOR 1 Blue
@MCOLOR 2 0x00FF00
@GRAD G1 90 Orange Blue
@MCOLOR 3 G1
ALSO SEE:
@GCOLOR to change the color of other chart objects.
Next Macro
Previous Macro
Return to Alpha List
Next Macro in this Group
Previous Macro in this Group
Return to Group List