From c53c8a645e35a8b5ff8cf351c424c56f72b9495b Mon Sep 17 00:00:00 2001 From: Marco Vettorello Date: Thu, 11 Apr 2019 18:53:22 +0200 Subject: [PATCH] fix: temporary disable animation (#164) Disable animations for all charts until we fix #89 and #41 and until we found a right strategy for animate everything nicely and at 60fps. fix #161 --- src/state/chart_state.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/state/chart_state.ts b/src/state/chart_state.ts index a17ef9d668..1c1e59b3a8 100644 --- a/src/state/chart_state.ts +++ b/src/state/chart_state.ts @@ -873,6 +873,9 @@ export class ChartStore { this.annotationDimensions.replace(updatedAnnotationDimensions); this.canDataBeAnimated = isChartAnimatable(seriesGeometries.geometriesCounts, this.animateData); + // temporary disabled until + // https://github.com/elastic/elastic-charts/issues/89 and https://github.com/elastic/elastic-charts/issues/41 + this.canDataBeAnimated = false; this.initialized.set(true); } }