柱状对比图功能更新

qianming 3 years ago
parent 9363626bcb
commit 2d69abb5a4

@ -7151,6 +7151,14 @@ const widgetTools = [
placeholder: '', placeholder: '',
value: 14, value: 14,
}, },
{
type: 'el-switch',
label: '刻度线',
name: 'tickLineLeft',
require: false,
placeholder: '',
value: false,
},
{ {
type: 'el-switch', type: 'el-switch',
label: 'X轴线', label: 'X轴线',
@ -7236,6 +7244,14 @@ const widgetTools = [
placeholder: '', placeholder: '',
value: 14, value: 14,
}, },
{
type: 'el-switch',
label: '刻度线',
name: 'tickLineLeft',
require: false,
placeholder: '',
value: false,
},
{ {
type: 'el-switch', type: 'el-switch',
label: 'X轴线', label: 'X轴线',
@ -7362,7 +7378,7 @@ const widgetTools = [
value: '#fff', value: '#fff',
}, { }, {
type: 'el-switch', type: 'el-switch',
label: '分割线显示', label: 'y轴线显示',
name: 'isShowSplitLineY', name: 'isShowSplitLineY',
require: false, require: false,
placeholder: '', placeholder: '',
@ -7384,7 +7400,7 @@ const widgetTools = [
{ {
type: 'el-switch', type: 'el-switch',
label: '显示', label: '显示',
name: 'isShow', name: 'isShowY',
required: false, required: false,
placeholder: '', placeholder: '',
value: true value: true
@ -7392,7 +7408,7 @@ const widgetTools = [
{ {
type: 'el-input-number', type: 'el-input-number',
label: '字体大小', label: '字体大小',
name: 'fontSize', name: 'fontSizeY',
required: false, required: false,
placeholder: '', placeholder: '',
value: 14 value: 14
@ -7400,7 +7416,7 @@ const widgetTools = [
{ {
type: 'vue-color', type: 'vue-color',
label: '字体颜色', label: '字体颜色',
name: 'subTextColor', name: 'subTextColorY',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff' value: '#fff'
@ -7408,7 +7424,7 @@ const widgetTools = [
{ {
type: 'el-select', type: 'el-select',
label: '字体粗细', label: '字体粗细',
name: 'fontWeight', name: 'fontWeightY',
required: false, required: false,
placeholder: '', placeholder: '',
selectOptions: [ selectOptions: [

@ -312,7 +312,7 @@ export default {
}, },
}, },
axisTick: { axisTick: {
show: false, show: optionsSetup.tickLineLeft,
}, },
position: 'bottom', position: 'bottom',
axisLabel: { // x axisLabel: { // x
@ -347,7 +347,7 @@ export default {
}, },
}, },
axisTick: { axisTick: {
show: false, show: optionsSetup.tickLineRight,
}, },
position: 'bottom', position: 'bottom',
axisLabel: { // x axisLabel: { // x

Loading…
Cancel
Save