mahendrapaipuri / grafana-dashboard-reporter-app

A Grafana plugin app to create PDF reports of dashboards
Apache License 2.0
46 stars 4 forks source link

Report panel element sizing issue #92

Open Adrian-LSY opened 2 weeks ago

Adrian-LSY commented 2 weeks ago

Hi, I've noticed a small issue with the pdf generation in a grid layout, refer to the pdf below

report.pdf

The right-most panels are always scaled down slightly compared to the panels towards the left.

I'm currently on plugin v1.4.1, Grafana v10.3.4

mahendrapaipuri commented 2 weeks ago

Hello @Adrian-LSY, could you please share the dashboard JSON model so that I can try to reproduce it? Cheers

Petorus commented 1 day ago

Hi @mahendrapaipuri,

i encount the same issue. Without any change on dashboard, i see change on panels size. The change arrived between 28/08 and 29/08

I try to update your plugin and/or image-renderer, without any effect.

You can see the report as like i want in file 'good_report'. In file 'bad_report', you can see the report like is now generated good_report.pdf bad_report.pdf

I attach the dashboard JSON Model : Meteo de la plateforme de Production-1726219113108.json

I'm currently running this version

mahendrapaipuri commented 1 day ago

Cheers @Petorus

Your reports and dashboard model are very helpful. I clearly see the problem here. I ll try to debug it and push a fix ASAP.

We have refactored the plugin a lot recently and so, there are few regressions. I hope to fix it soon!!