Nicola1971 / Analytics4Evo

Google Analytics for Evolution
1 stars 1 forks source link

[PageAnalytics4Evo] Charts width 100% works only on refresh #1

Closed Nicola1971 closed 6 years ago

Nicola1971 commented 6 years ago

loading the edit document page on another tab, when you switch to Analytics tab, charts are not at 100% of container width.

refresh fix the size

note: chart width is hardcoded from api at 300-350px

Nicola1971 commented 6 years ago

partially fixed with https://github.com/Nicola1971/Analytics4Evo/commit/90ca53c919cc9be35a3d4b767911c40922729267 now charts resize on windows resize event

Need to fix chart width on load with Tab Pane (WebFX)

Nicola1971 commented 6 years ago

😃 Finally Fixed with https://github.com/Nicola1971/Analytics4Evo/commit/350013372f267d5d074308f6f932ef27d4d507ab

Now click on Analytics Tab H2, redraw the charts. it's a bit of a trick, but seems solve issue 😄