As I mentioned in a previous post I am converting an old Dundas chart to a
Telerik chart control. I am finally at the last part which is the ability to
select and highlight a section (see the screen shot labeled
ZoomingHighlight.png). When one does this the section they selected is
higlighted with a different color and then statistics at the bottom are updated
based on the selected area ((see the screen shot labeled
ZoomingHighlighted.png). For example it shows the selected start and end dates.
I have ran into two issues in trying to replicate this function.
First
and perhaps the easiest I bet to solve is that of the color and transparency of
the rectangle selection. I can set the color to yellow, but no matter what I set
the ZoomRectangleOpacity to it remains fully solid and not slightly transparent.
The default settings work fine with opacity.
Second and probably much
harder is capturing the starting and end points of data for the selection. I am
doing only x-axis scrolling/zooming and I can easily get the XScaleNew and
YScaleNew on the server side, but I cannot figure out how I can get the selected
data points particularly the start and end points in the selection. Is there an
example, client-side api or such that can assist me in this? This functionality
of selection is one they use extensively.Thanks.