X-Axis Add String Value

2 posts, 0 answers
  1. MakeMedia
    MakeMedia avatar
    7 posts
    Member since:
    Jun 2009

    Posted 12 Mar 2010 Link to this post


    I have been trying to add string values to a Multiple Line Chart but with no luck at all.
    The last approach was to use the TickPoints.Label which seems to make the most sense but the problem is that even after I have added the Item data to the chart the TickPoints[0] stopping me from editing the data.


                RadChart1.ItemsSource = itemsSource;

                string[] months = new string[] { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul"};
                for (int i = 0; i < months.Length; i++)
                    RadChart1.DefaultView.ChartArea.AxisX.TickPoints[i].Label = months[i];

    Any ideas?
  2. Vladimir Milev
    Vladimir Milev avatar
    1061 posts

    Posted 14 Mar 2010 Link to this post

    Hi Stephen,

    It looks like you are trying to create a categorical chart. Does the link provided help with that?

    Vladimir Milev
    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.
Back to Top