修改图表

master
夜笙歌 7 months ago
parent 28af5e1d08
commit 97a0a890b1

@ -181,12 +181,12 @@ export default {
allowPointSelect: false, allowPointSelect: false,
cursor: 'pointer', cursor: 'pointer',
depth: 35, depth: 35,
startAngle: 45, startAngle: 45,y
size: 200, size: 200,
dataLabels: { dataLabels: {
enabled: true, enabled: true,
formatter: function() { formatter: function() {
return this.point.options.name + '<br>' + this.point.options.h + '%' return this.point.options.name + '<br>' + this.point.options.y + '%'
} }
}, },
showInLegend: false, showInLegend: false,
@ -271,7 +271,7 @@ export default {
dataLabels: { dataLabels: {
enabled: true, enabled: true,
formatter: function() { formatter: function() {
return this.point.options.name + '<br>' + this.point.options.h + '%' return this.point.options.name + '<br>' + this.point.options.y + '%'
} }
}, },
showInLegend: false, showInLegend: false,
@ -358,7 +358,7 @@ export default {
dataLabels: { dataLabels: {
enabled: true, enabled: true,
formatter: function() { formatter: function() {
return this.point.options.name + '<br>' + this.point.options.h + '%' return this.point.options.name + '<br>' + this.point.options.y + '%'
} }
}, },
showInLegend: false, showInLegend: false,
@ -439,7 +439,7 @@ export default {
dataLabels: { dataLabels: {
enabled: true, enabled: true,
formatter: function() { formatter: function() {
return this.point.options.name + '<br>' + this.point.options.h + '%' return this.point.options.name + '<br>' + this.point.options.y + '%'
} }
}, },
showInLegend: false, showInLegend: false,

@ -224,7 +224,7 @@ export default {
dataLabels: { dataLabels: {
enabled: true, enabled: true,
formatter: function () { formatter: function () {
return this.point.options.name + '<br>' + this.point.options.h + '%'; return this.point.options.name + '<br>' + this.point.options.y + '%';
} }
}, },
showInLegend: false, showInLegend: false,
@ -334,7 +334,7 @@ export default {
dataLabels: { dataLabels: {
enabled: true, enabled: true,
formatter: function () { formatter: function () {
return this.point.options.name + '<br>' + this.point.options.h + '%'; return this.point.options.name + '<br>' + this.point.options.y + '%';
} }
}, },
showInLegend: false, showInLegend: false,
@ -444,7 +444,7 @@ export default {
dataLabels: { dataLabels: {
enabled: true, enabled: true,
formatter: function () { formatter: function () {
return this.point.options.name + '<br>' + this.point.options.h + '%'; return this.point.options.name + '<br>' + this.point.options.y + '%';
} }
}, },
showInLegend: false, showInLegend: false,
@ -554,7 +554,7 @@ export default {
dataLabels: { dataLabels: {
enabled: true, enabled: true,
formatter: function () { formatter: function () {
return this.point.options.name + '<br>' + this.point.options.h + '%'; return this.point.options.name + '<br>' + this.point.options.y + '%';
} }
}, },
showInLegend: false, showInLegend: false,

@ -314,7 +314,7 @@ export default {
dataLabels: { dataLabels: {
enabled: true, enabled: true,
formatter: function() { formatter: function() {
return this.point.options.name + '<br>' + this.point.options.h + '%' return this.point.options.name + '<br>' + this.point.options.y + '%'
} }
}, },
showInLegend: false, showInLegend: false,
@ -411,7 +411,7 @@ export default {
dataLabels: { dataLabels: {
enabled: true, enabled: true,
formatter: function() { formatter: function() {
return this.point.options.name + '<br>' + this.point.options.h + '%' return this.point.options.name + '<br>' + this.point.options.y + '%'
} }
}, },
showInLegend: false, showInLegend: false,

@ -214,7 +214,7 @@ export default {
], ],
scrollTableOption: { scrollTableOption: {
step: 0.5, // step: 0.5, //
limitMoveNum: 22, // this.dataList.length limitMoveNum: 5, // this.dataList.length
hoverStop: true, // stop hoverStop: true, // stop
direction: 1, // 0 1 2 3 direction: 1, // 0 1 2 3
openWatch: true, // dom openWatch: true, // dom

Loading…
Cancel
Save