forked from github/dataease
Merge pull request #721 from dataease/pr@v1.2@fix_ui_chart
fix: 颜色选择器去掉清空;矩形树图标签修复;doris 计算字段支持小数
This commit is contained in:
commit
74a140931f
@ -121,6 +121,8 @@ public class DorisQueryProvider extends QueryProvider {
|
||||
fieldName = String.format(DorisConstants.FROM_UNIXTIME, cast, DorisConstants.DEFAULT_DATE_FORMAT);
|
||||
} else if (f.getDeType() == 2) {
|
||||
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 {
|
||||
fieldName = originField;
|
||||
}
|
||||
|
@ -349,3 +349,7 @@ div:focus {
|
||||
width: 5px;
|
||||
height: 5px;
|
||||
}
|
||||
|
||||
.el-color-dropdown__link-btn {
|
||||
display: none!important;
|
||||
}
|
||||
|
@ -54,6 +54,7 @@ export function baseTreemapOption(chart_option, chart) {
|
||||
// y.type = 'treemap'
|
||||
chart_option.series[0].data.push(y)
|
||||
}
|
||||
chart_option.series[0].name = chart.data.series[0].name
|
||||
}
|
||||
}
|
||||
// console.log(chart_option);
|
||||
|
Loading…
Reference in New Issue
Block a user