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

Add a colour background property to PDF generation report #16209

Open
Chardonneaur opened this issue Jul 14, 2020 · 0 comments
Open

Add a colour background property to PDF generation report #16209

Chardonneaur opened this issue Jul 14, 2020 · 0 comments
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Comments

@Chardonneaur
Copy link

Hi there,
Some people are using Google Data Studio to generate pdf reports, one of them has a black background which make this report very popular.

Within Matomo you can set a lot of colors though not the one of the background, if you have a look at this file:

const DEFAULT_REPORT_FONT_FAMILY = 'dejavusans';
const REPORT_TEXT_COLOR = "13,13,13";
const REPORT_TITLE_TEXT_COLOR = "13,13,13";
const TABLE_HEADER_BG_COLOR = "255,255,255";
const TABLE_HEADER_TEXT_COLOR = "13,13,13";
const TABLE_HEADER_TEXT_TRANSFORM = "uppercase";
const TABLE_HEADER_TEXT_WEIGHT = "normal";
const TABLE_CELL_BORDER_COLOR = "217,217,217";
const TABLE_BG_COLOR = "242,242,242";

you will see that it isn't there.

-> Would it be possible to implement it?

Thank you,

@tsteur tsteur added the Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. label Jul 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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

3 participants