[Lazarus] How to create a chart in code?

Florian Klämpfl florian at freepascal.org
Sat Jul 2 16:22:19 CEST 2011


Am 02.07.2011 16:18, schrieb Alexander Klenin:
> 2011/7/3 Felipe Monteiro de Carvalho <felipemonteiro.carvalho at gmail.com>:
>> Ok, I found the answer myself =)
>>
>> I should use TChart.AddSeries to add the series not TChart.Series.Lists.Add...
> 
> Yes. Unfortunately, FPList does not support any notification mechanism,
> and its Add method is not virtual.
> 

Use TList then. The idea of TFPList to have a simple and fast list.




More information about the Lazarus mailing list