Useing data which doesn't have the same step

Thread is closed for posting
3 posts, 0 answers
  1. Jalal Eddin
    Jalal Eddin avatar
    4 posts
    Member since:
    Aug 2010

    Posted 11 Apr 2011 Link to this post

    Dear All,

    I need you help in drawing a line graph which has the following data:

    X-Axis : 0.2 0.3 0.5 0.8 1.2
    Y-Axis: 16 19 21 23 26

    How can specify the x and y value of the added item.

  2. Tsvetie
    Tsvetie avatar
    1517 posts

    Posted 14 Apr 2011 Link to this post

    Hello Jalal Eddin,
    I am not quite sure I understand the concrete problem that you have with RadChart for WinForms. That is why, I created a simple example that demonstrates how you can add series items manually. In case the following code does not help you, please provide more details on the concrete that problem you face:
    ChartSeries series = new ChartSeries();
    series.Type = ChartSeriesType.Line;
    series.Items.Add(new ChartSeriesItem(0.2, 16));
    series.Items.Add(new ChartSeriesItem(0.3, 19));
    series.Items.Add(new ChartSeriesItem(0.5, 21));
    series.Items.Add(new ChartSeriesItem(0.8, 23));
    series.Items.Add(new ChartSeriesItem(1.2, 26));

    For additional information on series items, please refer to the following help topic -

    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
  3. Jalal Eddin
    Jalal Eddin avatar
    4 posts
    Member since:
    Aug 2010

    Posted 19 Apr 2011 Link to this post

    Thanks Tsvetie, it's exactly what I want.

    Jalal Eddin
Back to Top