How to draw a trend line in the xamchart? I am using chart type as "Column". I want to display a trend line for that as shown in below image green line.
And also I want to display the trends with 3D effect. If i set View3D=true it is displaying the image very small. Please can some one help me out in this?
check out the Trend Line sample in the Silverlight Data Visualization online samples. it contains C# code for creating a trendline, and this will work in WPF as well as Silverlight.
as for the small chart, you can scale the chart up using the Transform3D property.
<igChart:XamChart View3D="True"> <igChart:XamChart.Transform3D> <ScaleTransform3D ScaleX="1.5" ScaleY="1.5" ScaleZ="1.5" /> </igChart:XamChart.Transform3D> </igChart:XamChart>
I've been unable to locate this trendline example. I'm *really* surprised I can find not a single mention of a trendline in the documentation or sample browser!
I am using a 2d chart in WPF 2008.2
Thank you.