jiawulin001 edited a comment on issue #16776:
URL: https://github.com/apache/echarts/issues/16776#issuecomment-1084035244


   Hi, as tested, if you move `grid.tooltip.axisPointer` out of tooltip and put 
it at `grid.axisPointer`, no errors would occur. The reason why the error would 
occur needs further debug.
   <details>
   <summary>Code Sample</summary>
   
   ```
   option = {
     title: {
       text: 'Basic Radar Chart'
     },
     legend: {
       data: ['Allocated Budget', 'Actual Spending']
     },
     radar: {
       // shape: 'circle',
       indicator: [
         { name: 'Sales', max: 6500 },
         { name: 'Administration', max: 16000 },
         { name: 'Information Technology', max: 30000 },
         { name: 'Customer Support', max: 38000 },
         { name: 'Development', max: 52000 },
         { name: 'Marketing', max: 25000 }
       ]
     },
     series: [
       {
         name: 'Budget vs spending',
         type: 'radar',
         data: [
           {
             value: [4200, 3000, 20000, 35000, 50000, 18000],
             name: 'Allocated Budget'
           },
           {
             value: [5000, 14000, 28000, 26000, 42000, 21000],
             name: 'Actual Spending'
           }
         ]
       }
     ],
     tooltip: {
         show: true,
         trigger: "item",
         axisPointer: {
           "type": "line",
           "animation": false
         },
         "confine": false,
         "appendToBody": true,
         "extraCssText": "max-height: 400px; overflow-y: scroll;z-index:100"
     },
     xAxis: [{
       data: ['a','c']
     }],
     yAxis: [{
       data: ['b','d']
     }],
     grid: [{
         show: true,
         axisPointer: {
             type: 'cross'
           },
         tooltip: {
           show: true,
           trigger: 'item',
           
         },
       }
     ], 
   };
   ```
   </details>


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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

Reply via email to