This is an automated email from the ASF dual-hosted git repository.
yongjiezhao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 9bf7ed58cd fix(plugin-chart-echarts): bar chart overflow (#20805)
9bf7ed58cd is described below
commit 9bf7ed58cdc1d5523d0cb661f8fdbf7df9b10fe7
Author: Stephen Liu <[email protected]>
AuthorDate: Sat Jul 23 14:20:00 2022 +0800
fix(plugin-chart-echarts): bar chart overflow (#20805)
---
superset-frontend/plugins/plugin-chart-echarts/src/utils/series.ts | 3 ---
1 file changed, 3 deletions(-)
diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/utils/series.ts
b/superset-frontend/plugins/plugin-chart-echarts/src/utils/series.ts
index 8f21fa2b12..24831cee3a 100644
--- a/superset-frontend/plugins/plugin-chart-echarts/src/utils/series.ts
+++ b/superset-frontend/plugins/plugin-chart-echarts/src/utils/series.ts
@@ -311,8 +311,5 @@ export function getAxisType(dataType?: GenericDataType):
AxisType {
if (dataType === GenericDataType.TEMPORAL) {
return 'time';
}
- if (dataType === GenericDataType.NUMERIC) {
- return 'value';
- }
return 'category';
}