Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1126 PiePlot is cloned incorrectly

1.0.x
closed-fixed
David Gilbert
5
2014-04-08
2014-04-08
Andrey
No

Pie plot is not cloned correctly. It could be reproduced in version 1.17.0
Steps to reproduce:
1) Create chart with Pie plot with any dataset
2) Clone this chart
3) Change colors of sections in cloned chart by using PiePlot.setSectionPaint();
4) Colors will be changed for original chart too

I guess, that PiePlot.sectionPaintMap should be cloned too during cloning original chart to avoid this problem

Discussion

  • David Gilbert
    David Gilbert
    2014-04-08

    • status: open --> closed-fixed
    • assigned_to: David Gilbert
     
  • David Gilbert
    David Gilbert
    2014-04-08

    Thanks for the report. Cloning was very broken, I've committed the fixes for inclusion in the upcoming 1.0.18 release.

    David