![]() | 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: | [TJ71016466] The fix for TJ71014366 could be incorrect. It was made to skip a Stac... | ||
|---|---|---|---|
| Product: | Java TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Series | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | yeray |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
The fix for TJ71014366 could be incorrect. It was made to skip a StackOverflowError with the clicked function. If you move the mouse around the line below from a line segment to a pointer, you get the error: Line line1 = new Line(tChart1.getChart()); line1.fillSampleValues(5); line1.getPointer().setVisible(true); line1.addSeriesMouseListener(new SeriesMouseAdapter() { @Override public void seriesClicked(SeriesMouseEvent e) { int x = e.getPoint().x; int y = e.getPoint().y; int index = e.getSeries().clicked(x, y); shell.setText("ValueIndex: " + e.getValueIndex() + " - ClickedIndex: " + index); } }); This could be generating an endless loop and the fix for TJ71014366 was to implement a clicked function for the Line class. However, this clicked function doesn't return correct values. Run the code above and click on the series. The pointers aren't checked. In .NET none of the problems described above are reproducible. So we should revise the mouse events to see if the endless loop is generated, and how is it avoided in .NET without having a clicked function for the Line class. [created:2012-12-28T12:18:56.000+01:00 reported by:yeray@steema.com reported in version:3.2012.0808 (TeeChart Java)]