node-red-dashboard icon indicating copy to clipboard operation
node-red-dashboard copied to clipboard

Sizing of bar chart in IE

Open Roger53 opened this issue 7 years ago • 7 comments

Hi,

Love your work 👍

Problem with the bar charts are not sized correctly on opening in IE, while edge and Ff are ok Versions [info] Node-RED version: v0.19.3 [info] Node.js version: v10.9.0 [info] Linux 4.11.12-sun8i arm LE [info] Dashboard version 2.9.8 started at /ui

page has 7 almost similar bar charts, top 3,4 sometimes up to 5 have the problem, bottom look right Something with timimg ?

IE. image After refresh it looks same as below, so just when opening it is too small

Edge and FF image

Roger53 avatar Sep 12 '18 14:09 Roger53

must be a subtle timing issue. Suspect it will be hard to track down especially as I don't use IE11 :-)

dceejay avatar Sep 12 '18 14:09 dceejay

Any suggestion, how I could add a small delay ? in template perhaps ?

Roger53 avatar Sep 12 '18 16:09 Roger53

possibly use ui_control to reload the same tab ?

dceejay avatar Sep 12 '18 23:09 dceejay

Can you help me with some code ? I am not an expert, but if we can find a simple workaround, that is ok.

Roger53 avatar Sep 19 '18 13:09 Roger53

Upgrade to 2.9.9-beta changed this a little bit;

Now only my first graph is small, so timing is changed almost enough to solve my graph issue :-)

Roger53 avatar Sep 19 '18 13:09 Roger53

maybe add another dummy graph :-) (not being serious...)

dceejay avatar Sep 19 '18 14:09 dceejay

:-)

Roger53 avatar Sep 19 '18 14:09 Roger53