Jump to content
Software FX Community

RecalcScale() or?


User (Legacy)

Recommended Posts

I have a class that has been instansiated I set these values:

ListProvider lstProvider = new ListProvider(Series);

ThisChart.DataSourceSettings.DataSource = lstProvider;

Series is an arraylist of arraylist of values. This chart paints out nicely.

My question is, if I want to add a value to a serie, what do I have to do

then. I have tried adding a value to an arraylist in Series but nothing

happens (is this possible or do I have do redefine the datasource?) . I have

tried to call RecalcScale but nothing happens.

Any ideas?

Link to comment
Share on other sites

The arrays are copied to the chart, they do NOT remain linked to it.

Any future changes to the original arrays will have NO effect on the chart.

You need to:

a) Add the point directly in the chart using Chart FX's Data API

(OpenData,CloseData,Values,...)

or

:) Re-assign DataSource to the modified arrays.

--

FP

Software FX

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...