Issue Type: Bug Bug
Affects Versions: 1.1
Assignee: Christian Gasser
Attachments: ChartUtil_1_1_0.patch
Components: Report plugin
Created: 25/Oct/13 11:31 AM
Description:

When creating history reports for response times the config param historychartupperbound does not change the range of the Y-Axis (values as one would expect) but the X-Axis (time).
To prevent that peaks in the response times blur the drawing of the history report diagram the limitation of the Y-Axis makes more sense than any range modification of the X-axis.

The supposed bug is in ChartUtil.java Line 100

ChartUtil.java
//..
public static XYPlot setUpperBound( JFreeChart chart, double max )
    {
        XYPlot plot = chart.getXYPlot();

        ValueAxis axis = plot.getDomainAxis();
        axis.setUpperBound( max );

        return plot;
    }
//..

That should be:

ValueAxis axis = plot.getRangeAxis();
Environment: Java 6
OS: Mac 10.8 / various Linux distros
Project: Mojo's Chronos Maven Plugins
Priority: Minor Minor
Reporter: Sebastian Beuster
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to