Skip to content
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

Export beautiful graphics #18858

Open
bennostaub1 opened this issue Feb 28, 2022 · 8 comments
Open

Export beautiful graphics #18858

bennostaub1 opened this issue Feb 28, 2022 · 8 comments
Labels
c: Graphs and charts For bugs and features related to functional graphs & charts. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Comments

@bennostaub1
Copy link

The graphics (this concerns all graphs, pie charts, etc.) should be exportable in a much higher resolution, e.g. as PNG. The current resolution of the graphics is insufficient even for a PowerPoint presentation. The axis labels also need optimization - the subdivisions are often anything but intuitive for both time axes and Y-axes, which makes it difficult to interpret the data and thus communicate the results. Ideally, one should additionally be able to predefine personal color combinations (for the purpose of alignment with a company CI) and preferred aspect ratios (a disproportionately wide graphic often appears in large view).

@Findus23
Copy link
Member

Findus23 commented Feb 28, 2022

Just to be sure?
Are you referring to the plots in the Matomo UI or the ones in the E-Mail report?
In the former case, this might be a matter of #4969

@bennostaub1
Copy link
Author

bennostaub1 commented Feb 28, 2022 via email

@atom-box
Copy link

atom-box commented Mar 2, 2022

Problem: When a user clicks on the Export as Image, a div that is maybe 300px x 90px appears sometimes (see below screenshot). It's really tiny. And it doesn't stretch well when copy/pasted.

Solution: Render that image as nearly full screen, in the HTML or CSS can we just say something like <img width=90%> or width=1200px or similar? In CSS at least I know that makes the resolution more crisp when copied and pasted.

exported-image-is-very-low-resolution

Right now, users are copying this 300px image and pasting it and stretching the low resolution image.

Maybe this could be a very quick remedy, while we wait for the #4969 issue of a new visualization library?

@sgiehl
Copy link
Member

sgiehl commented Mar 3, 2022

@atom-box The image is always shown in the size it was displayed before. On the dashboard you can maximize the widget before. That way also the export should be bigger.

@atom-box
Copy link

atom-box commented May 23, 2022

Does maximize mean the same as zoom? If I zoom, the modal centers itself on an overflowed container div, I think:
image

Just got another comment on this. A user writes what they would most like to see changed about Matomo:

"Possibility of making BEAUTIFUL personalized reports: with or without graphs for EACH table, limit the number of table rows, customize the presentation, the graph instead of the standard 28-page reports!"

@atom-box
Copy link

atom-box commented May 23, 2022

Is 18942
related? "More beautiful reports with 100% width"

@mJ25-fr
Copy link

mJ25-fr commented May 24, 2022

"Beautifull report" doesn't mean "100%". It means i'd like to create a periodical PDF report with a graphic or a simple table for EACH table i want in the report, chose what kind of graphic, define the number of lines in a table report, ... Something a bit more "userfriendly"

@atom-box
Copy link

The image is always shown in the size it was displayed before.

Could we just default to 90% full width? Technically it is easy. Is there any downside though?

@michalkleiner michalkleiner added Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. c: Graphs and charts For bugs and features related to functional graphs & charts. labels Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Graphs and charts For bugs and features related to functional graphs & charts. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

7 participants