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

Separate sqldatasource for each series

1 Answer 61 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
Stephen
Top achievements
Rank 1
Stephen asked on 22 Feb 2016, 07:05 PM

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? 

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 24 Feb 2016, 05:57 AM

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
Tags
Chart (HTML5)
Asked by
Stephen
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or