Hi,
I'm using the latest release with VS2008 and I code in VB
I'm searching how to set my RadGrid as a data source for my RadChart.
I don't use a data table, because I fill the RadGrid programaticly
How to do this ?
Thanks
2 Answers, 1 is accepted
0
Vladimir Milev
Telerik team
answered on 16 Oct 2009, 01:32 PM
Hello Filleau,
RadChart supports binding to IEnumerable and IListSource data sources. Just make sure that the Grid object/collection you are binding to implements either one of those two interfaces.
Do you programatically build a binding source and bind that to your grid? If so, you can use that. (I've recently done that and it works very well)
If you loop through data to build your grid, then I think you would need to do the same for your chart. I'd suggest building a binding source programatically and then binding both the grid and the chart to that.
Rich