#189 DialPlot sometime plots outside the ChartPanel

closed-fixed
None
5
2008-02-15
2008-01-16
Gurminder
No

In the DialPlot draw method, the setClip() is set to the whole dial frame. This causes the clipping region sometimes to be outside the visible ChartPanel area causing it to be drawn outside the component boundaries.

This patch will call g2.clip() instead of g2.setClip() so that the resulting clipping area is intersection of the original clipping area.

Discussion

  • Gurminder

    Gurminder - 2008-01-16

    DialPlot.patch

     
  • David Gilbert

    David Gilbert - 2008-02-15

    Logged In: YES
    user_id=112975
    Originator: NO

    Thanks for the report. I've committed your fix, with a small adjustment (set the initial clip() to the plot area), to subversion for inclusion in the 1.0.10 release.

    Regards,

    Dave Gilbert
    JFreeChart Project Leader

     
  • David Gilbert

    David Gilbert - 2008-02-15
    • assigned_to: nobody --> mungady
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks