This is a migrated thread and some comments may be shown as answers.

Custom X-Axis

1 Answer 59 Views
Chart
This is a migrated thread and some comments may be shown as answers.
ssg
Top achievements
Rank 1
ssg asked on 04 Oct 2010, 01:33 PM
i am using a RadChart and have 3 line series mapping. The item sourse to it is list collection of a single dimensional array. I am able to diplay the graph for 12 points on X-axis.The problem i have is that the X-Axis Label take values as 1,2,3 series. i want the name of months on these labels. Checked the forum and saw that TickPointsCollections can be used. But my radchart has no tick point collectin and has count of zero.
What should i do?

1 Answer, 1 is accepted

Sort by
0
Evgeni "Zammy" Petrov
Telerik team
answered on 07 Oct 2010, 09:33 AM
Hi Sangeetha,

Please, check out this link : http://www.telerik.com/help/wpf/radchart-getting-started-create-data-bound-chart.html
It explains how you can data bind simple array of business objects.
In your case it seems that you will need to create a more complex object type that holds the month of your object in a string property. You can then use this property in an ItemMapping for the XCategory. Please do not hesitate to contact me for further assistance. 

 Kind regards,

Evgeni
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Chart
Asked by
ssg
Top achievements
Rank 1
Answers by
Evgeni "Zammy" Petrov
Telerik team
Share this question
or