Phpmyadmin: Bar graph has fixed height

Created on 20 Apr 2018  Â·  3Comments  Â·  Source: phpmyadmin/phpmyadmin

Steps to reproduce

  1. Generate a bar graph with 100+ rows

Expected behaviour

Height of the canvas is automatically adjusting: https://snag.gy/ux2YKU.jpg

Actual behaviour

Height of the canvas is fixed: https://snag.gy/MaYHrc.jpg

Server configuration

phpMyAdmin version: 4.6.6

Client configuration

Browser: Chrome (last version)

Operating system: Windows 10

The culprit is div #querychart having fixed height 384px.

enhancement

Most helpful comment

While this definitely can be resized manually, I think we should leave this enhancement open to see if we can improve how this is rendered when a user selects to display an excessive number of rows.

Perhaps it can automatically reformat or we can provide a button to "resize visualization" or something.

All 3 comments

Probably you didn't notice but this div can be resized, see the bottom right corner. You'll see a small triangle, click and drag. If it isn't in your version. You should consider updating your software.

While this definitely can be resized manually, I think we should leave this enhancement open to see if we can improve how this is rendered when a user selects to display an excessive number of rows.

Perhaps it can automatically reformat or we can provide a button to "resize visualization" or something.

@ibennetch, Just a suggestion, Now we can even shift to plotly.js for making Graphs of all kind, and as it provides a user with lots of options it can be a great choice. But the only problem is it will require some Major Code Changes in Chart.js file.
Have a look at it https://plot.ly/javascript/

Was this page helpful?
0 / 5 - 0 ratings

Related issues

KDCinfo picture KDCinfo  Â·  3Comments

patsib picture patsib  Â·  3Comments

ChrisHSandN picture ChrisHSandN  Â·  3Comments

AlexeyKosov picture AlexeyKosov  Â·  3Comments

svivian picture svivian  Â·  3Comments