Skip to content
This repository was archived by the owner on Jun 18, 2024. It is now read-only.

Conversation

alextdnreb
Copy link

Overview

Currently, the width of the y-axis only depends on the length of the labels, which is problematic when multiple graphs are stacked vertically.
With this change, I want to implement the functionality for the Max width and Min width fields for the y-axis.

What this PR does / why we need it

This PR extends the calculation of the width for the y-axis. When the user gives a max / min width, the current calculation will be overwritten.
When the y-axis labels are longer than the configured max width, labels will be clipped with "..." and the full label will show on hover.
The issue related to this change is #71

add functionality for `Max width` and `Min width` fields for y-axis

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant