Line Chart help

Thread is closed for posting
6 posts, 0 answers
  1. Ryan
    Ryan avatar
    52 posts
    Member since:
    Sep 2010

    Posted 02 Aug 2011 Link to this post

    This is my first time using the RADCHART.

    I am trying to create a simple line chart.  My data source pulls back 3 columns, Year, Month, and Accuracy (should display as a percent)

    However, everything I try the graph is not right.  I basically want to the line be the Accuracy percent with the x axis being Year Month.

    Any help would be great.
  2. Evgenia
    Admin
    Evgenia avatar
    1406 posts

    Posted 05 Aug 2011 Link to this post

    Hi Ryan,

    You can review this forum post with sample project attached. Feel free to customize it so that it fits your requirements and let us know if you need further assistance.

    Regards,
    Evgenia
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ryan
    Ryan avatar
    52 posts
    Member since:
    Sep 2010

    Posted 10 Aug 2011 Link to this post

    I figured out how to get my date to display correctly.

    I have a percent that comes back in my query as "0.976744186046511"  I would like this to show in the graph as 97.67%.  In the RADGRID you can DataFormatString="{0:P2}" .  Is this possible in the chart or should I convert it in my SQL.
  5. Evgenia
    Admin
    Evgenia avatar
    1406 posts

    Posted 15 Aug 2011 Link to this post

    Hi Ryan,

    DefaultLabelValue property specifies a format for label values that will be displayed automatically if you do not specifically assign text to a chart series item. This is described in our help topic. Here is how you can specify a percentage format:
    RadChart1.Series[0].DefaultLabelValue = "#Y%"; 

    All the best,
    Evgenia
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  6. konda
    konda avatar
    3 posts
    Member since:
    Apr 2008

    Posted 12 Apr 2012 Link to this post

    Hi ,
    I have a 3 columns in my Dataset. in 1st&2nd column values are ploted in x-y axis, but in 3rd column values should plot in y-axis item label.

    could you please help me on this req.

    Regards,
    Konda Reddy.
  7. Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 16 Apr 2012 Link to this post

    Hello Konda,

    Since you are new to our controls I recommend that you spend some time examining our online demos and help. This way you will get familiar with the chart features, possibilities and limitations. When you do this you will know where to look for an online demo of what you need to implement in your project.

    As for your question - I suspect that you mean that you need to have two series. Here is an online demo that might be of help.

    Regards,
    Petar Marchev
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017