You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "JMetschl (via GitHub)" <gi...@apache.org> on 2026/04/14 13:13:09 UTC

[I] [Bug] markLine on log axis is not rendered below a certain threshold [echarts]

JMetschl opened a new issue, #21580:
URL: https://github.com/apache/echarts/issues/21580

   ### Version
   
   6.0.0
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=hVLRboIwFH3fV9xkSzoTJKUICItL9rA331yyB2NixU4bKzXQTZHw77u4WvVhGyHQnJ7ee-451TsjdQEjaO4ADi8HWWUwxSWcgO4x9U5kQHJuxEqXNfEsvuSGI5cExAPCuk9IZudNjoXeZL7JoAGu5Kp4l2Y95guhMjDlp4D2mmk3GpCFEeUXxzX1oNQGe2aQ0gu72ilpxrJAuIFqrfe35fCH_5OK-o9ZlF65Mf6peCvQQgAfutxyg2IzeES9PRg9w_yhwaVv9OthpwtRGMnVI-u1c3vKVdzyQwaBU2wFV6KU4lfFKNBJLvi2wyanA4D-3ybiRE7RxNhPoihMKRvEYfcGoj-IXUzICTxg_iBmQ5qwMErTYZIORD-i1xzWcVicJmkYs3Q4TFjMkMNmluK4nX-TervQNmaHW4zksszVZZIffCKPOE98Bo8ZhBeryo0Nx8mppEJzbxtctSjQe9cAoHNuYmp1yte6ueTVWizxyu7l0qwxCz_yINdKY5zknlJKLmE5W5vzlaI-pQG05-Hbqxzv2qdv&enc=deflate
   
   ### Steps to Reproduce
   
   1. Create a chart with a log type y-axis.
   2. Use very small values in the data series (e.g. 1e-50 range).
   3. Add a markLine with different yAxis values.
   4. Compare the rendering behavior for values such as:
   - 0.01
   - 0.009
   - 0.005
   - 0.001
   
   ### Current Behavior
   
   - markLine is rendered for yAxis: 0.01
   - markLine is also rendered for yAxis: 0.009, but appears at 0.01 instead of the exact specified value
   - markLine is still rendered for yAxis: 0.005, but appears at 0.01
   - markLine is no longer rendered for smaller values such as yAxis: 0.001
   
   ### Expected Behavior
   
   The markLine should always be rendered as long as its value lies within the visible axis range.
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser: Firefox 149.0
   - 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


Re: [I] [Bug] markLine on log axis is not rendered below a certain threshold [echarts]

Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #21580:
URL: https://github.com/apache/echarts/issues/21580#issuecomment-4245893584

   yes, it seems `markLine.data.yAxis` has precision 2 (rounding to two decimal places) and 0.005 is rounded to 0.01


-- 
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

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


Re: [I] [Bug] markLine on log axis is not rendered below a certain threshold [echarts]

Posted by "JMetschl (via GitHub)" <gi...@apache.org>.
JMetschl closed issue #21580: [Bug] markLine on log axis is not rendered below a certain threshold
URL: https://github.com/apache/echarts/issues/21580


-- 
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

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