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

change default series type

1 Answer 11 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Derek
Top achievements
Rank 1
Derek asked on 04 Jul 2014, 10:04 AM
I'm populating my chart view from a pivot grid. Is there any way to set the default series to a line - at the moment its displaying bars ?

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 08 Jul 2014, 01:40 PM
Hello Derek,

Thank you for writing.

You should just set the GeneratedSeriesType property of the ChartDataProvider. For example:
this.radPivotGrid1.ChartDataProvider.GeneratedSeriesType = GeneratedSeriesType.Line;

Please let me know if there is something else I can help you with. 
 
Regards,
Dimitar
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
ChartView
Asked by
Derek
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or