Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt the height of the chart widget depending on the number of selected features #1896

Closed
Terdious opened this issue Sep 24, 2023 · 1 comment
Labels
effort:low Tasks lower than 2 hours to develop enhancement stale

Comments

@Terdious
Copy link
Contributor

First, are you sure that you found a Gladys bug?

If you are not sure, you can come discuss with us on our community, in french or english 🙂

Describe the bug
When you create a chart with legends, the visual part of the chart reduces depending on the number of legends. As a result, we find ourselves from a certain number of legends with a practically illegible graph.

To Reproduce
Steps to reproduce the behavior:

  • On the dashboard, add a “graphics” box
  • Add more than 3 features
  • Record and observe

Expected behavior
Could we fix the part without legend, and enlarge the box according to the number of legends, or at least set a minimum value of graph height allowing reading (the minimum being that with 3 legends. From 4 this becomes perhaps legible.

Screenshots
Example with 5 captions:
image

Example with 3 legends:
image

Without caption:
image

Your Gladys installation (please complete the following information):

  • Raspberry Pi 4 Modèle B - SSD 512Go

Desktop (please complete the following information):

  • OS: Microsoft Windows 10 Professionnel x64
  • Chrome
  • Version 116.0.5845.188 (Build officiel) (64 bits)
@Pierre-Gilles Pierre-Gilles changed the title Fix the height of the graphic part of a graphic box Adapt the height of the chart widget depending on the number of selected features Sep 25, 2023
@Pierre-Gilles Pierre-Gilles added enhancement effort:low Tasks lower than 2 hours to develop labels Sep 25, 2023
Copy link

stale bot commented Nov 24, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 24, 2023
@stale stale bot closed this as completed Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort:low Tasks lower than 2 hours to develop enhancement stale
Projects
None yet
Development

No branches or pull requests

2 participants