Skip to content
Snippets Groups Projects
  1. Jul 25, 2016
  2. Jul 23, 2016
  3. Jul 20, 2016
  4. Jul 13, 2016
  5. Jun 13, 2016
  6. Jun 12, 2016
  7. May 13, 2016
  8. Apr 21, 2016
  9. Mar 29, 2016
  10. Mar 14, 2016
  11. Mar 07, 2016
    • Matan Rubin's avatar
      BugFix - NPE when plotting small numbers · aafe0523
      Matan Rubin authored
      Before this patch XChart would get an NPE when trying to plot numbers
      which are smaller then 1E-10. This happened because gridStep was scaled
      using a hard coded 10, zeroing out numbers on smaller scale.
      Now we choose the right scale for small numbers and use that.
      
      This fixes a crash when running the following code:
      	double[] xData = new double[] { 1.0, 2.0};
      	double[] yData = new double[] { 1E-12, 1.1E-12};
      	Chart_XY chart = new ChartBuilder_XY().build();
      	chart.addSeries("Test", xData, yData);
      	new SwingWrapper(chart).displayChart();
      aafe0523
  12. Mar 03, 2016
Loading