Null data with DBChart
Posted: Fri Nov 03, 2006 4:37 am
I have two questions about TDBChart.
1. Does the DBChart series have and use its own memory buffer?
I have several large my own dataset of which data is in memory.
Therefore if the DBChart series has and uses its own memory buffer, two memory buffer are allocated for the same data, one is for DBChart series and one is for my own dataset. It is inefficient.
2. I have my own dataset class inherited from TDataSet. When I link my own dataset to a DBChart, it works fine. But the null data are drawn on the chart.
When I link the TClientDataset to a DBChart, the null data are not drawn.
I don't know what is wrong with my own dataset class.
My own dataset class work fine with a DBGrid.
Thanks in advance.
Seungho Jung
p.s. I am sorry for my poor english.
1. Does the DBChart series have and use its own memory buffer?
I have several large my own dataset of which data is in memory.
Therefore if the DBChart series has and uses its own memory buffer, two memory buffer are allocated for the same data, one is for DBChart series and one is for my own dataset. It is inefficient.
2. I have my own dataset class inherited from TDataSet. When I link my own dataset to a DBChart, it works fine. But the null data are drawn on the chart.
When I link the TClientDataset to a DBChart, the null data are not drawn.
I don't know what is wrong with my own dataset class.
My own dataset class work fine with a DBGrid.
Thanks in advance.
Seungho Jung
p.s. I am sorry for my poor english.