Class ChartTestDriver


  • public final class ChartTestDriver
    extends java.lang.Object
    This file provides examples of how to create all the different chart types provided by this package.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) static java.lang.String EXTENSION  
      private static java.lang.String JPEG  
      private static java.lang.String JPEG_LEGACY  
      (package private) static java.lang.String OUTPUT_PATH  
      private static java.lang.String PNG  
      private static java.lang.String SVG  
    • Constructor Summary

      Constructors 
      Constructor Description
      ChartTestDriver()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static void exportImage​(Chart chart, java.lang.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​(java.lang.String[] args)
      Main method so can run as command line.
      private static void testAxisScale()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait