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 2022/10/13 09:00:34 UTC

[GitHub] [echarts] echarts-bot[bot] commented on issue #17763: [Bug] 使用Vue3渲染雷达图,控制台出现The ticks may be not readable

echarts-bot[bot] commented on issue #17763:
URL: https://github.com/apache/echarts/issues/17763#issuecomment-1277275227

   @LeeYuze It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **TITLE**
   
   [Bug] Using Vue3 to render a radar map, The ticks may be not readable appears on the console
   
   **BODY**
   
   ### Version
   
   5.4.0
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   {
       tooltip: {
         trigger: 'axis',
         axisPointer: {
           // Coordinate axis indicator, the axis trigger is valid
           type: 'shadow' // default is straight line, optional: 'line' | 'shadow'
         }
       },
       radar: {
         radius: '50%',
         center: ['50%', '42%'],
         splitNumber: 8,
         splitArea: {
           areaStyle: {
             color: ['rgba(127,95,132,.3)'],
             opacity: 1,
             shadowBlur: 45,
             shadowColor: 'rgba(0,0,0,.5)',
             shadowOffsetX: 0,
             shadowOffsetY: 15
           }
         },
         indicator: [
           { name: 'Sales', max: 10000 },
           { name: 'Administration', max: 20000 },
           { name: 'Information Technology', max: 20000 },
           { name: 'Customer Support', max: 20000 },
           { name: 'Development', max: 20000 },
           { name: 'Marketing', max: 20000 }
         ]
       },
       legend: {
         left: 'center',
         bottom: '10',
         data: ['Allocated Budget', 'Expected Spending', 'Actual Spending']
       },
       series: [
         {
           type: 'radar',
           symbolSize: 0,
           areaStyle: {
             shadowBlur: 13,
             shadowColor: 'rgba(0,0,0,.2)',
             shadowOffsetX: 0,
             shadowOffsetY: 10,
             opacity: 1
           },
           data: [
             {
               value: [5000, 7000, 12000, 11000, 15000, 14000],
               name: 'Allocated Budget'
             },
             {
               value: [4000, 9000, 15000, 15000, 13000, 11000],
               name: 'Expected Spending'
             },
             {
               value: [5500, 11000, 12000, 15000, 12000, 12000],
               name: 'Actual Spending'
             }
           ],
           animationDuration: 3000
         }
       ]
     }
   
   ### Current Behavior
   
   Use vue3 to render the radar chart, the console will appear ⚠️The ticks may be not readable when set min: 0, max: 10000 and alignTicks: true
   Using the official example will also appear
   
   ### Expected Behavior
   
   How do I fix it?
   
   ### Environment
   
   ````markdown
   - OS:
   - Browser:
   - Framework:
   ````
   
   
   ### Any additional comments?
   
   _No response_
   </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-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