3 Answers, 1 is accepted
0
Hello Muhammad,
To see more information along the lines of the requested functionality, please refer to the following example:
http://demos.telerik.com/silverlight/#Chart/Gallery/Scatter
The same approach is applicable for a chart in wpf.
I hope this gets you started properly.
Regards,
Yavor
the Telerik team
To see more information along the lines of the requested functionality, please refer to the following example:
http://demos.telerik.com/silverlight/#Chart/Gallery/Scatter
The same approach is applicable for a chart in wpf.
I hope this gets you started properly.
Regards,
Yavor
the Telerik team
0
Muhammad
Top achievements
Rank 1
answered on 23 Mar 2011, 09:52 AM
I am able to set data for graph. However i need help in X and Y axis positions. I need to set my X axis and y axis in center to make it like plus sign. Its the requirement. More explanation is that the Min XValue = -1.5 and maxXvalue = 1.5 same with Y axis from -1.5 to 1.5. i need the decimals like -1.5,-1.25,-1, .... to be displayed in the center rather then left and bottom.
Also i need to define some custom icons for different legends. is it possible. And is there any zooming functionality available?
Thanks
0
Hi Muhammad,
You can force the axis to be in such a layout, by manually presetting the ranges. For example, this may look something like this:
Further, you can customize the legend, as shown in the following article:
http://www.telerik.com/help/silverlight/radchart-styling-and-appearance-styling-chart-legend.html
Additionally, you can review the zooming and scrolling features of the control here:
http://demos.telerik.com/silverlight/#Chart/ZoomScroll
I hope this information helps.
All the best,
Yavor
the Telerik team
You can force the axis to be in such a layout, by manually presetting the ranges. For example, this may look something like this:
RadChart1.DefaultSeriesDefinition = new BubbleSeriesDefinition();
RadChart1.DefaultView.ChartArea.EnableAnimations = false;
RadChart1.DefaultView.ChartArea.AxisY.AutoRange = false;
RadChart1.DefaultView.ChartArea.AxisY.MinValue = -100;
RadChart1.DefaultView.ChartArea.AxisY.MaxValue = 100;
RadChart1.DefaultView.ChartArea.AxisY.Step = 10;
RadChart1.DefaultView.ChartArea.AxisX.AutoRange = false;
RadChart1.DefaultView.ChartArea.AxisX.MinValue = -100;
RadChart1.DefaultView.ChartArea.AxisX.MaxValue = 100;
RadChart1.DefaultView.ChartArea.AxisX.Step = 5;
Further, you can customize the legend, as shown in the following article:
http://www.telerik.com/help/silverlight/radchart-styling-and-appearance-styling-chart-legend.html
Additionally, you can review the zooming and scrolling features of the control here:
http://demos.telerik.com/silverlight/#Chart/ZoomScroll
I hope this information helps.
All the best,
Yavor
the Telerik team