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 2020/04/09 00:36:13 UTC

[GitHub] [incubator-echarts] BrianGilbert removed a comment on issue #7451: Switching Language?

BrianGilbert removed a comment on issue #7451: Switching Language?
URL: https://github.com/apache/incubator-echarts/issues/7451#issuecomment-611260206
 
 
   it would be great if there was a config item for lang switching, you could even leave the default as chinese.. an example of this proposal that would define to use EN translations:
   
   ```
   option = {
       lang: 'EN',
       xAxis: {
           type: 'category',
           data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
       },
       yAxis: {
           type: 'value'
       },
       series: [{
           data: [120, 200, 150, 80, 70, 110, 130],
           type: 'bar',
           showBackground: true,
           backgroundStyle: {
               color: 'rgba(220, 220, 220, 0.8)'
           }
       }]
   };
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org