org.jCharts.test
Class StackedBarTestDriver

java.lang.Object
  extended byorg.jCharts.test.AxisChartTestBase
      extended byorg.jCharts.test.StackedBarTestDriver

public class StackedBarTestDriver
extends AxisChartTestBase

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


Constructor Summary
StackedBarTestDriver()
           
 
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

StackedBarTestDriver

public StackedBarTestDriver()
Method Detail

supportsImageMap

boolean supportsImageMap()
Specified by:
supportsImageMap in class AxisChartTestBase

getDataSeries

DataSeries getDataSeries()
                   throws ChartDataException
Specified by:
getDataSeries in class AxisChartTestBase
Throws:
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

Throws:
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
Throws:
ChartDataException