Function Series show no available source series
Posted: Wed Aug 03, 2005 3:52 pm
Hi:
I have a chart component (TMyChart = class(TCustomDBChart)) and CDS (TMyDataset = class(TClientDataSet)) on a form. At runtime I can add series based on the TMyDataset to TMyChart. I can also add function type series to TMyChart. In other words, all is well.
Now when I close the form, I stream out TMyChart. When the form is re-opened, the TMyChart chart is streamed back in, the TMyDataset is reloaded and the TMyDataset based series in the chart are redrawn. But, the function type series are not redrawn. The series are defined, but the series source for the function series is blank, and no series are shown as being available (even though the TMyDataset series were 'successfully' streamed in).
Any ideas would be appreciated.
Thanks,
Mark
I have a chart component (TMyChart = class(TCustomDBChart)) and CDS (TMyDataset = class(TClientDataSet)) on a form. At runtime I can add series based on the TMyDataset to TMyChart. I can also add function type series to TMyChart. In other words, all is well.
Now when I close the form, I stream out TMyChart. When the form is re-opened, the TMyChart chart is streamed back in, the TMyDataset is reloaded and the TMyDataset based series in the chart are redrawn. But, the function type series are not redrawn. The series are defined, but the series source for the function series is blank, and no series are shown as being available (even though the TMyDataset series were 'successfully' streamed in).
Any ideas would be appreciated.
Thanks,
Mark