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

130
Visualizações
Ticks values don't show correctly chart js

I have these options on my code and I'm using chart js

 options: {
                scales: {
                  x: {  
                     min: 1,
                      ticks: {
                          stepSize: 0.3
                      }
                   },
                  y: {  
                  min: 1,
                    ticks: {
                        stepSize: 0.1
                    }
                   }
                    },
}

When the chart renders, the first step size on the X axis is 1.2 instead of 1.3... but the rest of them step by 3.. so for example on the X axis I have 1.0, 1.2, 1.5, 1.8, 2.1.. But I need 1.0, 1.3, 1.6... I have read the doc of chart js and that's the way to change the ticks, but is not working with those values... Does anyone know why? Is it an issue unresolved by Chart Js?

Thank you

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