From 30f59e27f8dc8d26b48101a92e638d716b313e95 Mon Sep 17 00:00:00 2001 From: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Date: Fri, 3 Sep 2021 14:37:21 +0300 Subject: [PATCH] chore(plugin-chart-echarts): bump to ECharts 5.2.0 (#1340) --- plugins/plugin-chart-echarts/package.json | 2 +- plugins/plugin-chart-echarts/src/Gauge/transformProps.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/plugin-chart-echarts/package.json b/plugins/plugin-chart-echarts/package.json index 5354aec571..1b0a25fa6c 100644 --- a/plugins/plugin-chart-echarts/package.json +++ b/plugins/plugin-chart-echarts/package.json @@ -30,7 +30,7 @@ "@superset-ui/core": "0.18.0", "@types/mathjs": "^6.0.7", "d3-array": "^1.2.0", - "echarts": "^5.1.2", + "echarts": "^5.2.0", "lodash": "^4.17.15", "mathjs": "^8.0.1" }, diff --git a/plugins/plugin-chart-echarts/src/Gauge/transformProps.ts b/plugins/plugin-chart-echarts/src/Gauge/transformProps.ts index ccd099376b..74cac9ca0f 100644 --- a/plugins/plugin-chart-echarts/src/Gauge/transformProps.ts +++ b/plugins/plugin-chart-echarts/src/Gauge/transformProps.ts @@ -223,11 +223,13 @@ export default function transformProps( axisLine.lineStyle.color = intervalBoundsAndColors; pointer = { show: showPointer, + showAbove: false, itemStyle: INTERVAL_GAUGE_SERIES_OPTION.pointer?.itemStyle, }; } else { pointer = { show: showPointer, + showAbove: false, }; }