This form demonstrates the features of the chart. Type in a value in
the fields and click the parameter name to update the chart.
The applet code that generates the chart is shown
in the text box to the right of the chart.
|
complex chart
simple chart
|
Values |
seriesCount |
|
Sets the number of data series in the chart. The default seriesCount is 1.
To read more than 1 series use the sampleValues_N parameter. You can
have as many data series as you wish.
|
|
sampleCount |
|
Sets the number of samples in the the chart.
|
|
sampleValues_0 |
|
Sets the sample values for the first data series. If the sampleCount is
not specified the number of samples in the chart will equal the number
of values given with this parameter.
|
|
sampleValues_1 |
|
|
|
seriesRange_1 |
|
Associates a series with a range (1 or 2). Here the second
series uses range 2.
|
Range |
range |
|
range_2 |
|
Sets the upper value of the range axis (y-axis). If this is not set,
the upper range will be automatically set to the largest sample.
|
|
lowerRange |
|
lowerRange_2 |
|
Sets the lower value of the range axis (y-axis). If this is not set,
the lower range will be automatically set to the smallest sample, or
0 if no samples are negative.
|
|
rangeStep |
|
rangeStep_2 |
|
If rangeStep is set and the range is not specified, the range will be
set to the next value divisible by the step. If the largest value of
the chart is 325, and the step is set to 100, the upper range will
automatically be set to 400.
|
|
rangeDecimalCount |
|
rangeDecimalCount_2 |
|
Sets the number of decimals for the range labels.
|
|
rangeAxisLabel |
|
rangeAxisLabel_2 |
|
Adds a label beside the range axis.
|
|
rangeAxisLabelAngle |
|
rangeAxisLabelAngle_2 |
|
Sets the angle of the range axis label.
|
|
rangeLabelFont |
|
rangeAxisLabelFont |
|
Sets the font of the axis labels.
|
|
rangeLabelPrefix |
|
rangeLabelPostfix |
|
Adds a prefix and postfix label to the range labels.
|
|
rangeAdjusterOn |
|
rangeAdjusterOn_2 |
|
Turns on the range adjuster. The range adjuster is a slider which
allows the user to adjust the upper and lower ranges at runtime.
|
|
rangeAdjusterPosition |
|
rangeAdjusterPosition_2 |
|
Sets the position of the range adjuster (left or right).
|
|
rangeOn_2 |
|
Turns on the second range axis. A chart can have two range axis, with
a data series associated with either the first or second range axis.
See the seriesRange_N parameter for series->range setting.
|
|
rangeLabelsOff |
|
Turns off the labels for the first range.
|
Labels |
chartTitle |
|
Sets the title of the chart. Use \n for line breaks.
|
|
titleFont |
|
Sets the font used for the title.
|
|
seriesLabels |
|
Sets the labels for each series. These labels are displayed in the
legend if it's turned on. Use \n for line breaks.
|
|
sampleLabels |
|
Sets the labels for each sample. These labels are displayed below
each sample if the sampleLabelsOn is turned on. Use \n for line breaks.
|
|
sampleLabelsOn |
|
Turns on the labels below each sample.
|
|
sampleLabelAngle |
|
Sets the clockwise angle of the sample labels.
|
|
sampleLabelFont |
|
Sets the font used for the sample labels.
|
|
valueLabelsOn |
|
Turns on the value labels for all lines. Use valueLabelsOn_N to turn
value labels on or off for specific data series.
|
|
sampleDecimalCount_0 |
|
sampleDecimalCount_1 |
|
Sets the number of decimals used for the value labels in a data series.
Use sampleDecimalCount for all data series.
|
|
valueLabelAngle |
|
Sets the clockwise angle of the value labels.
|
|
valueLabelPrefix_0 |
|
valueLabelPostfix_0 |
|
Adds a prefix and postfix label to the value labels. Use valueLabelPrefix
and valueLabelPostfix to add the same label to all the data series.
|
|
valueLabelFont |
|
Sets the font used for the value labels.
|
|
legendOn |
|
Turns on the legend. The legend displays the series labels.
|
|
legendPosition |
|
Sets the position of the legend (right, left, top, bottom).
|
|
legendLabels |
|
Overrides the default legend labels. Use a comma seperated list of labels.
|
|
legendFont |
|
Sets the font used for the legend labels.
|
|
legendColors |
|
Overrides the default legend box colors.
|
|
sampleAxisLabel |
|
Adds a label below the sample axis. Use \n for line breaks.
|
|
sampleAxisLabelFont |
|
Sets the font used for the sample axis label.
|
Style |
3DModeOn |
|
Turns on 3D display mode.
|
|
3DDepth |
|
Sets the depth of the 3D effect.
|
|
valueLinesOn |
|
Turns on the grid value lines.
|
|
valueLinesColor |
|
Sets the color used for the grid value lines.
Use color name or html hex codes (#c0c0c0).
|
|
defaultGridLinesOn |
|
Turns on the default vertical grid lines.
|
|
defaultGridLinesColor |
|
Sets the color used for the default vertical grid lines.
|
|
gridLines |
|
Sets vertical grid lines at the specified positions. Use a comma seperated
string of double values place the grid lines.
|
|
gridLineColors |
|
Sets the colors used for the vertical grid lines set
using the gridLines parameter.
|
|
sampleAxisRange |
|
Sets the range of the sample axis. The vertical grid lines are placed
relative to this range.
|
|
stackedOn |
|
Turns on stacked and filled lines.
|
|
lineWidth |
|
Sets the pixel width for the lines. Use lineWidth_N for specific lines.
The default size is 2.
|
|
sampleScrollerOn |
|
The sample scroller is used to scroll and zoom the samples at runtime.
|
|
visibleSamples |
|
Displays a subset of the samples in the chart. The first argument is the
index of the starting sample, the second argument is the number of samples
to be displayed.
|
|
sampleHighlightOn |
|
Each data series can have the samples highlighted by either a
circle, a square, or a diamond shape. Use this parameter to turn sample
highlighting on or off for the data series. "true" will turn on for
all the series. "true, false" will turn on for series 0, off for
series 1, on for 2, off for 3, and so on.
|
|
sampleHighlightStyle |
|
Use this parameter to set the sample highlight style for each data series.
The possible styles are circle, circle_opaque, circle_filled, square,
square_opaque, square_filled, diamond, diamond_opaque, or diamond_filled.
The sequence works same as for sampleHighlightOn.
|
|
sampleHighlightSize |
|
Sets the size of each highlight. Default is 6. The sequence works as for
sampleHighlightOn.
|
|
seriesLineOff |
|
Turns off the series lines for all the series, or only the specified
data series. This can be used with the sample highlights to make a plotter
chart or a combined line and plotter chart. "true" turns off for all,
"0,3" turns off for series 0 and 3.
|
Colors |
sampleColors |
|
Sets the colors used for the lines and legend boxes.
|
|
background |
|
The applet background color. Use color name or html hex codes (#c0c0c0).
|
|
foreground |
|
The applet foreground color. Use color name or html hex codes (#c0c0c0).
|
|
chartBackground |
|
The chart grid background color. Use color name or html hex codes (#c0c0c0).
|
|
chartForeground |
|
The chart grid foreground color. Use color name or html hex codes (#c0c0c0).
|
Targets and URLs |
targetValueLine_0 |
|
You can set grid lines with a specified label and color at any value
position in the chart. A target value line has a label, a value,
a line color, and a label display style.
<param name="targetValueLine_0" value="break even, 150, green">
<param name="targetValueLine_1" value="bankrupt, 20, red, label">
<param name="targetValueLine_2" value="goal, 250, #0c0aa0, value">
|
|
targetValueLine_1 |
|
|
|
url_0 |
|
Add any valid URL to a data series using this parameter. The page will
open when the legend entry is double-clicked. Use urltarget to control
the window where the page is opened.
|
|
url_1 |
|
|