public final class ChartTestDriver extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) static String |
EXTENSION |
private static String |
JPEG |
private static String |
JPEG_LEGACY |
(package private) static String |
OUTPUT_PATH |
private static String |
PNG |
private static String |
SVG |
| Constructor and Description |
|---|
ChartTestDriver() |
| Modifier and Type | Method and Description |
|---|---|
(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(String[] args)
Main method so can run as command line.
|
private static void |
testAxisScale() |
private static final String SVG
private static final String PNG
private static final String JPEG
private static final String JPEG_LEGACY
static final String OUTPUT_PATH
static final String EXTENSION
public static void main(String[] args) throws ChartDataException, PropertyException
args - command line arguements.ChartDataExceptionPropertyExceptionprivate static void testAxisScale()
static void exportImage(Chart chart, String fileName) throws ChartDataException, PropertyException
chart - verything that is renderable extends this class.fileName - what to name the fileChartDataExceptionPropertyException