Not able to set color for point series

TeeChart for ActiveX, COM and ASP
Post Reply
Hari
Newbie
Newbie
Posts: 12
Joined: Wed Jun 09, 2010 12:00 am

Not able to set color for point series

Post by Hari » Fri Jul 23, 2010 7:54 pm

I am using Activex v8 version of TeeChart.

I am using "scPoint" to display a few points and i am setting the point style as "psCross". However when i set the color to red (or any other color), the "cross" is always displayed in black color. Is the "SetColor" disabled for this style?

However, i am able to change the color if i set the point style as "psCircle" or "psTriangle".

Thanks,
Hari

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

Re: Not able to set color for point series

Post by Yeray » Mon Jul 26, 2010 12:07 pm

Hi Hari,

You have to change the pen color when you use this style because it has no brush:

Code: Select all

TChart1.Series(0).asPoint.Pointer.Style = psCross
  TChart1.Series(0).asPoint.Pointer.Pen.Color = vbRed
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

Hari
Newbie
Newbie
Posts: 12
Joined: Wed Jun 09, 2010 12:00 am

Re: Not able to set color for point series

Post by Hari » Mon Jul 26, 2010 5:09 pm

@Yeray

Thanks for the reply. I am able to change the color now :)

Hari

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

Re: Not able to set color for point series

Post by Yeray » Tue Jul 27, 2010 6:55 am

Hi Hari,

You're welcome! :D
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