LineColorScheme

Modified in version 5.0

LineColorScheme ( schemeIndex ;​ colorVariant ;​ opacity )

Argument Type Range Default Note
schemeIndex int 0..20 1
colorVariant int -1..0 solid
opacity num 0..1 1
Examples

LineColorScheme(1)

LineColorScheme(beige)

LineColorScheme(classic;​shaded)

LineColorScheme(1;​-1;​0.5) /* Shaded, translucent. */

Description

For more details, please refer to Color Schemes.

LINE_COLOR_SCHEME_01
1

OpenDrawing(250;​150)

2

ChartData(0 0;​ 1 1;​ 2 2;​ 3 3;​ 4 4;​ 5 5;​ 6 6;​ 7 7;​ 8 8)

3

LineChart()

4

/* Set up styles. */

5

LineColorScheme(15)

6

LineStyle(1;​;​1.5 11 4 2 4) /* After LineColorScheme() */

7

/* Set up axes. */

8

AxisLine(all;​0)

9

AxisMajorTicks(all;​0)

10

AxisMajorTickLabelTexts(x;​"")

11

/* Set up grid. */

12

GridLocation(xy;​none)

13

CloseDrawing()

LINE_COLOR_SCHEME_01
Scroll to Top