pdthekd said 1 year, 7 months ago:
I’m newbie to Charting, when i was stumbling to create some chart controls in C# Visual studio 2010 i came across this
http://www.amcharts.com/stock/ (this chart is done using JAVA script)
I want to create similar chart using WinForms where highliting a certain part of the plotted chart(say Chart1), would plot Chart2 having only the highlighted part(same x-y values) in a larger scale. Hope i have made myself clear about what i want.
I am able to plot Chart1 and also highlight the Chart parts using the CursorX CourserY properties. I used Events like SelectionRangeChanged and SelectionRangeChanging to create an Event after i highlight. I don’t get how to get values form this Chart1 to plot a curve on Chart2. I want 2 plot a realtime chart with AxisXtype = DateTime and AxisYType = integer.
i need Some help
Reema149p said 1 year, 4 months ago:
Apologies for the delay in response.
You may make use of the CoordToDataCoord() method available under ChartGroups to identify which datapoints exist in the area selected by the user in first chart & then accordingly could show the zoomed out data in the second chart.
Please refer to the attached sample for the basic implementations details.
Let me know if you have any specific requirements for the same.
You must be logged in to reply to this topic.