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

williamdes picture williamdes  路  3Comments

mauriciofauth picture mauriciofauth  路  3Comments

barkermn01 picture barkermn01  路  3Comments

viking1972 picture viking1972  路  3Comments

patsib picture patsib  路  3Comments