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/08/31 23:31:13 UTC

[GitHub] [echarts] pmadrigal95 commented on issue #16391: [Bug] Radar chart setting the overflow property of the indicator text has no effect

pmadrigal95 commented on issue #16391:
URL: https://github.com/apache/echarts/issues/16391#issuecomment-1233551348

   Hi everyone,
   
   do you know anything about this bug?
   
   I have the same issue on "echarts": "^5.3.3",
   
   const dataBJ = [[55, 9, 56, 0.46, 18, 6, 1]];
   
   const lineStyle = {
       width: 1,
       opacity: 0.5,
   };
   const option = {
       backgroundColor: 'transparent',
       title: {
           text: 'Habilidades de Paqui',
           left: 'center',
           textStyle: {
               color: '#eee',
               fontStyle: 'normal',
               fontFamily: 'Montserrat',
               fontSize: 20,
           },
       },
       radar: {
           indicator: [
               { name: 'Influencia' },
               { name: 'Autonomía', color: '#FFC759' },
               { name: 'Atención al servicio' },
               { name: 'Disponibilidad', color: '#FFC759' },
               { name: 'Precisión' },
               { name: 'Atención focalizada' },
           ],
           shape: 'circle',
           radius: '55%',
           splitNumber: 5,
           axisName: {
               // Color de los labels de las aristas
               color: 'white',
               fontFamily: 'Montserrat',
               overflow: 'truncate',
               ellipsis: '...',
           },
           splitLine: {
               lineStyle: {
                   width: 3,
                   cap: 'round',
                   color: [
                       '#D9D9D914',
                       '#D9D9D914',
                       '#D9D9D914',
                       '#D9D9D914',
                       '#D9D9D914',
                       '#FFC759',
                   ],
               },
           },
           splitArea: {
               show: false,
           },
           axisLine: {
               lineStyle: {
                   color: '#E9E9E9',
                   cap: 'round',
                   join: 'round',
               },
           },
       },
       series: [
           {
               type: 'radar',
               lineStyle: lineStyle,
               data: dataBJ,
               symbol: 'none',
               itemStyle: {
                   color: '#F9713C',
               },
               areaStyle: {
                   opacity: 0.1,
               },
           },
       ],
   };
   
   ![image](https://user-images.githubusercontent.com/23517022/187802527-c7246c5f-9bd9-47a3-bcb6-389bfe26bb0d.png)
   
   


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