Hello,
Im trying to use the updatedatasource from the chart controller to update my chart. This is working fine. But when i do this, the animation of the columns starts from 0 then goes up to the new value. Is there anyway to have to have the animation to start from the current value and then move to the new value? i.e. if the old value it 80 and the new value is 50 if would just animate the column from 80 to 50, not from 0 to 50 which its doing. Please see my video. I have one value that in my data source for the chart that i update like this.
If the value is null or empty i add the point like this and build the chart.
supplierColumnData[supplier]!.add(SupplierColumnChart(supplier, yieldLoss));
if there value is already there then i do this to update it.
//just update it
supplierColumnData[supplier]![0] = SupplierColumnChart(supplier, yieldLoss);
Attachment:
videobar_c209d5bf.zip