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

182
Visualizações
AmCharts5: How to change the x axis label and tooltip using a DateAxis?

With the amcharts4 I do something like this for the change tooltip and label text for the x axis with the CategoryAxis...

// change tooltip
this.xAxis.adapter.add("getTooltipText", (text, target) => {
    const value = text ? parseInt(text) : -1;
    return this.getAxisToolTipText(value);
});

// change label
this.xAxis.renderer.labels.template.adapter.add("text", (text, target) => {
    const value = target.dataItem && target.dataItem.category ? parseInt(target.dataItem.category) : -1;
    return this.getAxisText(value, text);
});

But now, how to do the same for the Amcharts5 with DateAxis?

I will appreciate any suggestions.

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