DmitriyKondratyuk opened a new issue, #17941:
URL: https://github.com/apache/echarts/issues/17941

   ### Version
   
   5.3.0+
   
   ### Link to Minimal Reproduction
   
   https://jsfiddle.net/nfaq68L2/
   
   ### Steps to Reproduce
   
       legend: {
             type: 'scroll',
             orient: 'vertical',
             right: '10%',
             top: 'middle',
             data: chartData,
             textStyle: {
               width: 300,
               overflow: 'break',
               verticalAlign: 'middle',
             },
   
   ### Current Behavior
   
   When I use ukraine language "overflow: 'break'" for pie series legend breaks 
by character instead of by word. For example word "цвітуть" must be at new line 
but on new line character "ь". When I use english language words breaks correct.
   
![telegram-cloud-photo-size-2-5456387265736589518-y](https://user-images.githubusercontent.com/13381209/202792560-af4a3c71-60e3-4784-8a35-527b94a29077.jpg)
   
   
   ### Expected Behavior
   
   overflow: 'break' for pie series legend should break by word.
   
   ### Environment
   
   ```markdown
   - OS: Mac
   - Browser: Chrome
   - Framework: React
   ```
   
   
   ### Any additional comments?
   
   _No response_


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