Changing LineStyles

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
NCoR
Newbie
Newbie
Posts: 1
Joined: Fri Jan 28, 2005 5:00 am
Location: Denmark

Changing LineStyles

Post by NCoR » Mon May 30, 2005 1:59 pm

Im trying to set the LineStyle to a dottet line.
Im writing in Delphi 7.
My code is like this:

for i:=0 to NumberOfSeries do
(FChart.Series as TLineSeries).LinePen.Style := psDashDotDot;

but nothing happens in the chart!

The Width of the line is set to 1.
What am I doing wrong?

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

Post by Narcís » Mon May 30, 2005 2:12 pm

Hi NCoR,

Which TeeChart version are you using? It works fine here using latest TeeChart v5, v6 and v7 releases available at our customer download area. Could you please send us an example project we can run "as-is" to reproduce the problem here?

You can post your files at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup.
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