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
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

LineChart(symbol+label+shadow;​on)

4

/* Set up styles. */

5

LineStyle(1;​poly;​1;​#3879aa)

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

Scaling(y;​percent;​0;​100;​1;​4)

12

AxisOptions(x;​none) /* Hide x-axis. */

13

AxisLine(y;​0) /* Hide y-axis line. */

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

CloseDrawing()

AXIS_MINOR_TICK_LABEL_BACKGROUND_01
Scroll to Top