We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Binding an Observable collection to ChartArea

I am trying to Bind an observable collection to a ChartArea series. NOthing seems to be obvious. Does any one know a way.
For instance as in the following xaml:















At present when my chart series chaneg dynamically, I am adding the chart series to ChartArea.Series in the code behind. I would like to know if there is a way to bind it to an observable collection so that I can manipulate the collection dynamically. The chart would automatically pick up the changes.

Thanks,
-Hemanth

1 Reply

PJ Pavithra J Syncfusion Team May 29, 2009 08:27 AM UTC

Hi Hemanth,

Thanks for your interest in Syncfusion products.

We don't have support to change the DataSource through XAML code. However the BindingPathX and BindingPathsY of chart series allows binding through XAML.

For your reference we have created a sample and you could download from the below given link,

Sample illustrates Binding to Series

Please let us know if you have further queries.

Regards,
Pavithra.J

Loader.
Live Chat Icon For mobile
Up arrow icon