tremorlabs / tremor

React components to build charts and dashboards
https://tremor.so
Apache License 2.0
15.39k stars 446 forks source link

[Feature]: How to format x-axis? #1008

Closed sujjeee closed 1 month ago

sujjeee commented 1 month ago

What problem does this feature solve?

This is view of my chart image

how i can format the x-axis dates ??

like i want Mar 12 .... Mar18 ...

we can format y axis but format x axis ? why??

What does the proposed API look like?

No response

severinlandolt commented 1 month ago

Hi! You would have to create your own formatting function that is applied to the data set before you pass it to the AreaChart. Let me if you need help with that, thanks!

sujjeee commented 1 month ago

@severinlandolt thanks for reply :)

yeah manage to make it work image