Seems xamWebChart can have horizontal/vertical only crosshair, and can have more than one. Does xamDataChart has similar feature? I need at least 2 vertical crosshairline on the live data chart and be able to calculate the delta difference for the values on the line charts?
Thanks!
Joan
Hello Joan,
Thank you for your post. I have been looking into the functionality that you have described and if I understand correctly, you wish to have two vertical cross hairs and to be able to get the range between the start and end crosshair. If this is correct, I have created a sample application for you, that demonstrates how you can create custom range horizontal and vertical crosshairs that allows you to set the range of the crosshairs and get the values of the start and the end of the range, while moving the mouse over the chart.
Please let me know if you need any further assistance on the matter.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support
Thanks for the example! It helps me a lot. But in my code, the code below:
_owner.Dispatcher.BeginInvoke(new Action(() =>
{ DepencyObject contentPresenter = Utilities.GetDescendantFromName(_owner, "ContentPresenter"); ...
The contentPresenter is null. Seems this attach is invoked too early. how can I postpone this action until the xamDataChart is fully constructed?