Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

ChartView Path SplineAreaSeries

$
0
0

So I am using RadCartesianChart with SplineAreaSeries to simulate the oceans tide. I am using DateTimeContinuousAxis as my horizontal value and the tide height as my vertical value. The chart draws great curves, but I cannot find a way to get the path details from the chart that is drawn. What I am trying to do is have an object move itself across the Spline on a timed interval. The object will show the tides height in the middle of it.

So here are my questions.

->Is there a way to find out the vertical intersection point given the horizontal value. chart.series.GetVerticalValue(HorizontalValue); So if I provide a DateTime, it will give me the vertical height value.

-> If not, are there any other ways to find out intersection points of the spline or the drawn path itself? If I could get access to that then I can duplicate a path for my object to follow.

--------------------------------------

Attached is the closest that I have come. The SplineChart is draw in blue, then I have automatically calculated the tide height at timed intervals(Green) and have the annotation follow it, but just can't make it curve to follow.

 

Thanks!


Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>