AxisMinorTickLabelTexts

AxisMinorTickLabelTexts ( axisIndex ;​ text1 ;​ text2 ;​ . . . ;​ text10000 )

Argument Type Range Default Note
axisIndex int 0..10000 all
text1 styt 0..1000 "|u|" Max. 1000 chars.
text2 styt 0..1000 "|u|" Max. 1000 chars.
... styt 0..1000 "|u|" Max. 1000 chars.
text10000 styt 0..1000 "|u|" Max. 1000 chars.
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_TEXTS_01
1

OpenDrawing(250;​150)

2

ChartData( 1 2 3 4 5 6 7 8 9 10 11 12 13;​

3

18 19 18 17 14 14 12 11 10 8 6 5 4)

4

LineChart2D(symbol+shadow)

5

/* Set up styles. */

6

LineStyle(1;​poly;​1;​#4682b4)

7

SymbolStyle(1;​circle;​4.5;​1;​#4682b4;​;​white)

8

ShadowStyle(all;​2 2 3)

9

/* Set up axes. */

10

Scaling(x;​linear;​1;​13;​1;​12)

11

AxisLine(all;​0) /* Hide axis lines. */

12

AxisMajorTicks(all;​0) /* Hide major tick marks. */

13

AxisMinorTicks(all;​0) /* Hide minor tick marks. */

14

AxisMajorTickLabelTexts(x;​"8:00";​"9:00")

15

AxisMajorTickLabelStyle(x;​Verdana;​9;​bold;​#555)

16

AxisMinorTickLabelTexts(x;​" 10'";​" 20'";​" 30'";​" 40'";​" 50'")

17

AxisMinorTickLabelStyle(x;​Verdana;​9;​plain;​#333)

18

AxisMinorTickLabelOptions(x;​;​;​;​2;​2) /* Every 2nd value. */

19

AxisMajorTickLabelOptions(y;​;​;​;​1;​2) /* Hide "0" */

20

/* Set up grid. */

21

MajorGridLineWidths(all;​all;​0.25)

22

MinorGridLineWidths(y;​x;​0.25)

23

MajorGridLineColors(all;​all;​gray)

24

MinorGridLineColors(all;​all;​gray)

25

GridFrame(xy;​0.5;​#555)

26

CloseDrawing()

AXIS_MINOR_TICK_LABEL_TEXTS_01
AXIS_MINOR_TICK_LABEL_TEXTS_02
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;​;​2 2 3)

17

AxisMinorTickLabelTexts(y;​"|u|%")

18

/* Set up grid. */

19

MajorGridLineWidths(y;​x;​0)

20

MajorGridLineWidths(x;​y;​0.25)

21

MinorGridLineWidths(x;​y;​0.25)

22

MajorGridLineColors(all;​all;​gray)

23

MinorGridLineColors(all;​all;​gray)

24

CloseDrawing()

AXIS_MINOR_TICK_LABEL_TEXTS_02
Scroll to Top