kelp-harshal opened a new issue, #19616:
URL: https://github.com/apache/echarts/issues/19616

   ### What problem does this feature solve?
   
   get full view of labels which are now truncated
   
   ### What does the proposed API look like?
   
   {
         gridIndex: index,
         show: index === 0,
         position: 'top',
         type: 'category',
         data: this.graphData.map((item: ISourcingGraphView, i: number) => {
           return {
             value: i,
             textStyle: {
               overflow: 'truncate',
               width: item['show_group_by'] ? item['group_width'] : 0,
               tooltip: item['tooltip']
             },
           };
         }),
         alignTracks: false,
         axisLabel: {
           show: true,
           position: 'top',
           interval: 0,
           formatter: (value: number) => {
             const showGeo = Boolean(this.activeGraphType?.showGeo);
             return showGeo
               ? this.graphData[value as number]['geography_code']
               : this.graphData[value as number]['show_group_by']
               ? this.graphData[value as number]['group_by']
               : '';
           },
         },
         axisLine: {
           onZero: true,
         },
         axisTick: {
           show: false,
         },
       }


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

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to