Fastest way to load data to Chart?

TeeChart for ActiveX, COM and ASP
Post Reply
Pep
Site Admin
Site Admin
Posts: 3273
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Tue Dec 16, 2003 11:18 am

>What is the absolutely fastest way to load this data into a chart?

All data fed into TeeChart is reduced to double values before painting, making an array of double values the most efficient way to load data into a chart. After this, any way which does not involve iterating through a set of data (using a for loop, for example) and adding the data to the Chart via on of the Series.Add() overloads may be quicker than ones that do, making datasets etc. the second quickest methods.

Josep Lluis Jorge
http://support.steema.com

Post Reply