Package org.ibisph.charts

Provides classes and interfaces for the ibisph indicator profile and query charts.

See:
          Description

Interface Summary
Chart Specifies all required methods needed to generate an IBIS-PH type chart.
ChartData Chart specific data methods used by the chart related DAO and presentation objects.
 

Class Summary
AbstractChart Core chart object that provides the common Chart methods.
AbstractSharedChart Core chart object that provides the common Chart methods for shared static type charts.
Area Area chart implementation.
GroupedBar Grouped Bar specific chart object class.
GroupedHorzBar Grouped Horizontal Bar specific chart object class.
Line Line chart specific class.
Pie Pie chart specific class.
StackedArea Stacked Area specific class (standard calls).
StackedBar Grouped Stacked Bar specific chart object class.
 

Package org.ibisph.charts Description

Provides classes and interfaces for the ibisph indicator profile and query charts.

These classes are needed for two reasons:

  1. Standard way to load the data from query modules/results and indicator profiles into chart objects.
  2. The Agileblox chart objects are NOT thread safe so the core method call to the AB chart has to be synchronized (Shared Chart) or a new instance of the chart needs to be created and have all of its properties set (standard Chart).
The Chart interface defines the methods needed to load the actual chart object with data, build and adjust the chart control parameters, and generate the SVG chart content. The _Chart object provides the common core methods for all chart objects. All chart objects extend the _Chart or the _SharedChart and only implement specific content adjustment and generation methods. The _SharedChart object is basically a _Chart which has the main SVG content generation method getBaseChart synchronized so that the actual AgileBlox chart object can be reused.

The ChartData interface defines the methods needed for a DAO to load the actual values from a data source. The SimpleChartData object implements all the core ChartData methods.