hi,
Is it possible to have Hairline in the XamDataChart such that the line can be moved vertically across the Axis and display the values at the intersection of the Hairline and the series?
We are able to display the tool tip with the values and would like to have the hairline similarly. The requirement is to move the hairline across the axis on the mouse drag.
regards,
Hello deva_kdr,
Thank you for your post. I have been looking through it and I suggest you use crosshair functionality of the xamDataChart. In the Feature Browser of NetAdvantage Data Visualization, under xamDataChart\Editing\ChartCoordinates, is shown how to calculate the crosshair coordinates.
Looking forward for your reply.
Thanks for ther reply. But, I could not find the details. can you provide me the link to the page?
And also I need the cross-hair to be stationed in the chart and update the values in the legend or so. The crosshair in XamDataChart is bound to the mouse move and is not bound to the chart. Is there any way that we can make the cross hair bound to the chart?
Deva
Hello again,
I have been looking through your post and I suggest you look here:
http://samples.infragistics.com/sldv/RunSamples.aspx?cn=data-chart#/data-chart/chart-coordinates
http://samples.infragistics.com/sldv/RunSamples.aspx?cn=data-chart#/data-chart/data-point-tracker
I assume you are looking for something in between.
Hello Thomas,
Here is a working link about the approach Graham has suggested:
http://es.infragistics.com/products/silverlight/sample/data-chart/#/value-overlays
Hi,
are there new information about this issue? I'm working on the same problem.
And the link
http://samples.infragistics.com/sldv/RunSamples.aspx?cn=data-chart#/data-chart/value-overlays
doesn't work.
Regards,
Thomas
You may also be able to approach this using the new ValueOverlay feature.
I have been looking through your post and there doesn’t seem to be any similar built-in functionality, however I can suggest you look at this link where a custom approach for adding elements to the XamDataChart is described, which can help you implement such marker lines:
http://blogs.infragistics.com/blogs/petar_monov/archive/2011/05/18/drawing-inside-scatter-datachart.aspx
Please let me know if I can assist you with anything else on the matter.
Pls find the screenshot below of the hairline that I wanted to bring into the chart.
Is it possible to achieve the hairlines of that sort in XamDataChart?