 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Karl Guest
|
Posted: Fri Nov 05, 2004 5:35 pm Post subject: TChart - changing series type at run time? |
|
|
Can I change the chart type (3d bar to line) at runtime?
If so, how?
I've looed at the TeeChart Series types, but it's not clear to me what I
need to do.
TIA.
|
|
| Back to top |
|
 |
John Herbster Guest
|
Posted: Fri Nov 05, 2004 5:51 pm Post subject: Re: TChart - changing series type at run time? |
|
|
"Karl" <kthompson (AT) nospame (DOT) pine-grove.com> wrote
| Quote: | Can I change the chart type (3d bar to line) at runtime?
|
Karl, I would create the new series, copy the properties
that you want to keep and free the old series. Rgds, JohnH
|
|
| Back to top |
|
 |
Karl Guest
|
Posted: Fri Nov 05, 2004 6:30 pm Post subject: Re: TChart - changing series type at run time? |
|
|
Thanks, but I still don't understand what the path is to the property which
allows me to set the chart type that I want.....
"John Herbster" <herb-sci1_AT_sbcglobal.net> wrote
| Quote: |
"Karl" <kthompson (AT) nospame (DOT) pine-grove.com> wrote
Can I change the chart type (3d bar to line) at runtime?
Karl, I would create the new series, copy the properties
that you want to keep and free the old series. Rgds, JohnH
|
|
|
| Back to top |
|
 |
Karl Guest
|
Posted: Fri Nov 05, 2004 6:50 pm Post subject: Re: TChart - changing series type at run time? One method |
|
|
Actually Google came through again:
uses Chart, Series;
var CS : TChartSeries;
CS := Series1;
ChangeSeriesType( CS, TPieSeries );
Or so this appears to work.
ChangeSeriesType is a global routine.
"Karl" <kthompson (AT) nospame (DOT) pine-grove.com> wrote
| Quote: | Thanks, but I still don't understand what the path is to the property
which allows me to set the chart type that I want.....
"John Herbster" <herb-sci1_AT_sbcglobal.net> wrote in message
news:418bbd86$1 (AT) newsgroups (DOT) borland.com...
"Karl" <kthompson (AT) nospame (DOT) pine-grove.com> wrote
Can I change the chart type (3d bar to line) at runtime?
Karl, I would create the new series, copy the properties
that you want to keep and free the old series. Rgds, JohnH
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|