You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2019/03/26 16:32:45 UTC

[GitHub] [incubator-echarts] zevero opened a new issue #10167: Pie Chart is not drawing label lines when toggling labels and redrawing

zevero opened a new issue #10167: Pie Chart is not drawing label lines when toggling labels and redrawing
URL: https://github.com/apache/incubator-echarts/issues/10167
 
 
   ### Version
   4.2.1
   
   ### Steps to reproduce
   Pseudocode:
   var option = pie chart with label: {show: false}
   chart = echarts.init(...)
   chart.setOption(option)
   
   all fine ... chart is drawn without labels
   
   now make a new 
   var option_label = pie chart with label: {position: 'outside', show: true}
   and redraw with
   chart.setOption(option_label)
   
   chart is drawn with labels. BUT there are no lines lines to the labels
   
   ### What is expected?
   Labels should be drawn with lines.
   
   ### What is actually happening?
   Labels are drawn without lines
   
   ---
   If the first draw is omitted, lines are drawn just fine.
   
   The other way round first plotting with labels and then plotting without labels will remove the labels, BUT the lines are STILL HERE!
   
   <!-- 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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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