#548 StackedXYAreaRenderer tooltip generation is incorrect

open
General (896)
6
2015-03-26
2005-09-15
Gennadius
No

Tooltips are displayed very infrequently and
inconsistently for the StackedXYAreaRenderer, instead
of easily and obviously when hovering over an area.

From the thread, it was described as the tooltip
hotspot being calculated in a small area around the
data point instead of on the whole area.

Discussion

  • David Gilbert

    David Gilbert - 2005-11-03
    • labels: --> General
    • priority: 5 --> 6
    • assigned_to: nobody --> mungady
     
  • Sébastien Kurz

    Sébastien Kurz - 2014-06-02

    Hi,
    I also have the problem ...
    It seems that the generated shape is twisted from left to right of the plot.
    The shape is generated here : StackedXYAreaRenderer2.drawItem(...) ...

    I added one more line to the shape as a workaround, it works ... :
    left.moveTo(transX1, transY1);
    left.lineTo(transX1, transStack1);
    left.lineTo(transXLeft, transStackLeft);
    left.lineTo(transXLeft, transYLeft);
    left.lineTo(transX1, transY1);
    left.closePath();
    [...]

                right.moveTo(transX1, transStack1);
                right.lineTo(transX1, transY1);
                right.lineTo(transXRight, transYRight);
                right.lineTo(transXRight, transStackRight);
                right.lineTo(transX1, transStack1);
                right.closePath();
    
     
    Last edit: Sébastien Kurz 2014-06-02

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