![]() | Steema Issues DatabaseNote: 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. |
| Summary: | MarksTip tool doesn't seem to work fine with CLICK MouseAction | ||
|---|---|---|---|
| Product: | Java TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Chart Tools | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | CONFIRMED --- | ||
| Severity: | major | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| URL: | http://www.teechart.net/support/viewtopic.php?f=10&t=15055 | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
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. |
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);