The combination of selector and sub-selector identifies specific chart elements. The format is selector.sub-selector where a period is used as the delimiter. In most cases, each component is optional. If you do not specify a selector, ALL is assumed. (ALL implies the complete set of selectors.)
Possible selector values include: ALL, CHART1, CHART2, HEADER, TITLE, SUB‑TITLE, FOOTER, FOOTER-TEXT, SUB-FOOTER-TEXT, CHART-AREA, PLOT‑AREA, LEGEND, LEGEND-SYMBOL, LEGEND-TITLE, ALL-AXIS, X-AXIS, Y-AXIS, and Y2‑AXIS.
For Combination charts, use CHART1 and CHART2 selectors to identify chart elements for the primary and secondary charts, respectively. For example, to set the grid color for the primary chart to red, enter: ATTRIBUTES=('chart1.grid', 'color', ('red'))
Possible sub-selector values include: FILL, GRADIENT, GRID, HILO-LINE, LABEL, LINE, MARKER, OTHER, OUTLINE, RISING-FILL/FALLING-FILL, and SYMBOL.
Table 22. Sub-selector Descriptions
Sub_Selector | Description |
---|---|
FILL | Color of the fill area on a chart. Example: ATTRIBUTES=('fill','style','verticalstripe') Creates a fill style of VerticalStripe for all charts. |
GRADIENT | Color of the gradient fill area on a chart. Example: ATTRIBUTES=('chart1.gradient','color','none') Declares that fill areas are not gradient. ATTRIBUTES=('chart2.gradient','color','black') Declares that fill areas are gradient and that black will be used to create the fill area. |
GRID | Grid attributes (color, style, and line thickness) on a chart. Example: ATTRIBUTES=('x-axis.grid','style','solid') Sets the style of the x-axis grid to a solid line. |
HILO-LINE | For HiLo and Candle charts, defines color, style, and line thickness of the Hi-Low line. Example: ATTRIBUTES=('chart1.hilo-line','color',('blue')) Sets the HILO-LINE (line) color to blue. |
LABEL | Label attributes. Example: ATTRIBUTES=('x-axis.label','foreground',('yellow')) Sets the X-Axis label to the colors specified for all charts. |
LINE | For Line charts, defines color, style, and thickness of data lines. Example: ATTRIBUTES=('chart1.line', 'color',list:(('red'),('blue'),'(green')) Sets the first, second, and third data lines to red, blue, and green, respectively. |
MARKER | Marker label attributes. Example: attributes=('X-axis.marker','point-size',.10) Sets the point size for X-axis markers to ten. |
OTHER | For Pie charts, defines the “Other” pie chart slice. Example: attributes=('other','color',('red')) Sets the “Other” pie slice to red. |
OUTLINE | Attributes (color, style, border thickness) for outlines (bars, pie slices, legend, and legend symbols). Example: ATTRIBUTES=('chart1.outline','style','shortdash') Sets the outline of chart areas to be a short dashed line. |
RISING-FILL/FALLING-FILL | For Candle charts, attributes (fill pattern, color, width of candle) for the fill area in the rising and falling candle. Example: ATTRIBUTES=('rising-fill','size',5) Sets the Rising Fill size to 5 pixels. |
SYMBOL | For Line charts, defines the symbols that appear. Example: attributes=('chart1.symbol','style',list:('diamond','circle','square'),'size',20) Identifies the symbols to be used for data points in a line chart. Diamonds, circles and squares are used for first, second and third data line, respectively. Each symbol is 20x20 pixels. |
Table 23. Valid Selector/Sub-selector Combinations
OTHER | OUTLINE | GRADIENT | HILO-LINE | RISING-FILL | FALLING-FILL | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | |
![]() | ![]() | ![]() | ||||||||||
![]() | ![]() | ![]() | ||||||||||
![]() | ![]() | ![]() | ||||||||||
![]() | ![]() | ![]() | ||||||||||
LEGEND | ![]() | |||||||||||
LEGEND-SYMBOL | ![]() |
Some examples of valid combinations using the selectors/sub-selectors in Table 23 include Chart1.Line, X‑Axis.Marker, and Y2-Axis.Label.