f5 / unovis

Modular data visualization framework for React, Angular, Svelte, Vue, and vanilla TypeScript or JavaScript
https://unovis.dev
Apache License 2.0
2.23k stars 43 forks source link

Scientific Notation #218

Closed pietz closed 1 year ago

pietz commented 1 year ago

I'm currently dealing with large numeric values which results in charts like this:

Screenshot 2023-06-02 at 08 59 32

I'm creating a workaround for it now, but you might want to consider including a scientific notation setting in the charts, which can be used to reduce the span of large numeric values.

rokotyan commented 1 year ago

We allow users to format the ticks according to their preference by providing a formatting function via the tickFormat config property. Additionally, you can enable wrapping and trimming for labels to make them fit better.