apache / apache/echarts

[Feature] Can we freely decide between thousandSeparator and decimalSeparator?

Open
#18,707 7 comments 0 reactions 0 assignees View on GitHub
en new-feature pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### What problem does this feature solve?

I am a developer serving the Brazilian market, where thousandSeparator is '.' , decimalSeparator is ',', now it is possible to use formatter to reach the target, but it is not possible to configure it globally, which is a pain

https://github.com/apache/echarts/blob/master/src/util/format.ts#L32

### What does the proposed API look like?

const opts = {
formatterConfig: {
thousandSeparator: ',',
decimalSeparator: '.',
},
}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.