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. If the chart has one data
series, there will be one bar per sample. If the chart has 3 data
series, there will be 3 bars per sample.
|
|
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. The position can either be
left or right if the bars are vertical, or top or bottom if the bars
are horizontal. The default is 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.
|
|
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 barLabelsOn is turned on. They can also be displayed
floating over each bar if the barLabelStyle is set to floating.
Use \n for line breaks.
|
|
barLabelsOn |
|
Turns on the labels below each sample.
|
|
barLabelStyle |
|
Sets the style of the sample labels (below, floating, below_and_floating).
|
|
barLabelAngle |
|
Sets the clockwise angle of the bar labels.
|
|
barLabelFont |
|
Sets the font of the bar labels.
|
|
valueLabelsOn |
|
Turns on the value labels for each bar.
|
|
sampleDecimalCount_0 |
|
sampleDecimalCount_1 |
|
Sets the number of decimals used for the value labels in a data series.
Use sampleDecimalCount for all data series.
|
|
valueLabelStyle |
|
Sets the style of the value labels (outside, inside, floating).
|
|
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 in charts
with multiple data series, or the sample labels in charts with one
data series (and multiSeriesOn=false).
|
|
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.
|
|
multiSeriesOn |
|
If this is turned on, the legend labels will always be the series labels.
If this is turned off, the legend labels will be the sample labels when
the chart has one data series, and the series labels when the chart
has multiple data series.
|
|
sampleAxisLabel |
|
Adds a label below the sample axis. Use \n for line breaks.
|
|
sampleAxisLabelFont |
|
Sets the font used for the sample axis label.
|
|
sampleAxisLabelAngle |
|
Sets the clockwise angle of the sample axis label. Usefull when the
bars are horizontally aligned.
|
|
floatingLabelFont |
|
Sets the font used for the floating tool-tip labels.
|
Style |
3DModeOn |
|
Turns on 3D display mode.
|
|
3DDepth |
|
Sets the depth of the 3D effect.
|
|
valueLinesOn |
|
Turns on the horizontal 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 colors 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.
|
|
barAlignment |
|
Sets the alignment of the bars (horizontal or vertical).
|
|
barType |
|
Sets stacked bars when multiple data series are used (stacked or side).
|
|
barOutlineOff |
|
Turns on or off the outline around the bars.
|
|
barOutlineColor |
|
Sets the color used for the bar outline.
|
|
barWidth |
|
Sets the relative width of the bars. With a width of 1, the bars are
given all the space available to them, and there will be no space
between bars of different samples.
|
|
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.
|
Colors |
multiColorOn |
|
When turned on bars are displayed with different colors.
|
|
sampleColors |
|
Sets the colors used for the bars. If the chart has one data series,
the colors will correspond to each bar. If the chart has several
data series, the colors will correspond to each data series.
|
|
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 or bar is double-clicked. Use urltarget to
control the window where the page is opened.
|
|
url_1 |
|
|