How to change the color of points when I use addarray

TeeChart for ActiveX, COM and ASP
Post Reply
Albert
Newbie
Newbie
Posts: 16
Joined: Fri Nov 15, 2002 12:00 am
Location: Taipei, Taiwan, Republic of China
Contact:

How to change the color of points when I use addarray

Post by Albert » Tue Oct 12, 2004 2:30 am

Hi,
Since I have to add lots of points, I use the AddArray function instead of AddXY to save the response time.

I have to assign each group of points with different color, but the AddArray function is not like AddXY that can be assigned different color.

Is there any solution that after adding a group of points (using AddArray), I can assign one color for this group of points?

Thanks in advance.

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Tue Oct 12, 2004 8:53 pm

Hi Albert,

you can use the PointColor property.
TChart1.Series(0).PointColor(0) = vbBlue

Post Reply