-
Notifications
You must be signed in to change notification settings - Fork 19.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Created English version of echarts-all.js file, would like to contribute file to ECharts #2321
Comments
thanks |
ty |
thanks, very helpful |
Is there a future roadmap to support multiple languages through global default options? |
Thanks a lot. Save a lot of hours of work! |
I would love multiple languages (translatable strings or a simple JS associative array). |
How do I add it to the library, it doesn't seem to work for me |
@EgleKat Copy the theme JS file(s) into the folder called "theme." Make sure the name of the theme is added to the chart code (2 places). |
Hello. I just tried this last night and its working however, my color scheme went away and was replaced with pinks and blues and I'm not sure how to adjust this. I'm new to echarts so i most likely missed something small. Can anyone help? |
Hi @zherman91 - it's hard to figure out what is causing the problem without seeing your code. But it could be a problem with the line of JS code where you add the theme. For example the default code is this:
If you want to add a theme, then the code would be something like this:
I'm assuming you're using ECharts version 2 in this case. The themes for ECharts 3.0 are installed differently. There are separate JS files for the themes in version 3. |
@zherman91 check what theme you are using. I am pretty sure it's the theme that is causing the colors. |
BTW @WebCodePro719 , we've been using your english version in our internal environments for almost a year now and it's still going strong. Thanks again! |
@WebCodePro719 - Thanks so much for the reply! I will give this a shot but I'm pretty sure that's what i was missing. Thanks again! |
1 similar comment
@WebCodePro719 - Thanks so much for the reply! I will give this a shot but I'm pretty sure that's what i was missing. Thanks again! |
@annjawn that's great to hear - I'm glad this file has been helpful. |
@zherman91 No problem, I hope you figure it out. |
Translated version 4.2.0-rc.2 |
Hi, many thanks for this file. I'm loading the provinces of a country, to be drawn. It work with any other echarts.js file (non translated). I tried to add the function with no luck. Thanks! |
Hello, I've created an English version of the echarts-all.js file and would like to contribute it to the ECharts GitHub repository. Using Google Translate, I've translated the chart tooltips and title tags to English. I've also included some additional themes in the echarts-all.js file (the original file only includes default, infographic and macarons themes). If you find that this updated echarts-all.js file is helpful, perhaps it could be made available for download along with the original Chinese version. I've also included a couple bar chart examples in the zip. I wasn't sure if I should make a pull request to submit this to ECharts since the changes are significant. I really like ECharts, thanks for making it open source. Hopefully this English version of echarts-all.js file is helpful.
EChartsAll-English.zip
The text was updated successfully, but these errors were encountered: