From cc203132b0de0bf2f894da7ae15beefbdf099a51 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 5 Jan 2021 19:29:57 +0100 Subject: [PATCH] Change animation behavior of hourly and cum chart --- src/components/charts/CumProfitChart.vue | 2 +- src/components/charts/HourlyChart.vue | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/charts/CumProfitChart.vue b/src/components/charts/CumProfitChart.vue index 7d9894f5..5968bfd7 100644 --- a/src/components/charts/CumProfitChart.vue +++ b/src/components/charts/CumProfitChart.vue @@ -123,7 +123,7 @@ export default class CumProfitChart extends Vue { { type: 'line', name: CHART_PROFIT, - animation: false, + animation: true, step: 'start', lineStyle: { color: this.getChartTheme === 'dark' ? '#c2c2c2' : 'black', diff --git a/src/components/charts/HourlyChart.vue b/src/components/charts/HourlyChart.vue index 53c98bc8..357897c4 100644 --- a/src/components/charts/HourlyChart.vue +++ b/src/components/charts/HourlyChart.vue @@ -127,11 +127,13 @@ export default class HourlyChart extends Vue { { type: 'line', name: CHART_PROFIT, + animation: false, // symbol: 'none', }, { type: 'bar', name: CHART_TRADE_COUNT, + animation: false, itemStyle: { color: 'rgba(150,150,150,0.3)', },