Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

75
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda