This question is locked. New answers and comments are not allowed.

Filipe Rodrigues
Top achievements
Rank 1
Filipe Rodrigues
asked on 24 May 2007, 11:53 AM
Hi,
I need to create radchartseries at runtime. For this I have an array of Series names like {Client 1, Client 2, Client 3}, an array of XAxis labels like {month 1, month 2} and I have the chart points for each pair like (Client 1,month 1) = 300; (Client 1,month 2) = 500; (Client 2,month 1) = 560, (Client 2,month 2) = 900...etc.
I need also to set X labels (in this case, month 1,month 2, etc.).
How can I do this?
Thanks.
I need to create radchartseries at runtime. For this I have an array of Series names like {Client 1, Client 2, Client 3}, an array of XAxis labels like {month 1, month 2} and I have the chart points for each pair like (Client 1,month 1) = 300; (Client 1,month 2) = 500; (Client 2,month 1) = 560, (Client 2,month 2) = 900...etc.
I need also to set X labels (in this case, month 1,month 2, etc.).
How can I do this?
Thanks.
7 Answers, 1 is accepted
0
Hello Filipe Rodrigues,
Thanks for your interest in RadChart. You can review this example which makes extensive use of the RadChart API to add, edit and delete series. Although the example is for web chart it provides you with the basic idea how to add series, axis items etc. For more concrete examples please refer to the QuickStart examples of the windows forms version of RadChart.
Let me know if it helps or if you need additional information.
Kind regards,
Vladimir Milev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Thanks for your interest in RadChart. You can review this example which makes extensive use of the RadChart API to add, edit and delete series. Although the example is for web chart it provides you with the basic idea how to add series, axis items etc. For more concrete examples please refer to the QuickStart examples of the windows forms version of RadChart.
Let me know if it helps or if you need additional information.
Kind regards,
Vladimir Milev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

Filipe Rodrigues
Top achievements
Rank 1
answered on 30 May 2007, 09:55 AM
Hi,
I'm creating series at runtime but my Chart shows in X values 1,2,3 instead of month1, month2, month 3. I will open a support ticket and send you my sample application.
Thanks
0
Hello Filipe Rodrigues,
As we have mentioned in the support ticket you have opened the solution for this is to simply disable AutoScale for the X-Axis. Let us know if that helps and if you have any additional questions.
Regards,
Vladimir Milev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
As we have mentioned in the support ticket you have opened the solution for this is to simply disable AutoScale for the X-Axis. Let us know if that helps and if you have any additional questions.
Regards,
Vladimir Milev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

Filipe Rodrigues
Top achievements
Rank 1
answered on 31 May 2007, 10:39 AM
That solved the problem.
Thank you.
Thank you.
0

Ryan Farquhar
Top achievements
Rank 1
answered on 20 Jun 2007, 12:34 PM
Per your suggestion to review the API on the ASP.Net version of the chart I have tried using RadChart1.XAxis, but according to Visual Studio.Net 2005 XAxis is not a member of Telerik.WinControls.UI.RadChart.
I am using RadChart for Windows Forms. I have found various articles that talk about disabling Autoscale, but since I don't have XAxis, it won't let me use Autoscale. What am I doing wrong here?
I am using RadControls Q1 2007.
I am using RadChart for Windows Forms. I have found various articles that talk about disabling Autoscale, but since I don't have XAxis, it won't let me use Autoscale. What am I doing wrong here?
I am using RadControls Q1 2007.
0
Hello Alicia,
Unfortunately, the RadChart API for WinForms is a bit different due to changes in the charting engine. We are sorry for the confusion.
The property you are looking for is
If you have further questions, please, do not hesitate to write us back.
Best wishes,
Evtim
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Unfortunately, the RadChart API for WinForms is a bit different due to changes in the charting engine. We are sorry for the confusion.
The property you are looking for is
radChart1.PlotArea.XAxis.AutoScale = false; |
If you have further questions, please, do not hesitate to write us back.
Best wishes,
Evtim
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

Ryan Farquhar
Top achievements
Rank 1
answered on 20 Jun 2007, 06:27 PM
That worked great. Thanks! I have another question, but I will start a new thread for that.