提交 3f028ce0 authored 作者: junjie's avatar junjie

refactor: 视图样式配置项调整

上级 6bcd7044
......@@ -152,7 +152,7 @@ export default {
initOptions() {
const type = this.chart.type
if (type) {
if (type.includes('horizontal')) {
if (type.includes('horizontal') || type === 'funnel') {
this.labelPosition = this.labelPositionH
} else if (type.includes('pie')) {
this.labelPosition = this.labelPositionPie
......
......@@ -130,7 +130,7 @@ export default {
initOptions() {
const type = this.chart.type
if (type) {
if (type.includes('horizontal')) {
if (type.includes('horizontal') || type === 'funnel') {
this.labelPosition = this.labelPositionH
} else if (type.includes('pie')) {
this.labelPosition = this.labelPositionPie
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论