Project: Birt
Bug 291512 Incorrect chart rendering when using major and minor gridlines, scale more than 1 day and X-axis of date type
Reported: 2009-10-06 12:27:42 | Status: verified fixed

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.24 Safari/532.0 Build Identifier: Build id: M20090211-1700 The chart has visible major grid and minor grid with 7 count per unit. X-axis series is of date type, date range 16.05.2009-31.05.2009 Scale: step size:7, unit: Days The report with the above chart is rendered incorrectly: start and end of the date period on X-axis is not matched with rendered chart(see attached screenshot). Start of the chart should be 16.05.2009, end of the chart 31.05.2009 Eclipse 3.4.2 Birt Chart Framework 2.3.2r232 The same incorrectness occurs on Eclipse 3.5.1 Birt Chart 2.5.1 Reproducible: Always Steps to Reproduce: 1.Preview the attached report in birt designer

Files changed in fix:
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/withaxes/OneAxis.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/render/AxesRenderHelper.java