RadChart Range

4 posts, 0 answers
  1. Santhosh
    Santhosh avatar
    16 posts
    Member since:
    Feb 2013

    Posted 08 Apr 2014 Link to this post

    Hi

        x axis values are overlapping in my chart,My values will be come simultaneously Once max value will be 50 another time it will be 5000
        Its difficult to set range in chart Is there any solution for this


    Thanks,
    Santhosh
  2. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1494 posts

    Posted 11 Apr 2014 Link to this post

    Hi Santhosh,

    You can control the step through which labels will be plot through the XAxis.LabelStep property. For example:
    ASPX:
    <telerik:RadChart ID="RadChart1" runat="server" Height="400px" Width="600px">
        <Series>
            <telerik:ChartSeries Type="Line" Name="Series 1" DataXColumn="xValues" DataYColumn="yValues">
            </telerik:ChartSeries>
        </Series>
        <PlotArea>
            <XAxis LabelStep="2">
            </XAxis>
        </PlotArea>
    </telerik:RadChart>
    C#:
    protected void Page_Load(object sender, EventArgs e)
    {
        DataTable dt = new DataTable();
        dt.Columns.Add("id");
        dt.Columns.Add("xValues");
        dt.Columns.Add("yValues");
        for (int i = 0; i < 30; i++)
        {
            dt.Rows.Add(i, i, i);
        }
        RadChart1.DataSource = dt;
        RadChart1.DataBind();
    }




    Regards,
    Danail Vasilev
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Santhosh
    Santhosh avatar
    16 posts
    Member since:
    Feb 2013

    Posted 16 Apr 2014 Link to this post

    Hi,

    In Rad Chart PointMark MainColor should same as line series color How to specify it.

    Thanks
    Santhosh
  5. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 17 Apr 2014 in reply to Santhosh Link to this post

    Hi Santhosh,

    Please have a look into this forum thread which discuss about the same scenario.

    Thanks,
    Shinu.
Back to Top