|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jCharts.test.AxisChartTestBase | +--org.jCharts.test.BarTestDriver
This file provides examples of how to create all the different chart types provided by this package.
Constructor Summary | |
BarTestDriver()
|
Method Summary | |
(package private) static void |
axisChartTest(java.lang.String name,
AxisChartTestBase axisChartTestBase)
Test for LineChart |
static void |
bug()
|
private static void |
bug2()
|
(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) static ChartTypeProperties |
getChartTypeProperties(int numberOfDataSets)
Separate this so can use for combo chart test |
(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 |
public BarTestDriver()
Method Detail |
boolean supportsImageMap()
supportsImageMap
in class AxisChartTestBase
static ChartTypeProperties getChartTypeProperties(int numberOfDataSets)
DataSeries getDataSeries() throws ChartDataException
getDataSeries
in class AxisChartTestBase
ChartDataException
public static void main(java.lang.String[] args) throws PropertyException, ChartDataException
args
-
PropertyException
ChartDataException
public static void bug() throws ChartDataException, PropertyException
ChartDataException
PropertyException
private static void bug2()
static void axisChartTest(java.lang.String name, AxisChartTestBase axisChartTestBase) throws ChartDataException, PropertyException
ChartDataException
PropertyException
final DataSeries createDataSeries(int numberOfValuesToCreate)
AxisChartDataSet createAxisChartDataSet(ChartType chartType, ChartTypeProperties chartTypeProperties, int numberOfDataSets, int numberOfValuesToCreate, int minValue, int maxValue) throws ChartDataException
numberOfDataSets
- numberOfValuesToCreate
- the number of doubles to generateminValue
- maxValue
-
ChartDataException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |