I am developing an application where endusers can create their own charts. They have control over colors and if gradients are used. The charts are then exported to either jpeg or gif for use on websites. Is there a way to determine how many colors are contained within a chart? if I know there is less than 256 the export format would be gif, but more than 256 then I could use jpeg.
Thanks.
Number of Colors in Chart
Re: Number of Colors in Chart
Hi mSchenkel,
I'm afraid TeeChart hasn't functions to do this so you should do it manually. But you shouldn't find troubles finding examples in the net:
http://www.efg2.com/Lab/Library/Delphi/ ... Colors.TXT
I'm afraid TeeChart hasn't functions to do this so you should do it manually. But you shouldn't find troubles finding examples in the net:
http://www.efg2.com/Lab/Library/Delphi/ ... Colors.TXT
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Number of Colors in Chart
Thank you very much. I will give this a try.