mirror of
https://github.com/dataease/dataease.git
synced 2026-05-14 12:22:10 +08:00
fix: 圆形填充图标签选项最少保留一项
- 移除 circle-packing 在 checkLabelContent 中的排除 - 使圆形填充图与饼图行为一致 - 维度、指标、占比最少保留一项,单项时置灰 Related to: 仪表板圆形填充图标签选项优化
This commit is contained in:
committed by
jianneng-fit2cloud
parent
5b38511f7b
commit
34312ccbfa
@@ -292,7 +292,7 @@ const configCompat = (labelAttr: DeepPartial<ChartLabelAttr>) => {
|
||||
}
|
||||
}
|
||||
const checkLabelContent = contentProp => {
|
||||
if (['funnel', 'liquid', 'circle-packing'].includes(chartType.value)) {
|
||||
if (['funnel', 'liquid'].includes(chartType.value)) {
|
||||
return false
|
||||
}
|
||||
const propIntersection = intersection(props.propertyInner, [
|
||||
|
||||
Reference in New Issue
Block a user