Pointer Style and color

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Corbie
Newbie
Newbie
Posts: 3
Joined: Thu Jun 07, 2007 12:00 am

Pointer Style and color

Post by Corbie » Mon Jun 25, 2007 3:17 pm

Hi

We are using Delphi 7 and TeeCharts Pro 7

We have several lines and we are trying to use pointer style to distinguish between them. When using psRectangle or psCircle it works fine as they use the colour of the line.

However when we use psStar, psCross and psDiagCross for 3 other lines, the pointer color is always black even if you try and change the pointer colour. This wouldn't normally be a big problem except that the charts background colour is black, so we can't see them. Is there any way to change the colour of them?

Thanks in Advance

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

Post by Yeray » Tue Jun 26, 2007 7:49 am

Hi Corbie,

The problem is that those pointer styles have no surface to paint in and that's why changing their color doesn't affect. Otherwise, you can change their border color. So you should do something like following:

Code: Select all

Series3.Pointer.Pen.Color := clGreen;
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

Post Reply