|
@@ -237,8 +237,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,
|
|
@@ -395,8 +398,8 @@ export default {
|
|
//数值设定
|
|
//数值设定
|
|
label: {
|
|
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,
|
|
@@ -510,8 +513,8 @@ export default {
|
|
// 数值设定
|
|
// 数值设定
|
|
label: {
|
|
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,
|