Table of content

wight / height parameters


Parameters width and height set dimensions chart in pixels. Width and height given for whole chart including axis, legend and title but not only region with curves.

For example:

(:plot
width=300
height=200
:)
1    10    20    30    40
2    11    22    31    41
3    13    24    33    42
4    15    25    35    43
5    16    26    36    44
6    18    27    37    45
7    20    30    38    46
8    20    30    38    46
9    20    30    38    46
10   20    30    38    46
(:plotend:)





title parameter


The title parameter added title to chart. For example:

(:plot
title = "This is chart title"
:)
1    10    20    30    40
2    11    22    31    41
3    13    24    33    42
4    15    25    35    43
5    16    26    36    44
6    18    27    37    45
7    20    30    38    46
8    20    30    38    46
9    20    30    38    46
10   20    30    38    46
(:plotend:)





Параметр tooltip


Chart have not any interactive with user default, it is a static picture (on the technical side chart is not image, but JavaScript objects set). After adding the tooltip parameter will be shown marker with values in selected point and curve name.


(:plot
tooltip
:)
1    10    20    30    40
2    11    22    31    41
3    13    24    33    42
4    15    25    35    43
5    16    26    36    44
6    18    27    37    45
7    20    30    38    46
8    20    30    38    46
9    20    30    38    46
10   20    30    38    46
(:plotend:)




Design and contents of the tooltip is not changed at the point, but in future may be added advanced parameters for it.

legend parameter


After the adding legend parameter chart will be had a legend. The legend is the region with curves titles and they line styles.

For example:

(:plot
curve.ycol=2
curve.title = "The first curve"
curve.style=1

curve2.ycol=3
curve2.title = "The second curve"
curve2.style=2

curve3.ycol=4
curve3.title = "The third curve"
curve3.style=3

legend
:)
1    10    20    30    40
2    11    22    31    41
3    13    24    33    42
4    15    25    35    43
5    16    26    36    44
6    18    27    37    45
7    20    30    38    46
8    20    30    38    46
9    20    30    38    46
10   20    30    38    46
(:plotend:)