|
||||||||||
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.StockTestDriver
This file provides examples of how to create all the different chart types provided by this package.
Constructor Summary | |
StockTestDriver()
|
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) static ChartTypeProperties |
getChartTypeProperties(int numberOfDataSets)
Separate this so can use for combo chart test |
(package private) DataSeries |
getDataSeries()
Test for LineChart |
(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 StockTestDriver()
Method Detail |
boolean supportsImageMap()
supportsImageMap
in class AxisChartTestBase
static ChartTypeProperties getChartTypeProperties(int numberOfDataSets)
DataSeries getDataSeries() throws ChartDataException
getDataSeries
in class AxisChartTestBase
ChartDataException
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 |