Is it possible to bind xamchart to a dataset in Xaml? I noticed the documentation provides this through procedural code only. Being a newbie with Xaml, can someone please provide an example?
I have set chart.datacontext = dataset
but how can I set the dataset to fill in the datapoints in Xaml without having to do it with code?
Thanks
Hello, You can set the data source in the Xaml using a resource class.Here is attached sample how to bind dataset as DataSource completely using the XAML and set the mappings to different value of the chart’s series. I hope this helps.Best regards,DimiDeveloper Support EngineerInfragistics Inc.
Works great! Thanks for the help!