BoldDeskWe are launching BoldDesk on Product Hunt soon. Learn more & follow us.
Hi Aija,
Thank you contacting Syncfusion support.
Presently we are not having the ExpandoObject binding support. We have logged this as feature request and it will be implemented in any of our upcoming volume releases.
Please let us know if you require any further assistance.
Thanks,
Rachel. A
public MainWindow()
{
InitializeComponent();
Collection = new ObservableCollection<CustomData>();
var rnd = new Random();
for(int i =0;i<10;i++)
{
customData = new CustomData();
customData.SetValue("Category", i);
customData.SetValue("Amount", rnd.Next(100, 1000));
collection.Add(customData);
}
SplineSeries ss = new SplineSeries();
ss.XBindingPath = "Category";
ss.YBindingPath = "Amount";
ss.Label = "itm";
ss.EnableAnimation = true;
ss.ShowTooltip = true;
ss.ItemsSource = Collection;
chart.Series.Add(ss);
} |