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 2020/12/16 09:06:16 UTC

[GitHub] [incubator-echarts] kechen123 commented on issue #13826: 折线图设置label的position错乱

kechen123 commented on issue #13826:
URL: https://github.com/apache/incubator-echarts/issues/13826#issuecomment-745955340


   > Version
   > 5.0.0
   > 
   > Steps to reproduce
   > 
   > ```
   > option = {
   >     xAxis: {
   >         type: 'category',
   >         data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
   >     },
   >     yAxis: {
   >         type: 'value'
   >     },
   >     series: [{
   >         data: [820, 932, 901, 934, 1290, 1330, 1320],
   >         type: 'line',
   >         itemStyle:{
   >             normal:{
   >                 label:{
   >                     show:true,
   >                     position:'insideTopRight'
   >                 }
   >             }
   > 
   >         }
   >     }]
   > };
   > ```
   > 
   > What is expected?
   > insideLeft 内左
   > insideRight 内右
   > insideTop 内上
   > insideBottom 内下
   > insideTopLeft 内左上
   > insideBottomLeft 内左下
   > insideTopRight 内右上
   > insideBottomRight 内右下
   > 
   > What is actually happening?
   > insideLeft 内右
   > insideRight 内左
   > insideTop 内下
   > insideBottom 内上
   > insideTopLeft 内右下
   > insideBottomLeft 内右上
   > insideTopRight 内左下
   > insideBottomLeft 内左上
   
   


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



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