轴线条颜色修改

yanzili 3 years ago
parent b7e330d756
commit 719e656e8b

@ -1164,6 +1164,14 @@ const widgetTools = [
placeholder: '', placeholder: '',
value: 12, value: 12,
}, },
{
type: 'vue-color',
label: '轴颜色',
name: 'lineColorX',
required: false,
placeholder: '',
value: '#fff',
}
], ],
}, },
{ {
@ -1225,6 +1233,14 @@ const widgetTools = [
placeholder: '', placeholder: '',
value: 12, value: 12,
}, },
{
type: 'vue-color',
label: '轴颜色',
name: 'lineColorY',
required: false,
placeholder: '',
value: '#fff',
}
], ],
}, },
{ {
@ -1700,6 +1716,14 @@ const widgetTools = [
placeholder: '', placeholder: '',
value: 12, value: 12,
}, },
{
type: 'vue-color',
label: '轴颜色',
name: 'lineColorX',
required: false,
placeholder: '',
value: '#fff',
}
], ],
}, },
{ {
@ -1761,6 +1785,14 @@ const widgetTools = [
placeholder: '', placeholder: '',
value: 12, value: 12,
}, },
{
type: 'vue-color',
label: '轴颜色',
name: 'lineColorY',
required: false,
placeholder: '',
value: '#fff',
}
], ],
}, },
{ {
@ -2156,6 +2188,14 @@ const widgetTools = [
placeholder: '', placeholder: '',
value: 12, value: 12,
}, },
{
type: 'vue-color',
label: '轴颜色',
name: 'lineColorX',
required: false,
placeholder: '',
value: '#fff',
}
], ],
}, },
{ {
@ -2217,6 +2257,14 @@ const widgetTools = [
placeholder: '', placeholder: '',
value: 12, value: 12,
}, },
{
type: 'vue-color',
label: '轴颜色',
name: 'lineColorY',
required: false,
placeholder: '',
value: '#fff',
}
], ],
}, },
{ {
@ -2766,6 +2814,14 @@ const widgetTools = [
placeholder: '', placeholder: '',
value: 16, value: 16,
}, },
{
type: 'vue-color',
label: '轴颜色',
name: 'lineColorX',
required: false,
placeholder: '',
value: '#fff',
}
], ],
}, },
{ {
@ -2827,6 +2883,14 @@ const widgetTools = [
placeholder: '', placeholder: '',
value: 12, value: 12,
}, },
{
type: 'vue-color',
label: '轴颜色',
name: 'lineColorY',
required: false,
placeholder: '',
value: '#fff',
}
], ],
}, },
{ {

@ -1,6 +1,7 @@
<template> <template>
<div :style="styleObj"> <div :style="styleObj">
<v-chart :options="options" autoresize/> <v-chart :options="options"
autoresize />
</div> </div>
</template> </template>
@ -231,7 +232,7 @@
axisLine: { axisLine: {
show: true, show: true,
lineStyle: { lineStyle: {
color: '#fff', color: optionsCollapse.lineColorX,
}, },
}, },
} }
@ -262,7 +263,7 @@
axisLine: { axisLine: {
show: true, show: true,
lineStyle: { lineStyle: {
color: '#fff', color: optionsCollapse.lineColorY,
}, },
}, },
} }

@ -1,6 +1,7 @@
<template> <template>
<div :style="styleObj"> <div :style="styleObj">
<v-chart :options="options" autoresize /> <v-chart :options="options"
autoresize />
</div> </div>
</template> </template>
@ -144,7 +145,7 @@ export default {
axisLine: { axisLine: {
show: true, show: true,
lineStyle: { lineStyle: {
color: "#fff" color: optionsCollapse.lineColorX
} }
} }
}; };
@ -175,7 +176,7 @@ export default {
axisLine: { axisLine: {
show: true, show: true,
lineStyle: { lineStyle: {
color: "#fff" color: optionsCollapse.lineColorY
} }
} }
}; };

@ -1,6 +1,7 @@
<template> <template>
<div :style="styleObj"> <div :style="styleObj">
<v-chart :options="options" autoresize /> <v-chart :options="options"
autoresize />
</div> </div>
</template> </template>
@ -148,7 +149,7 @@ export default {
axisLine: { axisLine: {
show: true, show: true,
lineStyle: { lineStyle: {
color: "#fff" color: optionsCollapse.lineColorX
} }
} }
}; };
@ -179,7 +180,7 @@ export default {
axisLine: { axisLine: {
show: true, show: true,
lineStyle: { lineStyle: {
color: "#fff" color: optionsCollapse.lineColorY
} }
} }
}; };

@ -1,6 +1,7 @@
<template> <template>
<div :style="styleObj"> <div :style="styleObj">
<v-chart :options="options" autoresize /> <v-chart :options="options"
autoresize />
</div> </div>
</template> </template>
@ -188,7 +189,7 @@ export default {
axisLine: { axisLine: {
show: true, show: true,
lineStyle: { lineStyle: {
color: '#fff', color: optionsCollapse.lineColorX,
}, },
}, },
} }
@ -246,7 +247,7 @@ export default {
axisLine: { axisLine: {
show: true, show: true,
lineStyle: { lineStyle: {
color: '#fff', color: optionsCollapse.lineColorY,
}, },
}, },
}, },

@ -1,6 +1,7 @@
<template> <template>
<div :style="styleObj"> <div :style="styleObj">
<v-chart :options="options" autoresize /> <v-chart :options="options"
autoresize />
</div> </div>
</template> </template>
@ -154,7 +155,7 @@ export default {
axisLine: { axisLine: {
show: true, show: true,
lineStyle: { lineStyle: {
color: '#fff', color: optionsCollapse.lineColorX,
}, },
}, },
} }
@ -185,7 +186,7 @@ export default {
axisLine: { axisLine: {
show: true, show: true,
lineStyle: { lineStyle: {
color: '#fff', color: optionsCollapse.lineColorY,
}, },
}, },
} }

Loading…
Cancel
Save