About Horizontal Point Line

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: About Horizontal Point Line

Post by Narcís » Wed Nov 13, 2013 10:12 am

Hi elmec,
elmec wrote: But please let us know if the problem has any new status.
Having signed up at Steema Software's bugzilla you'll be automatically notified in case there's any update on the issues you added.
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

elmec
Advanced
Posts: 129
Joined: Mon Aug 26, 2013 12:00 am

Re: About Horizontal Point Line

Post by elmec » Wed Nov 13, 2013 10:27 am

Hello Narcís,

I just tried to check the "Default" of Pointer setting form,
then it seems going worked.
But even I unchecked "Default" of Pointer ,
the problem can't be reproduced... I am confused!

Anyway, would you please tell me how to set "Default" of Pointer
to TRUE by code?
Attachments
pointer.png
pointer.png (33.96 KiB) Viewed 9482 times

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

Re: About Horizontal Point Line

Post by Narcís » Wed Nov 13, 2013 10:33 am

Hi elmec,

Default Pointer.Style is psRectangle:
Series1.Pointer.Style:=psRectangle;
The issue occurs with psSmallDot.
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

elmec
Advanced
Posts: 129
Joined: Mon Aug 26, 2013 12:00 am

Re: About Horizontal Point Line

Post by elmec » Wed Nov 13, 2013 10:45 am

But when I using code in the example project I have attached before,
it didn't work!

Are there any other setting for the "Default" check?

Code: Select all

Series2->Pointer->Style = psRectangle;
Attachments
default.png
default.png (28.56 KiB) Viewed 9482 times

elmec
Advanced
Posts: 129
Joined: Mon Aug 26, 2013 12:00 am

Re: About Horizontal Point Line

Post by elmec » Wed Nov 13, 2013 10:51 am

Attatch example project
Attachments
Pointer.zip
(144.89 KiB) Downloaded 534 times
Pointer.zip
(144.89 KiB) Downloaded 516 times

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

Re: About Horizontal Point Line

Post by Narcís » Wed Nov 13, 2013 10:54 am

Hi elmec,

The design of this form (TeePoEdi) has changed for the upcoming version. I think the checkbox you mention does this:

Code: Select all

    ThePointer.Color:=clTeeColor;
    ThePointer.Pen.Color:=clTeeColor;
What makes a difference in your project is setting Pointer.Pen.Color:

Code: Select all

	Series2->Pointer->Pen->Color=clTeeColor;
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

elmec
Advanced
Posts: 129
Joined: Mon Aug 26, 2013 12:00 am

Re: About Horizontal Point Line

Post by elmec » Wed Nov 13, 2013 11:13 am

Hello Narcís,

By adding the following two lines, it seems that the problem has been solved...

Code: Select all

ThePointer.Color:=clTeeColor;
ThePointer.Pen.Color:=clTeeColor;
Thanks

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

Re: About Horizontal Point Line

Post by Narcís » Wed Nov 13, 2013 11:15 am

Hi elmec,

Yes, as I have added in my last reply, Pointer.Pen.Color makes the difference. That only works with psRectangle though, still fails with psSmallDot.
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