Page 1 of 1

Fastest way to add values to TColorGrid

Posted: Wed May 28, 2008 7:33 am
by 10547089
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.

Posted: Wed May 28, 2008 10:20 am
by narcis
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.