Package org.jCharts.test
Class PieTestDriver
java.lang.Object
org.jCharts.test.PieTestDriver
This file provides examples of how to create all the different chart types provided by
this package.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static PieChartDataSetgetPieChartDataSet(int numToCreate, int minValue, int maxValue) Generates a random NonAxisChartDataSetstatic void(package private) static voidtest()Test for PieChart2D
-
Constructor Details
-
PieTestDriver
PieTestDriver()
-
-
Method Details
-
test
Test for PieChart2D- Throws:
ChartDataExceptionPropertyException
-
getPieChartDataSet
private static PieChartDataSet getPieChartDataSet(int numToCreate, int minValue, int maxValue) throws ChartDataException Generates a random NonAxisChartDataSet- Parameters:
numToCreate- the number of doubles to generateminValue-maxValue-- Returns:
- PieChartDataSet
- Throws:
ChartDataException
-
main
- Throws:
ChartDataExceptionPropertyException
-