Ovilia commented on issue #10149: axisPointer动画无法关闭 或手段不明、配置文档不清晰
URL: 
https://github.com/apache/incubator-echarts/issues/10149#issuecomment-476496186
 
 
   Hi, I found this is a doc problem rather than a bug. Please use 
`tooltip.axisPointer.animation: 0` to disable the animation.
   
   ```
   option = {
       title: {
           text: 'Awesome Chart'
       },
       xAxis: {
           data: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']
       },
       yAxis: {},
       tooltip: {
           triggerOn: 'click',
           trigger: 'axis',
           transitionDuration: 0,
           show: true,
           axisPointer: {
               type: 'shadow',
               animation: 0,
           }
       },
       series: [{
           type: 'line',
           data: [220, 182, 191, 234, 290, 330, 310]
       }]
   };
   ```

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to