Unverified 提交 74a14093 authored 作者: XiaJunjie2020's avatar XiaJunjie2020 提交者: GitHub

Merge pull request #721 from dataease/pr@v1.2@fix_ui_chart

fix: 颜色选择器去掉清空;矩形树图标签修复;doris 计算字段支持小数
...@@ -121,6 +121,8 @@ public class DorisQueryProvider extends QueryProvider { ...@@ -121,6 +121,8 @@ public class DorisQueryProvider extends QueryProvider {
fieldName = String.format(DorisConstants.FROM_UNIXTIME, cast, DorisConstants.DEFAULT_DATE_FORMAT); fieldName = String.format(DorisConstants.FROM_UNIXTIME, cast, DorisConstants.DEFAULT_DATE_FORMAT);
} else if (f.getDeType() == 2) { } else if (f.getDeType() == 2) {
fieldName = String.format(DorisConstants.CAST, originField, DorisConstants.DEFAULT_INT_FORMAT); fieldName = String.format(DorisConstants.CAST, originField, DorisConstants.DEFAULT_INT_FORMAT);
} else if (f.getDeType() == 3) {
fieldName = String.format(DorisConstants.CAST, originField, DorisConstants.DEFAULT_FLOAT_FORMAT);
} else { } else {
fieldName = originField; fieldName = originField;
} }
......
...@@ -349,3 +349,7 @@ div:focus { ...@@ -349,3 +349,7 @@ div:focus {
width: 5px; width: 5px;
height: 5px; height: 5px;
} }
.el-color-dropdown__link-btn {
display: none!important;
}
...@@ -54,6 +54,7 @@ export function baseTreemapOption(chart_option, chart) { ...@@ -54,6 +54,7 @@ export function baseTreemapOption(chart_option, chart) {
// y.type = 'treemap' // y.type = 'treemap'
chart_option.series[0].data.push(y) chart_option.series[0].data.push(y)
} }
chart_option.series[0].name = chart.data.series[0].name
} }
} }
// console.log(chart_option); // console.log(chart_option);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论