[Index] [Introduction] [Installation] [Cookbook] [Package] [Component] [Chart] [Axis] [Utility] [Applet] [Servlet] [Appdx A] [Appdx B] [API]

FRAMES  NO FRAMES   NO FRAMES INDEX


Individual Applets & Servlets

KavaChart Applets and Servlets include a large number of off-the-shelf applications that you can deploy using built-in parameter handling. This document describes top level classes included in the javachart.servlet and javachart.applet package.

areaApp, dateAreaApp

Area charts can use any general applet or servlet parameters, as well as any shared parameters. There are no parameters that apply only to area charts.

dateAreaApp assumes that X values are time stamps (either raw data, the number of milliseconds used by most computer timekeeping systems, or a textual time stamp). This chart can take advantage of general purpose date parameters and DateAxis specific parameters, as well as line chart parameters.

lineApp, labelLineApp, dateLineApp, disLineApp, regressApp, scrollingLine, zoomLine

Line charts can use any general applet or servlet parameters, as well as any shared parameters. Line charts have variable line width (adjustable by dataset), image markers, and labels that can be toggled on or off. You can also toggle lines on or off to create a scatter plot.

dateLineApp assumes that X values are time stamps (either raw data, the number of milliseconds used by most computer timekeeping systems, or a textual time stamp). This chart can take advantage of general purpose date parameters and DateAxis specific parameters, as well as line chart parameters. LabelLineApp takes user-defined labels along the X axis. DisLineApp draws line segments with discontinuities where data is missing in dataset parameters. RegressApp runs a simple linear regression calculation on the data values passed into this chart.

Line Chart parameters include:
Parameter value type effect
plotLinesOn anything plot lines should display (default)
plotLinesOff anything Create a scatter plot by making plot lines invisible

barApp, columnApp, stackBarApp, stackColumnApp, indBarApp, indColumnApp, hyperBar, hyperColumn, hiLoBarApp, hHiLoBarApp

Bar charts can use any general applet or servlet parameters, as well as any shared parameters. Bar charts have variable bar width, an adjustable baseline, and labels that can be toggled on or off. If you don't include a parameter to define X axis labels, this chart will use Datum labels (param dataset0Labels) beneath each bar. If Datum labels aren't defined, this chart will display each bar's Y value beneath it.

stackBarApp and stackColumnApp stack data series rather than clustering them. indBarApp and indColumnApp assign an individual color to each bar, rather than assigning a color per series. This color can be defined using dataset0Colors

Bar Chart parameters include:
Parameter value type effect
barBaseline double bars ascend or descend from this value
clusterWidth double This determines how wide each bar should be. If the value is 1.0, bar 1 will touch bar 2. If the value is 0.5, each bar will take 50% of the available space. If you have more than one data series defined, this value describes the total width of a cluster of bars.
dataset0Links list a list of URLs for hyperBar and hyperColumn
target String Target frame for hyperBar and hyperColumn drill-down results

pieApp, spinningPie, hyperPie

Pie charts can use any general applet or servlet parameters, as well as any shared parameters. Pie charts can toggle percentage, value, and textual labels. They can also set a beginning angle value, and can set an exploded slice for emphasis.

Pie slice colors are defined using dataset0Colors. SpinningPie is an applet that lets users manipulate the rotation value with mouse drags. HyperPie is an applet that attaches drill-down links to pie slices.

Pie Chart parameters include:
Pie Chart Parameters value type effect
explodeSlice integer slice number to explode
textLabelsOn anything make string labels visible
textLabelsOff anything make string labels invisible (default)
valueLabelsOn anything make numeric labels visible
valueLabelsOff anything make numeric labels invisible (default)
percentLabelsOn anything make percentage labels visible (default)
percentLabelsOff anything make percentage labels invisible
labelPosition integer 0: at center of slice, 1: at edge of slice, 2: outside edge of slice with pointer
startDegrees integer degrees counterclockwise from 3 o'clock for first slice
xLoc double x Location for center of pie (between 0 & 1, default 0.5)
yLoc double y Location for center of pie (between 0 & 1, default 0.5)
pieWidth double % of window for pie diameter (default .6 = 60%)
pieHeight double % of window for pie diameter (default .6 = 60%)
dataset0Links list a list of URLs for hyperPie
target String Target frame for hyperPie drill-down results

speedoApp, hSpeedoApp

