Freezing DBChart while changing datasets
Posted: Tue Nov 01, 2005 5:20 pm
Hi,
Delphi 2005, Win32, TeeChart Pro v7.04 (purchased).
I have a form with a DBChart which is set up to switch between various datasources. In addition, the visibility of each Series is tied to a checkbox OnClick event:
DBChart1.Series[ 0 ].Visible := ckbx0.Checked;
It works fine but when switching from one dataset to another and resetting the checkboxes the chart shows at least one intermediate display.
Is there any simple way to "freeze" the chart until all changes are made so that there aren't any intermediate displays -just a clean shift from one display to another? I've tried employing cds.DisableControls but to no avail probably because of the checkbox onclick event.
Thanks,
Barry
Delphi 2005, Win32, TeeChart Pro v7.04 (purchased).
I have a form with a DBChart which is set up to switch between various datasources. In addition, the visibility of each Series is tied to a checkbox OnClick event:
DBChart1.Series[ 0 ].Visible := ckbx0.Checked;
It works fine but when switching from one dataset to another and resetting the checkboxes the chart shows at least one intermediate display.
Is there any simple way to "freeze" the chart until all changes are made so that there aren't any intermediate displays -just a clean shift from one display to another? I've tried employing cds.DisableControls but to no avail probably because of the checkbox onclick event.
Thanks,
Barry