gzamann commented on issue #19456:
URL: https://github.com/apache/echarts/issues/19456#issuecomment-5390677963

   @helgasoft it would require seeing the chart and hardcoding width for each 
series manually
   
   this is what worked for me
   ```
   labelLayout: (params) => {
                       const labelWidth =  params.labelRect.width
                       const barWidth =  params.rect.width
                       const hideLabel = labelWidth >= barWidth
                       if (hideLabel) return { width: 0 }
                       return {}
                   },
   ```


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