#168 Enhanced BoxAndWhiskerRenderer

open
David Gilbert
None
5
2007-07-25
2007-07-23
Priya Shivapura
No

'm submitting a new BoxAndWhiskerRenderer with the following enhancements in SourceForge Patches.

- Colors for the outliers and farouts can be set.
- The radius of the outliers and farouts are constant. They do not depend on the width of the boxes.
- drawing all the outliers and all the farouts.
- tooltips for the outliers and farouts.

I have also modified the BoxAndWhiskerToolTipGenerator so that tooltips are generated even if some of the values are null.

Discussion

  • Logged In: YES
    user_id=1808021
    Originator: YES

    File Added: ExtendedBoxAndWhiskerToolTipGenerator.java

     
    • summary: New BoxAndWhiskerRenderer --> Enhanced BoxAndWhiskerRenderer
     
  • David Gilbert
    David Gilbert
    2007-07-25

    Logged In: YES
    user_id=112975
    Originator: NO

    Thanks for the patch, I'm looking through it now and it looks pretty good. One quick comment - where you add a CategoryItemEntity for the outliers and farouts, you might want to create subclasses of CategoryItemEntity so that client code can determine that you did, in fact, click on an outlier/farout rather than the data item itself. I may have more comments after some more review...

    Regards,

    Dave Gilbert
    JFreeChart Project Leader

     
  • David Gilbert
    David Gilbert
    2007-07-25

    • assigned_to: nobody --> mungady
     
  • Logged In: YES
    user_id=1808021
    Originator: YES

    Hello Dave,

    Thanks for your comments. I was finally able to implement your suggestions. I have also made one modification to the Renderer. Now, Outliers are drawn only if they are within the data area. This helps when zooming. I'm submitting new files and the modified Renderer file.

    Regards,
    Priya

     
  • Logged In: YES
    user_id=1808021
    Originator: YES

    File Added: ExtendedBoxAndWhiskerRenderer.java

     
  • Logged In: YES
    user_id=1808021
    Originator: YES

    File Added: FaroutEntity.java

     
  •  
    Attachments
  •  
    Attachments
  • Logged In: YES
    user_id=1808021
    Originator: YES

    File Added: OutlierEntity.java