|
|
|
@ -364,6 +364,7 @@ export default {
|
|
|
|
|
fontSize: optionsSetup.fontSize,
|
|
|
|
|
color: optionsSetup.dataColor,
|
|
|
|
|
fontWeight: optionsSetup.fontWeight,
|
|
|
|
|
formatter: !!optionsSetup.percentSign ? '{c}%' : '{c}'
|
|
|
|
|
};
|
|
|
|
|
series[i].data = data;
|
|
|
|
|
this.options.legend["data"] = legendName;
|
|
|
|
@ -434,6 +435,7 @@ export default {
|
|
|
|
|
fontSize: optionsSetup.fontSize,
|
|
|
|
|
color: optionsSetup.dataColor,
|
|
|
|
|
fontWeight: optionsSetup.fontWeight,
|
|
|
|
|
formatter: !!optionsSetup.percentSign ? '{c}%' : '{c}'
|
|
|
|
|
};
|
|
|
|
|
obj.data = val.series[i].data;
|
|
|
|
|
series.push(obj);
|
|
|
|
|