AxisMinorTickLabelStyle

Modified in version 5.0

AxisMinorTickLabelStyle ( axisIndex ;​ font ;​ size ;​ style ;​ color ;​ alignment ;​ orientation ;​ textWidthMax ;​ textHeightMax ;​ ellipsisPosition ;​ shadowEffect ;​ shadowColor )

Argument Type Range Default Note
axisIndex int 0..10000 all
font str 0..1000 ApplFont
size num 0..1000 9 Dimension:[pt]
style int 0..7 plain
color rgba 0..255 black
alignment int 1..3 center
orientation num -360..+360 0 Dimension:[deg]
textWidthMax num -1..10000 -1 Dimension:[pt]
textHeightMax num -1..10000 -1 Dimension:[pt]
ellipsisPosition int 0..4 3
shadowEffect num[] -1000..1000 0
shadowColor rgba 0..255 #888a
Examples

AxisMinorTickLabelStyle(all;​;​8)

AxisMinorTickLabelStyle(y;​Courier;​9;​;​gray;​;​-45)

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

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

17

AxisMajorTickLabelStyle(all;​Courier;​12;​bold;​#1d547e)

18

AxisMinorTickLabelStyle(all;​Courier;​12;​bold;​#1d547e)

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_STYLE_01
Scroll to Top