Hi,
I played with ChartRenderingInfo and CombinedXYPlot a bit. The first
class is used to capture the positions of plot and data areas during
the rendering of the chart. It also collect info about all chart item
locations.
This information is used later to enable mouse-controlled zoom and and
chart tooltips. It makes it possible to decide how the current mouse
position is related to the chart data points or axis.
The problem with CombinedXYPlot is that the information is rewritten
during the drawing of every subplot of the plot. As a result, in a
case of vertically stacked subplots, it is only possible to say
anything about the lowest subplot.
A one of the sequences of this problem is that the standard tooltips
do not work with any subplot other than the lowest one, it is
practically impossible to use mouse for other subplots since nobody
knows where they are.
Does anybody else ever suffered from this problem? Are there any plans
to redesign the ChartRenderingInfo so it be usable with combined
charts?
Thanks in advance,
Vladimir
|