Page 1 of 1

Nearest Point tool has a bad behavior in BoxPlot chart

Posted: Wed May 24, 2006 2:35 pm
by 9336299
Hi,

:arrow: "Nearest point" tool used in a BoxPlot chart containing more than one BoxPlot (at different positions). The "Nearest Point" tool seems to work horizontally instead of vertically (BoxPlot works like a "vertical" series).

:idea: Steps to reproduce :
- Create a chart containing two or more BoxPlot at different positions
- Add one "Nearest point" tool associated to one the BoxPlot series
- Compile, run
- Move your mouse over chart and observe "Nearest point" works horizontally :?

:?: How can I resolve this problem?

Best regards

Posted: Thu May 25, 2006 4:14 pm
by Pep
Hi,

yes, the Nearest Point tool has not been prepared for this type of Chart.

A trick could be to add a fake series (for example TPointSeries) adding the same number of points as boxes you have, with a specific YValue (to the position you prefer, center of box for example), then set the color of the Serie to clNone to hide it, PointSeries.ShowInLegend:=False, and assign the TPoint Series as a the TNearestPoint tool Serie.