Page 1 of 1

changing the name of Tshapeseries at runtime

Posted: Wed Aug 19, 2009 2:12 pm
by 12053995
Hi,

I have created a TShapreSeries on Teechart at designtime and the name of the series is "Series2".

I am trying to change the name of series as below and change a property,

TChartShape* Series2;

Series2->Name = "NewName";
Series2->Active = false; // exception occurs here...

Any clue why is this happening and how to change ar runtime the name.

Re: changing the name of Tshapeseries at runtime

Posted: Thu Aug 20, 2009 7:59 am
by yeray
Hi MDA team,

I think that what you would like to do is to change the series' title:

Code: Select all

  Series2->Title = "NewName";
  Series2->Active = false;