The superclass for all KavaChart's standard axis classes, Axis
implements methods for drawing grids, labels and ticks that can
be easily re-used in Axis subclasses.
Axis() -
Constructor for class com.ve.kavachart.chart.Axis
Constructs a new Axis without Dataset and Plotarea values.
Calculates label/tick counts based on the userAxisStepSize
this method also currently adjusts the axisEnd so that the step
size is used from axisStart onwards.
Does the core work of creating a chart bean, applying properties, setting
locale information, installing a data provider, overlaying ResourceBundles,
and so on.
Does the core work of creating a table, applying properties, setting
locale information, installing a data provider, overlaying ResourceBundles,
and so on.
A derivative of conventional column charts that draws hi-lo bars using
the y and y2 values from each Datum to determine the top and bottom of
each bar.
A derivative of conventional column charts that draws hi-lo bars using
the y and y2 values from each Datum to determine the top and bottom of
each bar.
Must be called to open/reopen socket and start connection
init() -
Method in class com.ve.kavachart.servlet.Bean
Must be implemented by subclass to set the protected variable "chart" to an instance of
a com.ve.kavachart.chart.Chart subclass (BarChart, LineChart, etc.), and call "getOptions()".
Constructs a new Pie based on the specified dataset, drawn in a size
relative to the overall chart size defined by this chart's Plotarea,
and using this chart's Globals class
Constructs a Regress component from the specified Dataset array, scaled
by the specified X and Y axes, and drawn within the bounds of the
specified Plotarea.
This class creates and draws a collection of sectors to represent data,
each Datum is represented with a simple rectangle within a larger
rectangle representing the Dataset as a whole.
This class creates and draws a chart that displays data as a large
rectangle in which each data element is represented as a smaller
rectangle making up the total area of chart.
Constructs a new StackBar based on the specified array of Datasets,
which are scaled by the specified X Axis and Y Axis, and bounded by
the specified Plotarea
Draws Datasets in horizontally arranged bars, with one color per
Dataset, specified by the Dataset Gc.
Constructs a new StackColumn based on the specified array of Datasets,
which are scaled by the specified X Axis and Y Axis, and bounded by
the specified Plotarea
Draws Datasets in vertically arranged bars, with one color per
Dataset, specified by the Dataset Gc.
We need to know whether the output will be image, flash or SVG so we can do
the appropriate HTML output without creating an instance of the chart bean.
should the bean look for labels on each row/column? If the LabelsOnRows
property is true, this bean will expect a series of rows constructed like
this: label, y1, y2, y3 ...
Should the bean read by rows or by columns? If the ReadByRows property is
false, the bean will expect tables of Y data with X or Label values at the
head of each column.
A SpeedoAxis can be drawn in several configurations:
0 - a nearly full circle, centered in the Plotarea
1 - half circle centered at bottom of plot area
2 - half circle centered at top of plot area
3 - half circle centered at left of plot area
4 - half circle centered at right of plot area
5 - quarter circle centered at ll of plot area
6 - quarter circle centered at lr of plot area
7 - quarter circle centered at ur of plot area
8 - quarter circle centered at ul of plot area
This method sets the axis position according to the table above.
By default, chart definitions emitted by this tag will include a client-side
link map that makes use of "ALT" tags to create data-point tooltip labels.
Given the incoming DataEvent list of Dataset classes and modification flags,
does the work of actually modifying this ChartBean's data representations.