forked from github/dataease
refactor: 视图样式配置项调整
This commit is contained in:
parent
6bcd70444b
commit
3f028ce0b0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user