I am working on a site where I am using amcharts4 themes. I have a light and dark theme predefined. However, when someone goes to print in the dark theme, I obviously want to switch from dark to light as to not waste printer ink.
However, I cannot find a way to change the colors, or the theme of the chart that is being printed from the method chart.exporting.events.on("exportstarted", function(ev) { ... });
I am setting the colors for the graph when initialized using if(target instanceof am4core.InterfaceColorSet) making use of target.setFor("grid", am4core.color("#ffffff"). The 'grid' purpose is the one that I want to be changing, alongside the 'text' purpose on print. If there is any way to be changing the grid and text colors on print, I would greatly appreciate any help I could get.
Thanks