Stacking Problem

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
TimH
Newbie
Newbie
Posts: 9
Joined: Mon Mar 19, 2007 12:00 am

Stacking Problem

Post by TimH » Fri Oct 05, 2007 1:09 pm

Hi I'm creating area series manually on a Chart and i need them to stack but can not get the syntax to work - Can someone please give me an example.

ie
Cnt:=Cnt+1;
Chart3.AddSeries(TAreaSeries);
Chart3.Series[Cnt].Title:=Trim(Report3.FieldByName('SRef').AsString);

i need to now tell the areaseries's to be stacked ???

Thanks

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Oct 05, 2007 1:43 pm

Hi TimH,

Try this:

Code: Select all

    (Chart1[Cnt] as TAreaSeries).MultiArea := maStacked;
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply