|
@@ -236,8 +236,11 @@ export default {
|
|
setOptionsTooltip() {
|
|
setOptionsTooltip() {
|
|
const optionsSetup = this.optionsSetup;
|
|
const optionsSetup = this.optionsSetup;
|
|
const tooltip = {
|
|
const tooltip = {
|
|
- trigger: "item",
|
|
|
|
- show: true,
|
|
|
|
|
|
+ show: optionsSetup.isShowTooltip,
|
|
|
|
+ trigger: optionsSetup.tooltipTrigger,
|
|
|
|
+ axisPointer: {
|
|
|
|
+ type: optionsSetup.tooltipAxisPointerType,
|
|
|
|
+ },
|
|
textStyle: {
|
|
textStyle: {
|
|
color: optionsSetup.tipsColor,
|
|
color: optionsSetup.tipsColor,
|
|
fontSize: optionsSetup.tipsFontSize,
|
|
fontSize: optionsSetup.tipsFontSize,
|
|
@@ -359,8 +362,8 @@ export default {
|
|
};
|
|
};
|
|
series[i].label = {
|
|
series[i].label = {
|
|
show: optionsSetup.isShow,
|
|
show: optionsSetup.isShow,
|
|
- position: "top",
|
|
|
|
- distance: 10,
|
|
|
|
|
|
+ position: optionsSetup.fontPosition,
|
|
|
|
+ distance: optionsSetup.fontDistance,
|
|
fontSize: optionsSetup.fontSize,
|
|
fontSize: optionsSetup.fontSize,
|
|
color: optionsSetup.dataColor,
|
|
color: optionsSetup.dataColor,
|
|
fontWeight: optionsSetup.fontWeight,
|
|
fontWeight: optionsSetup.fontWeight,
|
|
@@ -456,8 +459,8 @@ export default {
|
|
};
|
|
};
|
|
obj.label = {
|
|
obj.label = {
|
|
show: optionsSetup.isShow,
|
|
show: optionsSetup.isShow,
|
|
- position: "top",
|
|
|
|
- distance: 10,
|
|
|
|
|
|
+ position: optionsSetup.fontPosition,
|
|
|
|
+ distance: optionsSetup.fontDistance,
|
|
fontSize: optionsSetup.fontSize,
|
|
fontSize: optionsSetup.fontSize,
|
|
color: optionsSetup.dataColor,
|
|
color: optionsSetup.dataColor,
|
|
fontWeight: optionsSetup.fontWeight,
|
|
fontWeight: optionsSetup.fontWeight,
|