echarts
echarts copied to clipboard
[Bug] showMinLine and showMaxLine don't work for gauge series
Version
5.6.0
Link to Minimal Reproduction
https://echarts.apache.org/examples/en/editor.html?c=gauge&code=PYBwLglsB2AEC8sDeAoWszGAG0iAXMmurAGbABOAtgIZhgCmFhA5EjQL6wA8ARhQHoAfEl5dCSAMYcApC2IcANMQDOTCAxWEA2sXSoSJaDSoNWABQqaVAVystlh9GACeIM7BYBzGja8MHPRIAEwYwGghsCSDDcmo6RmZPJAA3GmwbBg55J1glGNgVEGwIMAAZCGgPA1zCgAtgAHdCMApMx1qVBsaAWUqKqsJSdLUO3K6mnpoADwGPYexRgvzc4LoaHQL9LZI0jI8AVgAGMdrjU1YAZQBhAHkAJQBRHNqOAoBdILf0T44AbiAA
Steps to Reproduce
- Create a gauge chart:
- Set showMinLine and showMaxLine for splitLine to false.
splitLine: { show: true, showMinLine: false, showMaxLine: false, },
Current Behavior
The max and min lines are still visible.
Expected Behavior
The max and min lines should be hidden.
Environment
Any additional comments?
I intend to try and fix the issue my self, in the mean time, I've created this issue for folks to know about it.
Looks like there's also a problem with the axisLabel options:
axisLabel: {
show: true,
showMaxLabel: false,
showMinLabel: false,
},