Separate sqldatasource for each series

2 posts, 0 answers
  1. Stephen
    Stephen avatar
    1 posts
    Member since:
    Oct 2012

    Posted 22 Feb Link to this post

    I have two sets of data that I would like to display as two series in an htmlareachart.  Each set of data comes from a separate sql server and thus has it's own sqldatasource.  Is there a way to assign the first datasource to series 1 and the second datasource to series 2? 

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3595 posts

    Posted 23 Feb Link to this post

    Hello Stephen,

    I am pasting here my response to your support ticket with the same question for anyone else that may have a similar need.

    There is no built-in way to do this.If you would like to see such a feature implemented in the control, I advise you post your idea together with a detailed description of how you would expect this to work and be exposed for configuration in our Feedback portal: http://feedback.telerik.com/project/108. This will let our clients review, comment and vote on the idea and if it gains enough traction in the community, our management will consider its implementation.

    What I can suggest is that you obtain the data through your own code and store it in some object (e.g., a DataTable or some List<customObject>) that you can use as the chart's data source:http://demos.telerik.com/aspnet-ajax/htmlchart/examples/databinding/bindtolist/defaultcs.aspx.

     

     

    Regards,

     

    Marin Bratanov
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top