Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 839 - MarksTip tool doesn't seem to work fine with CLICK MouseAction
Summary: MarksTip tool doesn't seem to work fine with CLICK MouseAction
Status: CONFIRMED
Alias: None
Product: Java TeeChart
Classification: Unclassified
Component: Chart Tools (show other bugs)
Version: unspecified
Hardware: PC Windows
: High major
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-10 09:44 EDT by yeray alonso
Modified: 2014-07-10 09:47 EDT (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yeray alonso 2014-07-10 09:44:33 EDT
This seems to work fine:

        tChart1.getAspect().setView3D(false);
        tChart1.getLegend().setVisible(false);
        
        Bar bar1 = new Bar(tChart1.getChart());
        bar1.fillSampleValues();
        MarksTip tooltip = new MarksTip(tChart1.getChart());
        tooltip.setSeries(bar1);

But if you set the MouseAction to CLICK, the annotation doesn't appear when you click on a bar:

        tooltip.setMouseAction(MarksTipMouseAction.CLICK);
Comment 1 yeray alonso 2014-07-10 09:47:05 EDT
Was already reported int he internal tracker TJ71015926:

The MarksTip tool has an strange behaviour in Android and SWT with a line series + pointer visible.
In SWT, if you set setMouseAction(MarksTipMouseAction.CLICK), the tool shows a little point when the mouse is over a point (without clicking). It seems to be drawing the textbox with an empty text.
In Android, the tool responds when a point is clicked, but has some other strange problems. The textbox is drawn always in the middle and the value shown changes quen you click several times on the same point. It could be taking the predecessor line segment valueindex.