mirror of
https://github.com/dataease/dataease.git
synced 2026-05-23 13:58:26 +08:00
fix(图表): 双线图标签展示不全
This commit is contained in:
@@ -176,6 +176,10 @@ export function getLabel(chart: Chart) {
|
|||||||
) {
|
) {
|
||||||
layout.push({ type: 'limit-in-canvas' })
|
layout.push({ type: 'limit-in-canvas' })
|
||||||
layout.push({ type: 'hide-overlap' })
|
layout.push({ type: 'hide-overlap' })
|
||||||
|
} else if (chart.type.includes('chart-mix')) {
|
||||||
|
layout.push({ type: 'limit-in-canvas' })
|
||||||
|
layout.push({ type: 'limit-in-plot' })
|
||||||
|
layout.push({ type: 'hide-overlap' })
|
||||||
} else {
|
} else {
|
||||||
layout.push({ type: 'limit-in-plot' })
|
layout.push({ type: 'limit-in-plot' })
|
||||||
layout.push({ type: 'fixed-overlap' })
|
layout.push({ type: 'fixed-overlap' })
|
||||||
|
|||||||
Reference in New Issue
Block a user