Hi,
I am using the xamWebChart control to display time series values with the scatterline chart type. I am using the vertical crosshair to enable the end user to figure out the values behind the series which are displayed on top of the chart at other controls.
The crosshairs always moving with the mouse cursor. But I want to enable the end user that he can do a single left click on the chart to stop the movement and just to freeze the vertical crosshair on the current position. With an additional left click the vertical crosshair will be picked up again to the "normal" behavior.
Is there any way to do this? Any help would be appreciated.
Johannes
Is this feature available now in 2013? I have the same requirement.
Yes, I have provided a feature request for this. Thank you for this hint.
Meanwhile I am experimenting with the CTP xamWebDataChart to figure out if this control meets my requirements better than the xamWebChart.Your idea to draw a line on top of the chart would may be helpful and I will dig a bit deeper on that.
You can also make a feature request: http://devcenter.infragistics.com/protected/requestfeature.aspx
Hmm... I don't think the chart currently supports this functionality.
One thing that might work is to, on a click, locate the visual element that represents the crosshair in the visual tree and try to get its position relative to the chart element, and then add a line to a layer on top of the chart, disabling the crosshair until the user clicks again. Then, when the user clicks again, reactivate the crosshair and remove the line from the layer above.
-Graham