#244 SamplingXYLineRenderer and Double.NaN

Peter Kolb

The new SamplingXYLineRenderer tends to skip the intervalPath (the vertical line between the minimum and maximum y for a range of visually identical x values) if the dataset contains Double.NaN values (see thread http://www.jfree.org/phpBB2/viewtopic.php?f=3&t=27801\). The patch adresses this. The SamplingXYLineRenderer and a XYLineAndShapeRenderer now produce identical lines (checked with the provided test program). The missing legend shape in the LegendItem was also added.


  • David Gilbert

    David Gilbert - 2009-04-28
    • priority: 5 --> 8
    • assigned_to: nobody --> mungady
  • David Gilbert

    David Gilbert - 2009-04-28

    Thanks for the patch. I've just committed a fix for the legend item and will now take a look at your fix for the rendering (a demo program I have created is showing an additional bug, so I'll try to squash that as well).

  • Peter Kolb

    Peter Kolb - 2009-06-07

    New patch that fixes the following additional issues:
    - intervalPath not reset if a new series is started
    - last interval not drawn if it contains the last data item


Log in to post a comment.