wuba / wuba/react-native-echarts
[REQUEST] echarts.registerLocale has no documented use, so the use of compatible echarts languages are not available
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 967
- Forks
- 35
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
IWhen I try to modify the language of the charts engine using this package because there is no information on how to use the “registerLocale” function from the echarts core library. This makes it challenging to customize the charts for different languages and locales, which is crucial for internationalization.
Describe the solution you'd like
I would like the package to include documentation and support for using the “registerLocale” function from the echarts core library. This feature would allow developers to easily modify the language of the charts engine, enabling internationalization and localization of chart data.
Describe alternatives you've considered
In web projects it is implemented natively, it should have compatibility on this wrapper.
Additional context
Including support for “registerLocale” would greatly enhance the usability of the package for international projects. It would streamline the process of localizing charts, enabling developers to provide a more tailored experience to users in different regions.
Here's the documentation on usage for the official library:
https://echarts.apache.org/en/api.html#echarts.registerLocale
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the official ECharts registerLocale API documentation linked in the issue, then inspect how this React Native wrapper exposes ECharts functionality. Document or support the registerLocale usage for localized charts, with a working example or clear usage instructions as the completion criterion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- documentation, internationalization, mobile
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100