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

get dataset of line chart under navigation range only at client side

3 Answers 64 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
Binary
Top achievements
Rank 1
Binary asked on 05 Nov 2015, 05:07 PM
I have used RadHtmlchart with navigation and plotted the couple of line chart on it. Data set for all the line chart is coming from the server side. Is there way to get all the data set of all the line chart covered under  navigation using the javascript (Client side) so that I can manipulate it put some extra info like Min and Max etc based on the navigation selection area.

3 Answers, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 09 Nov 2015, 01:14 PM
Hello Binary,

You can obtain the current data source through the get_dataSourceJSON() method. After that you can modify it and bind it back to the chart through the set_dataSource() method. You can read more information on this regards here - http://docs.telerik.com/devtools/aspnet-ajax/controls/htmlchart/client-side-programming/overview

Regards,
Danail Vasilev
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
0
Binary
Top achievements
Rank 1
answered on 09 Nov 2015, 03:37 PM
Is there way to get the plotted point value only instead of the data source attached to radhtmlchart because I have seen the scenario where data source values are group by radhtmlchart and plotted the points instead of straight plotting the data source value. If I am not wrong in this case plotted point values and data source supplied is not same.
0
Danail Vasilev
Telerik team
answered on 11 Nov 2015, 09:08 AM
Hello Binary,

To get the plotted data for a particular series you can use the code below:

$find('ChartClientID').get_kendoWidget()._plotArea.series[0].data;

Regards,
Danail Vasilev
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
Binary
Top achievements
Rank 1
Answers by
Danail Vasilev
Telerik team
Binary
Top achievements
Rank 1
Share this question
or