Fastest way to add values to TColorGrid

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
David
Newbie
Newbie
Posts: 4
Joined: Mon Oct 22, 2007 12:00 am

Fastest way to add values to TColorGrid

Post by David » Wed May 28, 2008 7:33 am

Hello,

What is the fastest way to add an array of colors to a TColorGrid? If I basically have a bunch of dynamically generated pixel colors, that I want to plot in specific locations, what is the fastest way to get them into the TChart? I presume AddXYZ is pretty slow.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed May 28, 2008 10:20 am

Hi David,

Quickest way to populate a series is as described in the Real-time Charting article here.

There's also a TColorGridSeries example at All Features\Welcome!\Chart Styles\Statistical\ColorGrid Realtime in the new features demo, available at TeeChart's program group.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply