Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

79
Views
Amcharts4 Changing purposes from front end

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

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!