|
|
@ -215,24 +215,12 @@ export default {
|
|
|
|
options: {
|
|
|
|
options: {
|
|
|
|
//backgroundColor: '#0F1C3C',
|
|
|
|
//backgroundColor: '#0F1C3C',
|
|
|
|
tooltip: {
|
|
|
|
tooltip: {
|
|
|
|
show: true,
|
|
|
|
trigger: 'item',
|
|
|
|
formatter: function (params) {
|
|
|
|
formatter: function (params) {
|
|
|
|
if (params.value.length >1 ) {
|
|
|
|
if (params.value.length >1 ) {
|
|
|
|
return (
|
|
|
|
return params.data.name + "" + params.data.value[2];
|
|
|
|
" " +
|
|
|
|
|
|
|
|
params.name +
|
|
|
|
|
|
|
|
" " +
|
|
|
|
|
|
|
|
params.value[2] +
|
|
|
|
|
|
|
|
" "
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
return (
|
|
|
|
return params.name;
|
|
|
|
" " +
|
|
|
|
|
|
|
|
params.name +
|
|
|
|
|
|
|
|
" " +
|
|
|
|
|
|
|
|
params.value +
|
|
|
|
|
|
|
|
" "
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -472,7 +460,7 @@ export default {
|
|
|
|
const label = this.options.series[0]["label"];
|
|
|
|
const label = this.options.series[0]["label"];
|
|
|
|
const normal = {
|
|
|
|
const normal = {
|
|
|
|
position: "right",
|
|
|
|
position: "right",
|
|
|
|
show: true,
|
|
|
|
show: optionsSetup.isShowMap,
|
|
|
|
color: optionsSetup.fontTextColor,
|
|
|
|
color: optionsSetup.fontTextColor,
|
|
|
|
fontSize: optionsSetup.fontTextSize,
|
|
|
|
fontSize: optionsSetup.fontTextSize,
|
|
|
|
fontWeight: optionsSetup.fontTextWeight
|
|
|
|
fontWeight: optionsSetup.fontTextWeight
|
|
|
|