You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/09/07 09:38:57 UTC

[GitHub] [echarts] ob-ARC opened a new issue, #17630: [Bug] Unexpected behaviour with axis min/max and grid lines/labels

ob-ARC opened a new issue, #17630:
URL: https://github.com/apache/echarts/issues/17630

   ### Version
   
   5.3.3
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/en/editor.html?code=PYBwLglsB2AEC8sDeAoWsDGwA2wBOAXLANoBEAxAMyUCcAHACIBCpAugDRqxjA6QhFU6dGDwQA5uICmhWKQCGADwgBnUp2GwlqgArAI0MDMFdNYAJ4gpRUioAW8gCbAA7qVOwAvl08bY4sUdBXy5FAEFlFSJiIWELKxsMeSNxfHN1D0dk-WjSAFkYdTkAFQBXKSLSAHUpR0riu1LKgDExSoBlZI7S6DYfDi5zCNVo2JFLazkAN3lscozNAyM8GewiAFYABj90AFslIgAWACZt2AB6c9hDze2PbRUAGXkAIyk15A90e1c8pWe3h9ROULlcAGazFRSDzedCeAbfGQQKRREhjWDQeS7SakQAvboBS40A_dGAO9SFnEJjYXvI8GT0FS8FUII4wHYbAA2TYAUlpsCyYByJAAjGd1sd2LBTmdqIdxbQpZQzsdTqx-ihPEA&_source=echarts-doc-preview
   
   ### Steps to Reproduce
   
   See link to reproduction - use **yAxis.max=**_430_ and **yAxis.axisLabel.showMaxValue=**_true_ to see the line issue, and _400/false_ for the label issue.
   
   ### Current Behavior
   
   When using a static min/max on an axis, a grid line will be drawn for that value, even if it is not aligned to the grid. Similarly, showMin-/-MaxLabel will also affect the labels if they are aligned to the grid. I think both behaviours are unexpected from a user point of view.
   
   ### Expected Behavior
   
   - **No** grid line should be drawn for min/max values when they are not aligned to the grid
   - showMinLabel/showMaxLabel should **not** affect the labels at min/max if they are aligned to the grid (or, put the other way round: grid labels should **not** be affected by showMinLabel/showMaxLabel)
   
   ### Environment
   
   ```markdown
   - OS: Windows 10
   - Browser: Firefox
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org