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

175
Visualizações
Setting a chart.js Scale Min as the Y-Axis Bottom Ticker minus the Generated Step Size

Suppose I have a chart.js chart with no stepSize so the y-axis ticker values are generated as below based on my data as an example:

enter image description here

How can I insert a new bottom ticker by setting the scale min value to the generated bottom ticker minus the generated step to achieve the result below? (Here the step generated by chart.js was 200, subtract it from the bottom ticker of 2,200 to get 2,000 and set the min value to that.)

enter image description here

Note adding a grace doesn't achieve the effect I'm looking for.

chart config:

scales: {
   A: {
      min: //How to set this to lowest tick minus step?
   }
}
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