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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Binding an Observable collection to ChartArea

Thread ID:

Created:

Updated:

Platform:

Replies:

82057 May 28,2009 05:18 PM May 29,2009 04:27 AM Windows Forms 1
loading
Tags: Chart
Hemanth Javali
Asked On May 28, 2009 05:18 PM

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

Pavithra J [Syncfusion]
Replied On May 29, 2009 04:27 AM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;