New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom report/PDF generation #42

Closed
edgariscoding opened this Issue Jul 19, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@edgariscoding

edgariscoding commented Jul 19, 2018

It'd be awesome if we had the choice or option to export a snapshot of the data displayed as a PDF.

I'd like to send the report to my home warranty company because they sent a tech out and he claims to have fixed our AC but it has been running for 19 hours without cooling the house a single degree.

This would be useful

EDIT: Just noticed the download button for each chart! Nice, but it'd be awesome if we could download the entire report 😛

@ziebelje ziebelje added the 💡 Idea label Jul 19, 2018

@ziebelje

This comment has been minimized.

Owner

ziebelje commented Jul 19, 2018

Exporting a full website as a PDF is a somewhat tricky technical endeavor. It basically requires you to render the entire website on the server, then take a screenshot of it. There's no way to do it natively in a web browser.

Regardless, I'll mill this one over. Maybe something has changed lately.

Your options at present are:

  1. Download each individual chart (as you've seen)
  2. Print the website to a PDF
  3. Use a browser extension like Full Page Screen Capture which has the ability to screenshot the entire page and export as a PDF.
@ziebelje

This comment has been minimized.

Owner

ziebelje commented Aug 1, 2018

I'm going to no to just generically exporting the dashboard as a PDF document for a few reasons:

  1. There are third party options as mentioned above
  2. It's not trivially possible with JavaScript to do this. The available ways to do this get weird fast
  3. The dashboard may transform in the future to something a bit different that would not be suited to a full page export
  4. I don't believe this would be a highly utilized feature

I'm going to keep this issue open, though, as I still like the idea of being able to export reports of some kind. Maybe you're having thermostat issues and you want to print out a customized report for some specific date range or something. I'll keep this as a low priority idea for now.

@ziebelje ziebelje changed the title from Export as PDF to Custom report/PDF generation Aug 1, 2018

@ziebelje

This comment has been minimized.

Owner

ziebelje commented Oct 17, 2018

I've decided not to pursue this further. The individual graph exports make it relatively easy to share the data where necessary. The third party options handle the uncommon use case of exporting the entire page. I cannot think of any use case for exporting customized reports of any sort that would be worth the effort.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment