提交 7d69d3da authored 作者: junjun's avatar junjun

refactor: 折线图标签优化

上级 75b2b77a
......@@ -112,7 +112,13 @@ export function getLabel(chart) {
if (l.show) {
if (chart.type === 'pie') {
label = {
type: l.position
type: l.position,
autoRotate: false
}
} else if (chart.type.includes('line')) {
label = {
position: l.position,
offsetY: -8
}
} else {
label = {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论