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 2021/09/03 07:04:20 UTC

[GitHub] [echarts] Youmyin opened a new issue #15667: 折线图y轴markLine不显示

Youmyin opened a new issue #15667:
URL: https://github.com/apache/echarts/issues/15667


   ### Version
   5.1.2
   
   ### Reproduction link
   [https://codesandbox.io/s/quirky-currying-25jdz?file=/src/App.tsx](https://codesandbox.io/s/quirky-currying-25jdz?file=/src/App.tsx)
   
   ### Steps to reproduce
   由于某些需求,将y轴数据先转换成value类型,显示的时候通过formatter转回字符串类型进行显示,但是使用markLine的时候,无论如何显示不了,markLine中的yAxis对应的数据是data的原始数据吗,是什么阻止它的显示?
   
   ### What is expected?
   markLine能够正常显示
   
   ### What is actually happening?
   markLine无法正常显示
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


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


[GitHub] [echarts] Youmyin commented on issue #15667: 折线图y轴markLine不显示

Posted by GitBox <gi...@apache.org>.
Youmyin commented on issue #15667:
URL: https://github.com/apache/echarts/issues/15667#issuecomment-912884675


   哎,我知道怎么回事了,我没有引入MarkLineComponent。。。Σ(⊙▽⊙"a


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


[GitHub] [echarts] Youmyin closed issue #15667: 折线图y轴markLine不显示

Posted by GitBox <gi...@apache.org>.
Youmyin closed issue #15667:
URL: https://github.com/apache/echarts/issues/15667


   


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


[GitHub] [echarts] echarts-bot[bot] commented on issue #15667: 折线图y轴markLine不显示

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #15667:
URL: https://github.com/apache/echarts/issues/15667#issuecomment-912307827






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


[GitHub] [echarts] Ovilia commented on issue #15667: 折线图y轴markLine不显示

Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #15667:
URL: https://github.com/apache/echarts/issues/15667#issuecomment-912410954


   https://echarts.apache.org/examples/zh/editor.html?c=line-marker 参考这个例子,改成这样是可以的:
   ```
   markLine: {
       data: [{
           yAxis: 20
       }]
   }
   ```
   但我不知道为什么你的例子不行,再仔细对照一下吧


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