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

Line Chart help

5 Answers 44 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Ryan
Top achievements
Rank 1
Ryan asked on 02 Aug 2011, 08:14 PM
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.

5 Answers, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 05 Aug 2011, 02:22 PM
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.

0
Ryan
Top achievements
Rank 1
answered on 10 Aug 2011, 08:00 PM
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.
0
Evgenia
Telerik team
answered on 15 Aug 2011, 08:27 AM
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.

0
konda
Top achievements
Rank 1
answered on 12 Apr 2012, 11:10 AM
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.
0
Petar Marchev
Telerik team
answered on 16 Apr 2012, 07:42 AM
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.
Tags
Chart (Obsolete)
Asked by
Ryan
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Ryan
Top achievements
Rank 1
konda
Top achievements
Rank 1
Petar Marchev
Telerik team
Share this question
or