|
[HepData-svn] r1446 - trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/pagesblackhole at projects.hepforge.org blackhole at projects.hepforge.orgFri Mar 25 12:25:17 GMT 2011
Author: whalley Date: Fri Mar 25 12:25:17 2011 New Revision: 1446 Log: fix to handle breaks in yaxis points Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/pages/CombinedPlot.java Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/pages/CombinedPlot.java ============================================================================== --- trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/pages/CombinedPlot.java Fri Mar 11 10:07:04 2011 (r1445) +++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/pages/CombinedPlot.java Fri Mar 25 12:25:17 2011 (r1446) @@ -312,7 +312,7 @@ } XYIntervalSeries series = new XYIntervalSeries(" "); series.setKey(keycount); - for (int ip=1; ip<=yaxis.getPoints().size(); ip++){ + for (int ip=1; ip<=yaxis.getDataset().getXAxis(1).getBins().size(); ip++){ try{ double y = yaxis.getPoint(ip).getValue(); double eplus = 0.0;
More information about the HepData-svn mailing list |