Assigning series objects
Posted: Tue Nov 10, 2009 12:10 am
This is another one, which used to work in earlier builds of version 3.
I have my TeeChart (MasterChart) object with some series. I also have another TeeChart (TempChart) object in memory with just one series. I have a line of code like:
With latest builds, after I run this code, first, not all the properties are assigned (I assign Line series with Pointer.Visible = true to another Line series and Pointer.Visible stays false). Second, if I write the following code:
or just try to set MasterChart[seriesIndex].Color by using your editor - at best nothing happens (but usually I am getting "Object reference not set to an instance of an object" error).
I have my TeeChart (MasterChart) object with some series. I also have another TeeChart (TempChart) object in memory with just one series. I have a line of code like:
Code: Select all
MasterChart[seriesIndex].Assign(TempChart[0]);
With latest builds, after I run this code, first, not all the properties are assigned (I assign Line series with Pointer.Visible = true to another Line series and Pointer.Visible stays false). Second, if I write the following code:
Code: Select all
MasterChart[seriesIndex].Marks.Visible = true;