pointerstyle:=psrectangle

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
seanmurphy
Newbie
Newbie
Posts: 48
Joined: Fri Mar 12, 2004 5:00 am

pointerstyle:=psrectangle

Post by seanmurphy » Tue Jan 23, 2007 10:58 pm

D6 Pro, Teechart 7.07

I am adding tlineseries to a chart at runtime, and when I set
chartseries.Pointer.Style:=psrectangle I actually get a diamond drawn on the chart. Is this a bug or am I missing something/

cheers
Sean

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Post by Yeray » Wed Jan 24, 2007 9:31 am

Hi seanmurphy,
the following code works well with TeeChart 7.07 and Delphi 6:

Code: Select all

uses Series;

procedure TForm1.FormCreate(Sender: TObject);
var tmpSeries: TLineSeries;
begin
     tmpSeries:=TLineSeries.Create(self);
     Chart1.AddSeries(tmpSeries);

     tmpSeries.Pointer.Visible:=true;
     tmpSeries.Pointer.Style:=psRectangle;

     tmpSeries.FillSampleValues();
end;
Please, please send us a simple 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 or send them via our new upload page at http://www.steema.net/upload/.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

seanmurphy
Newbie
Newbie
Posts: 48
Joined: Fri Mar 12, 2004 5:00 am

Post by seanmurphy » Mon Feb 05, 2007 10:24 am

Sorry, It was in the getpointerstyle event I'd screwed up and set the pointer style.

cheers
Sean

Post Reply