|
|
@ -314,8 +314,9 @@ export default {
|
|
|
|
type: 'value',
|
|
|
|
type: 'value',
|
|
|
|
show : optionsSetup.hideXLeft,
|
|
|
|
show : optionsSetup.hideXLeft,
|
|
|
|
inverse: true,
|
|
|
|
inverse: true,
|
|
|
|
axisLine: {//X轴线
|
|
|
|
//X轴线
|
|
|
|
show: optionsSetup.xLineLeft,
|
|
|
|
axisLine: {
|
|
|
|
|
|
|
|
show: optionsSetup.lineXLeft,
|
|
|
|
lineStyle: {
|
|
|
|
lineStyle: {
|
|
|
|
color: optionsSetup.lineColorXLeft,
|
|
|
|
color: optionsSetup.lineColorXLeft,
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -323,19 +324,19 @@ export default {
|
|
|
|
axisTick: {
|
|
|
|
axisTick: {
|
|
|
|
show: optionsSetup.tickLineLeft,
|
|
|
|
show: optionsSetup.tickLineLeft,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
position: 'bottom',
|
|
|
|
position: optionsSetup.positionXLeft,
|
|
|
|
axisLabel: { // x轴
|
|
|
|
axisLabel: { // x轴
|
|
|
|
show: true,
|
|
|
|
show: true,
|
|
|
|
textStyle: {
|
|
|
|
textStyle: {
|
|
|
|
color: optionsSetup.XcolorLeft,
|
|
|
|
color: optionsSetup.colorXLeft,
|
|
|
|
fontSize: optionsSetup.fontSizeXLeft
|
|
|
|
fontSize: optionsSetup.fontSizeXLeft
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
splitLine: { // 分割线
|
|
|
|
splitLine: { // 分割线
|
|
|
|
show: optionsSetup.SplitLineLeft,
|
|
|
|
show: optionsSetup.isShowSplitLineLeft,
|
|
|
|
lineStyle: {
|
|
|
|
lineStyle: {
|
|
|
|
color: optionsSetup.SplitLineColorLeft,
|
|
|
|
color: optionsSetup.splitLineColorLeft,
|
|
|
|
width: optionsSetup.SplitLinefontSizeLeft,
|
|
|
|
width: optionsSetup.splitLineFontWidthLeft,
|
|
|
|
type: 'solid'
|
|
|
|
type: 'solid'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -351,7 +352,7 @@ export default {
|
|
|
|
show : optionsSetup.hideXRight,
|
|
|
|
show : optionsSetup.hideXRight,
|
|
|
|
type: 'value',
|
|
|
|
type: 'value',
|
|
|
|
axisLine: {//X轴线
|
|
|
|
axisLine: {//X轴线
|
|
|
|
show: optionsSetup.xLineRight,
|
|
|
|
show: optionsSetup.lineXRight,
|
|
|
|
lineStyle: {
|
|
|
|
lineStyle: {
|
|
|
|
color: optionsSetup.lineColorXRight,
|
|
|
|
color: optionsSetup.lineColorXRight,
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -359,19 +360,19 @@ export default {
|
|
|
|
axisTick: {
|
|
|
|
axisTick: {
|
|
|
|
show: optionsSetup.tickLineRight,
|
|
|
|
show: optionsSetup.tickLineRight,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
position: 'bottom',
|
|
|
|
position: optionsSetup.positionXRight,
|
|
|
|
axisLabel: { // x轴
|
|
|
|
axisLabel: { // x轴
|
|
|
|
show: true,
|
|
|
|
show: true,
|
|
|
|
textStyle: {
|
|
|
|
textStyle: {
|
|
|
|
color: optionsSetup.XcolorRight,
|
|
|
|
color: optionsSetup.colorXRight,
|
|
|
|
fontSize: optionsSetup.fontSizeXRight
|
|
|
|
fontSize: optionsSetup.fontSizeXRight
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
splitLine: { // 分割线
|
|
|
|
splitLine: { // 分割线
|
|
|
|
show: optionsSetup.SplitLineRight,
|
|
|
|
show: optionsSetup.isShowSplitLineRight,
|
|
|
|
lineStyle: {
|
|
|
|
lineStyle: {
|
|
|
|
color: optionsSetup.SplitLineColorRight,
|
|
|
|
color: optionsSetup.splitLineColorRight,
|
|
|
|
width: optionsSetup.SplitLinefontSizeRight,
|
|
|
|
width: optionsSetup.splitLineFontWidthRight,
|
|
|
|
type: 'solid'
|
|
|
|
type: 'solid'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -393,7 +394,7 @@ export default {
|
|
|
|
const axisLabel = {
|
|
|
|
const axisLabel = {
|
|
|
|
show: optionsSetup.hideY,
|
|
|
|
show: optionsSetup.hideY,
|
|
|
|
textStyle: {
|
|
|
|
textStyle: {
|
|
|
|
align: optionsSetup.textAlign,
|
|
|
|
align: optionsSetup.textAlignY,
|
|
|
|
color: optionsSetup.colorY,
|
|
|
|
color: optionsSetup.colorY,
|
|
|
|
fontSize: optionsSetup.fontSizeY,
|
|
|
|
fontSize: optionsSetup.fontSizeY,
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -461,6 +462,8 @@ export default {
|
|
|
|
const grid = [
|
|
|
|
const grid = [
|
|
|
|
{//左
|
|
|
|
{//左
|
|
|
|
show: optionsSetup.frameLineLeft,
|
|
|
|
show: optionsSetup.frameLineLeft,
|
|
|
|
|
|
|
|
borderColor: optionsSetup.borderColorLeft,
|
|
|
|
|
|
|
|
borderWidth: optionsSetup.borderWidthLeft,
|
|
|
|
left: optionsSetup.marginLeftRight,
|
|
|
|
left: optionsSetup.marginLeftRight,
|
|
|
|
top: optionsSetup.marginTop,
|
|
|
|
top: optionsSetup.marginTop,
|
|
|
|
bottom: optionsSetup.marginBottom,
|
|
|
|
bottom: optionsSetup.marginBottom,
|
|
|
@ -476,6 +479,8 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{//右
|
|
|
|
{//右
|
|
|
|
show: optionsSetup.frameLineRight,
|
|
|
|
show: optionsSetup.frameLineRight,
|
|
|
|
|
|
|
|
borderColor: optionsSetup.borderColorRight,
|
|
|
|
|
|
|
|
borderWidth: optionsSetup.borderWidthRight,
|
|
|
|
right: optionsSetup.marginLeftRight,
|
|
|
|
right: optionsSetup.marginLeftRight,
|
|
|
|
top: optionsSetup.marginTop,
|
|
|
|
top: optionsSetup.marginTop,
|
|
|
|
bottom: optionsSetup.marginBottom,
|
|
|
|
bottom: optionsSetup.marginBottom,
|
|
|
|