Jump to content
Software FX Community

ITypedList support?


User (Legacy)

Recommended Posts

Most DataBinding in WinForms is done through the Binding Manager. You can 

pass an ITypedList as a datasource and the Biding Manager will read from it.

The only thing different from GridView is that the chart will not read

immediately when you assign DataSource at run-time, you need to call:

chart.DataSourceSettings.ReloadData();

Any subsequent changes to the source will be automatically picked up by the

chart.

If you take the sample in MSDN:

How to: Implement the ITypedList Interface

And replace grid with chart and add the call to ReloadData you will get the

same results you get with the DataGridView.

--

Francisco Padron

www.chartfx.com

Link to comment
Share on other sites

Worked great after I added the call to ReloadData().

Thanks!

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:94sva2iwGHA.2572@webserver3.softwarefx.com...

> Most DataBinding in WinForms is done through the Binding Manager. You can

> pass an ITypedList as a datasource and the Biding Manager will read from

> it.

>

> The only thing different from GridView is that the chart will not read

> immediately when you assign DataSource at run-time, you need to call:

>

> chart.DataSourceSettings.ReloadData();

>

> Any subsequent changes to the source will be automatically picked up by

> the chart.

>

> If you take the sample in MSDN:

>

> How to: Implement the ITypedList Interface

>

> And replace grid with chart and add the call to ReloadData you will get

> the same results you get with the DataGridView.

>

> --

> Francisco Padron

> www.chartfx.com

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...