Page 1 of 1

pointerstyle:=psrectangle

Posted: Tue Jan 23, 2007 10:58 pm
by 9231397
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

Posted: Wed Jan 24, 2007 9:31 am
by yeray
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/.

Posted: Mon Feb 05, 2007 10:24 am
by 9231397
Sorry, It was in the getpointerstyle event I'd screwed up and set the pointer style.

cheers
Sean