Chart lines don't display
Posted: Wed Feb 16, 2005 8:27 pm
I have a line series dbchart referencing a clientdataset (dbExpress). At runtime the dataset is filtered using the SetRange approach and the series display fine. But when I filter the data again later on using the same method, the chart goes blank. I'm using D7 with TeeChart v7.02.
There's also a dbgrid on the form that pulls data from the same clientdataset (via a datasource). When the range is changed the grid shows the new data ok.
The filtering was working fine till yesterday. I've rebuilt both the chart and the datamodule where I have the dbExpress components. I also tried using the Filter method instead of SetRange but the same thing happens.
At design time the series lines show ok and I can apply a filter once. If I change the filter and close/open the clientdataset, the chart goes blank. I have to reset the dataset Y value for each series to make the lines reappear.
Ideas?
Thanks
Barry
There's also a dbgrid on the form that pulls data from the same clientdataset (via a datasource). When the range is changed the grid shows the new data ok.
The filtering was working fine till yesterday. I've rebuilt both the chart and the datamodule where I have the dbExpress components. I also tried using the Filter method instead of SetRange but the same thing happens.
At design time the series lines show ok and I can apply a filter once. If I change the filter and close/open the clientdataset, the chart goes blank. I have to reset the dataset Y value for each series to make the lines reappear.
Ideas?
Thanks
Barry