Package org.jCharts.test
Class ChartTestDriver
java.lang.Object
org.jCharts.test.ChartTestDriver
This file provides examples of how to create all the different chart types provided by
this package.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static void
exportImage
(Chart chart, String fileName) Utility method to write the image to file so I do not have to deal with file i/o every time I write a test.static void
Main method so can run as command line.private static void
-
Field Details
-
SVG
- See Also:
-
PNG
- See Also:
-
JPEG
- See Also:
-
JPEG_LEGACY
- See Also:
-
OUTPUT_PATH
- See Also:
-
EXTENSION
- See Also:
-
-
Constructor Details
-
ChartTestDriver
public ChartTestDriver()
-
-
Method Details
-
main
Main method so can run as command line.- Parameters:
args
- command line arguements.- Throws:
ChartDataException
PropertyException
-
testAxisScale
private static void testAxisScale() -
exportImage
Utility method to write the image to file so I do not have to deal with file i/o every time I write a test.- Parameters:
chart
- verything that is renderable extends this class.fileName
- what to name the file- Throws:
ChartDataException
PropertyException
-