balancednetwork / balanced-network-info

ℹ️ Balanced network analytics.
https://stats.balanced.network
MIT License
0 stars 0 forks source link

Dynamic Y axis for charts #151

Closed hetfly closed 1 year ago

hetfly commented 1 year ago

close #150

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
balanced-network-info ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 4, 2023 8:50am
parrot9design commented 1 year ago

Can we remove the bottom value from the y-axis to prevent it from clashing with the dates?

Screenshot 2023-04-04 at 12 48 35 PM

It seems to happen on most chart configurations, but this one has a good balance:

Screenshot 2023-04-04 at 12 51 45 PM

While we're here, let's also adjust the font size and colour for the y-axis values to keep them consistent with the x-axis.

hetfly commented 1 year ago

I don't think we should remove the bottom value since on lower Y axis resolutions we could be removing one of three ticks, for example. But there is a padding now set for the Y axis, that should take care of the spacing issue.