Sign in to follow this  

ching realtime chart datasets and values in xml dynamically

Recommended Posts


I have a real-time line chart rendered. I need to change add/remove datasets or change the name for datasets etc.

So for eg if a user selects a different name for dataset from a drop down list, from c# code behind I try to edit the XML file which my real-time chart is using like this.


channelfile = XElement.Load(@"C:Data.xml") ;

XElement channel = channelfile.Element("dataset");


"seriesName", ddchannel.SelectedItem.Text);



after this what i see is, XMl does get changed but the realtime chart doesnt reflect any changes. How can i force the chart to read this edited XML?


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this