patrykandpatrick / vico

A light and extensible chart library for Android.
https://patrykandpatrick.com/vico/wiki
Apache License 2.0
2.08k stars 125 forks source link

AxisVertical: Inner Top label on position 0 #679

Closed Antiglobalist closed 3 months ago

Antiglobalist commented 4 months ago

Display the first label vertically within if the VerticalLabelPosition is set to Top.

Example of the required Chart image

After applying the styles and with this change image

Gowsky commented 3 months ago

Hello @Antiglobalist, thank you for your contribution. We've identified some problems with the approach you've chosen:

  1. Incompatibility with top axis.

    image

  2. There's also the opposite problem with VerticalLabelPosition.Bottom. 15 should be displayed here, so the fix works both ways.

    image

This fix would have to be rewritten, so it's more universal. Would you be interested?