change default series type

2 posts, 0 answers
  1. Derek
    Derek avatar
    1 posts
    Member since:
    Jul 2014

    Posted 04 Jul 2014 Link to this post

    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 ?
  2. Dimitar
    Admin
    Dimitar avatar
    1415 posts

    Posted 08 Jul 2014 Link to this post

    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.
     
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top