Jump to content
Software FX Community

Real-Time charts


User (Legacy)

Recommended Posts

Using build 4.0.14.0 with VB6 to generate real-time charts.  I'm trying to 

add a series at run-time, using the code mentioned in the thread on 8/30:

cfx.OpenDataEx COD_VALUES, nSeries, COD_UNCHANGE

cfx.CloseData COD_VALUES

<nSeries> = the new series number

The total number of series does not change (examined via property NSeries),

and when I try to add a data point to that series I get the "invalid

property array index" error.

However....if at design time I set NSeries to, say, 20, run it, then set it

back to, say, 2, I can use the above code to add a series at run-time -

providing I don't exceed the maximum number I've ever entered at design-time

(in this example, that would be 20).

Thoughts?

smn

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...