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

Change the datasource of a graph

2 Answers 102 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Alvaro
Top achievements
Rank 1
Alvaro asked on 17 Jan 2012, 10:54 PM
Hi,

I have 2 small graphs in my page, each one has its own datasource. When I click on any small graph i want to load the same graph in a bigger container. Is there a way I can copy, or use the same datasource of the small graph in the big graph? This way I wouldn't have to read again the information from the server.  I haven't found anything similar to this in the forum yet.

Thanks for your attention

2 Answers, 1 is accepted

Sort by
0
Accepted
Rosen
Telerik team
answered on 20 Jan 2012, 08:47 AM
Hi Alvaro,

Could you please provide a bit more information about your scenario and implementation? Maybe you could use the data from the "small graph" to populate the DataSource of the "big graph". Similar to the following:

bigGraphDataSource.data(smallGraphDataSource.view());

Regards,
Rosen
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Alvaro
Top achievements
Rank 1
answered on 20 Jan 2012, 06:08 PM
Thanks,

That's what  I needed. Sorry I couldn't explain better :)
Tags
Data Source
Asked by
Alvaro
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Alvaro
Top achievements
Rank 1
Share this question
or