Package org.one2team.highcharts.server.export

Examples of org.one2team.highcharts.server.export.HighchartsExporter


    // Chart export
    // ----------------
    // Inputs :
    //    1. chartOptions : the java ChartOptions to be exported,
    //    2. exportFile  : file to export to.
    HighchartsExporter pngExporter = ExportType.png.createExporter ();
//   
    long top2 = 0;
    long top = System.currentTimeMillis ();
    long total = 0;
    for (int i1=0;i1<10;i1++) {
      top2 = System.currentTimeMillis ();
      chartOptions1 = highchartsSamples.createColumnBasic ();
      total += (System.currentTimeMillis ()-top2);
      pngExporter.export (chartOptions1, null, new File (exportDirectory, "column-basic"+i1+".png"));
    }
    System.out.println("creation "+((total)/10));
    System.out.println("this is the end "+((System.currentTimeMillis ()-top-total)/10));
   
  }
View Full Code Here

TOP

Related Classes of org.one2team.highcharts.server.export.HighchartsExporter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.