echarts-for-react icon indicating copy to clipboard operation
echarts-for-react copied to clipboard

English version not working

Open yonidejene opened this issue 8 years ago • 3 comments

I tried both the CDN version(https://cdnjs.cloudflare.com/ajax/libs/echarts/3.7.2/echarts-en.js) and a custom build with english. I just want to change the tooltips, do you have any recommendations? Thank you! screenshot 2017-12-29 18 36 37

yonidejene avatar Dec 29 '17 15:12 yonidejene

Show me your code, and the webpack config.

hustcc avatar Dec 29 '17 22:12 hustcc

I haven't ejected my app. Is there anyway to do this without modifying the config? Here's how I created the build: node node_modules/echarts/build/build.js --lang en

yonidejene avatar Dec 30 '17 04:12 yonidejene

I found a solution to this. Source: https://codepen.io/nizantz/pen/QqgVmZ

Set your titles manually using toolbox.feature.title

toolbox: { show: true, orient: 'vertical', feature: { dataView: { show: true, title: 'Data View', readOnly: false }, restore: { show: true, title: 'Reset' }, saveAsImage: { show: true, title: "Download" } }, }

rahuls360 avatar Apr 11 '19 05:04 rahuls360