I'd like to show the credits on HighCharts image export, but not on the web page display.
If I use CSS to hide the credits on the page, the credits should still show when the image is exported to jpg, png I think.
Is this correct?
If so, can you help me identify the correct CSS reference? I can see .highcharts-credits using my browser tool, but that's all. I think there must be a longer reference, perhaps .highcharts-root or something like that.
Can you tell me the correct CSS identifier so I can add some CSS to hide the credits only on the page view, not when the image is exported?
Unfortunately export tools are based on 3rd party HTML5 library so there are some limitations for the exporting.
Generated PDF, XLS, CSV are not customizable. Unfortunately the library does not allow much of “fine-tuning” of the generated files, so font, size, and other properties cannot be changed.
It's ok, I've figured out how to do it myself. I'll post it here publicly in case someone else would like to use it.
.highcharts-credits{ display: none; }
This hides the credits text on the web page, but it still includes the credits in the exported image. That's what I wanted. It was the web page display I wanted to customize, not the image export.
Hi,
I'd like to show the credits on HighCharts image export, but not on the web page display.
If I use CSS to hide the credits on the page, the credits should still show when the image is exported to jpg, png I think.
Is this correct?
If so, can you help me identify the correct CSS reference? I can see .highcharts-credits using my browser tool, but that's all. I think there must be a longer reference, perhaps .highcharts-root or something like that.
Can you tell me the correct CSS identifier so I can add some CSS to hide the credits only on the page view, not when the image is exported?
Thanks and regards
Hi Aidan,
Thank you for your purchase.
Unfortunately export tools are based on 3rd party HTML5 library so there are some limitations for the exporting. Generated PDF, XLS, CSV are not customizable. Unfortunately the library does not allow much of “fine-tuning” of the generated files, so font, size, and other properties cannot be changed.
You can find more information in our documentation.
Also the export tools will only display the visible parts of the table or chart.
Best regards
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
It's ok, I've figured out how to do it myself. I'll post it here publicly in case someone else would like to use it.
.highcharts-credits{
display: none;
}
This hides the credits text on the web page, but it still includes the credits in the exported image. That's what I wanted. It was the web page display I wanted to customize, not the image export.
Regards
Hi Aidan,
Thank you for sharing your solution with us.
I will note this one.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables