Hmm, seems this: [code]Chart1->Series[0]->Title = "A changed name";[/code] does the trick
Edit: If you want to change the names through Object Inspector, click [...] button on Title Property and in Chart tab, Series sub-tab there is a button named [Title]. That can change the name aswell.
I could change that name through Object Inspector. You should see the Combobox there (at the top of the Object Inspector window). One of the objects there is TLineSeries. When you choose it, just rename it in the property window.
You can also select the object through Object TreeView.
Comments
[code]Chart1->Series[0]->Title = "A changed name";[/code]
does the trick
Edit: If you want to change the names through Object Inspector, click [...] button on Title Property and in Chart tab, Series sub-tab there is a button named [Title]. That can change the name aswell.
It is not the title that I would like to change but the actual name of the object (i.e. component).
Upon adding a chart and a series, an object gets inserted in the class (header file) with a name such as:
TChart *Chart1;
TLineSeries *Series1;
How can I change the name of this object? Instead of Chart1 or Series1, I would like to have a more meaningful name.
I wonder if I the charting object that comes with Builder professional is limited and I need to purchase the full version from Steema the product?!?
Thanks,
S.
I could change that name through Object Inspector. You should see the Combobox there (at the top of the Object Inspector window). One of the objects there is TLineSeries. When you choose it, just rename it in the property window.
You can also select the object through Object TreeView.
Hope it helps.