org.jCharts.test
Class ClusteredBarTestDriver

java.lang.Object
  |
  +--org.jCharts.test.AxisChartTestBase
        |
        +--org.jCharts.test.ClusteredBarTestDriver

class ClusteredBarTestDriver
extends AxisChartTestBase

This file provides examples of how to create all the different chart types provided by this package.


Constructor Summary
(package private) ClusteredBarTestDriver()
           
 
Method Summary
(package private) static void axisChartTest(java.lang.String name, AxisChartTestBase axisChartTestBase)
          Test for LineChart
(package private)  AxisChartDataSet createAxisChartDataSet(ChartType chartType, ChartTypeProperties chartTypeProperties, int numberOfDataSets, int numberOfValuesToCreate, int minValue, int maxValue)
          Generates a random MultiDataSet
(package private)  DataSeries createDataSeries(int numberOfValuesToCreate)
           
(package private)  DataSeries getDataSeries()
           
static void main(java.lang.String[] args)
           
(package private)  boolean supportsImageMap()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusteredBarTestDriver

ClusteredBarTestDriver()
Method Detail

supportsImageMap

boolean supportsImageMap()
Specified by:
supportsImageMap in class AxisChartTestBase

getDataSeries

DataSeries getDataSeries()
                   throws ChartDataException
Specified by:
getDataSeries in class AxisChartTestBase
ChartDataException

main

public static void main(java.lang.String[] args)
                 throws PropertyException,
                        ChartDataException
Parameters:
args -
Throws:
PropertyException
ChartDataException

axisChartTest

static void axisChartTest(java.lang.String name,
                          AxisChartTestBase axisChartTestBase)
                   throws ChartDataException,
                          PropertyException
Test for LineChart

ChartDataException
PropertyException

createDataSeries

final DataSeries createDataSeries(int numberOfValuesToCreate)

createAxisChartDataSet

AxisChartDataSet createAxisChartDataSet(ChartType chartType,
                                        ChartTypeProperties chartTypeProperties,
                                        int numberOfDataSets,
                                        int numberOfValuesToCreate,
                                        int minValue,
                                        int maxValue)
                                  throws ChartDataException
Generates a random MultiDataSet

Parameters:
numberOfDataSets -
numberOfValuesToCreate - the number of doubles to generate
minValue -
maxValue -
Returns:
AxisChartDataSet
ChartDataException