how do I know the color of a pixel in a tchart ?

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Verane
Newbie
Newbie
Posts: 23
Joined: Thu Jan 09, 2003 5:00 am

how do I know the color of a pixel in a tchart ?

Post by Verane » Tue Aug 19, 2008 9:30 am

Hi,
To write an automated test, I would like to be able to determine by the code the color of a pixel in the chart area. Is this possible to do this?
(My aim is to see if line has been well drawn by my program that uses a LineTo() function).

I have seen a function "Pixel()" in Graphics3D that enables to change the color of a pixel, but I do not see any property to get that color.

Thanks,
Verane.

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

Post by Yeray » Tue Aug 19, 2008 10:42 am

Hi Verane,

As you tested, there is a function to set a color for a pixel but there isn't a function to retrieve that so I've added this request to the "wish list" to be implemented in future releases (TF02013329).

Thank you
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