AxisMinorTickLabelBackground
AxisMinorTickLabelBackground ( axisIndex ; fillColor ; fillColorVariant ; borderStroke ; borderColor ; borderColorVariant ; shadowEffect ; shadowColor )
Argument | Type | Range | Default | Note |
---|---|---|---|---|
axisIndex | int | 0..10000 | all | |
fillColor | rgba | 0..255 | white | |
fillColorVariant | int | -1..128 | solid | |
borderStroke | num[] | 0..1000 | 1 | Dimension:[pt] |
borderColor | rgba | 0..255 | black | |
borderColorVariant | int | -1..128 | solid | |
shadowEffect | num[] | -1000..1000 | 0 | |
shadowColor | rgba | 0..255 | #888a |
Examples
AxisMinorTickLabelBackground(all;lightGray)
AxisMinorTickLabelBackground(x;;;0;;;2)
Description
The functions for labeling and designing the minor tick marks work exactly the same way as the functions for labeling the major tick marks.
| AXIS_MINOR_TICK_LABEL_BACKGROUND_01 |
1 | OpenDrawing(250;150) |
2 | ChartData(20 18 17 15 13 12) |
3 | |
4 | /* Set up styles. */ |
5 | |
6 | SymbolStyle(1;bullet;17;1;#3879aa) |
7 | ShadowStyle(all;2 2 3) |
8 | LabelStyle(1;Verdana;9;bold;white) |
9 | LabelOptions(1;centerCenter;;-1) |
10 | /* Set up axes. */ |
11 | |
12 | AxisOptions(x;none) /* Hide x-axis. */ |
13 | |
14 | AxisMajorTicks(y;0) /* Hide y-axis major tick marks. */ |
15 | AxisMinorTicks(y;0) /* Hide y-axis minor tick marks. */ |
16 | AxisMajorTickLabelBackground(y;white;;1;white;;1 1 3) |
17 | AxisMinorTickLabelBackground(y;white;;1;white;;1 1 3 ) |
18 | AxisMinorTickLabelTexts(y;"|u|%") |
19 | /* Set up grid. */ |
20 | MajorGridLineWidths(y;x;0) |
21 | MajorGridLineWidths(x;y;1) |
22 | MinorGridLineWidths(x;y;1 2 2) |
23 | MajorGridLineColors(all;all;#ccc) |
24 | MinorGridLineColors(all;all;#ccc) |
25 |