Speedo charts can use any general applet or servlet parameters, as well as any shared parameters. Speedo charts have adjustable axis locations and styles, as well as adjustable needle styles. This applet can be particularly useful in conjunction with an image background to superimpose a dial and needle on a scanned image of a physical gauge.

HSpeedoApp adds a "high-water mark" to show where the maximum value of the gauge was.

This chart draws only the first value of dataset 0.

Speedo Chart parameters include:
Speedo Chart Parameters value type effect
needleStyle integer Kind of needle (default 1) 0 = arrow, 1 = line, 2 = thick arrow, 3 = swept arc
speedoPosition integer 0 (default) is a mostly complete circle, 1 - 4 are semi circles in various positions, 5-8 are quarter circles in various positions
labelsInside anything labels on the inside of the speedo
labelsOutside anything labels on the outside of the speedo
watermarkColor color for hSpeedoApp, determines the color of the history watermark

polarApp

Polar charts can use any general applet or servlet parameters, as well as any shared parameters. Polar charts draw a radial line describing the values of a fixed number of categories.

Polar Chart parameters include:
Polar Chart Parameters value type effect
manualSpoking true|false If defined, you are responsible for determining how many "spokes" should be drawn in this chart's axis representation
numSpokes integer The number of spokes in this chart's Axis system (default 4)

barAreaApp

BarArea combination charts can use any general parameters, as well as any shared parameters. BarArea charts have variable bar width, and labels that can be toggled on or off. If you don't include a parameter to define X axis labels, this chart will use Datum labels (param dataset0Labels) beneath each bar. If Datum labels aren't defined, this chart will display each bar's Y value beneath it. Data series can be assigned to either Bar or Area style charting. Bars draw over areas, and may be stacked or clustered. Areas are always stacked. BarArea Chart parameters include:
Parameter value type effect
datasetNType Bar|Area dataset N will be either Bar or Area, based on this value.
stackedBar true|false If "true", bars will be stacked, one series upon another.
barBaseline double bars ascend or descend from this value
clusterWidth double This determines how wide each bar should be. If the value is 1.0, bar 1 will touch bar 2. If the value is 0.5, each bar will take 50% of the available space. If you have more than one data series defined, this value describes the total width of a cluster of bars.
barLabelsOn true|false determines whether labels will be drawn above each bar
barLabelAngle integer degrees to rotate bar labels

barLineApp

BarLine combination charts can use any general parameters, as well as any shared parameters. BarLine charts have variable bar width, and labels that can be toggled on or off. If you don't include a parameter to define X axis labels, this chart will use Datum labels (param dataset0Labels) beneath each bar. If Datum labels aren't defined, this chart will display each bar's Y value beneath it. Data series can be assigned to either Bar or Line style charting. Lines draw over bars, and bars may be stacked or clustered. BarLine Chart parameters include:
Parameter value type effect
datasetNType Bar|Line dataset N will be either Bar or Line, based on this value.
stackedBar true|false If "true", bars will be stacked, one series upon another.
barBaseline double bars ascend or descend from this value
clusterWidth double This determines how wide each bar should be. If the value is 1.0, bar 1 will touch bar 2. If the value is 0.5, each bar will take 50% of the available space. If you have more than one data series defined, this value describes the total width of a cluster of bars.
barLabelsOn true|false determines whether labels will be drawn above each bar
barLabelAngle integer degrees to rotate bar labels

hiLoCloseApp, stickApp, finComboApp

Finance charts can use any general parameters, as well as any shared parameters.

These applets read data from a "customDatasetHandler", which assumes that X values are time stamps (either raw data, the number of milliseconds used by most computer timekeeping systems, or a textual time stamp). This chart can take advantage of general purpose date parameters and DateAxis specific parameters.

These charts take data from a single file or URL. The first column in the file contains dates. Additional columns are processed as follows: Line and Stick consume one column each, HLOC consumes 3 columns.
Parameter value type effect
datasetNType HLOC|Stick|Line dataset N will be either Stick, HLOC, or Line, based on this value. (finComboApp only).
splitWindow true|false if true (default) each dataset type will be in a a separate window with an independent Y axis. The X axis will be shared among all dataset types.


[Index] [Introduction] [Installation] [Cookbook] [Package] [Component] [Chart] [Axis] [Utility] [Appdx A] [Appdx B] [API]