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

308
Visualizações
x-axis line doesnot stretch for entire graph (svg graph)

I have a stacked barchart on codepen

If you notice the x-axis of the chart, it only is available for half of the barchart. Any change i do, the line does not extend till the end of the barchart.

screenshot

enter image description here

This is the code which affects the x-axis line of the graph

 <g class="grid y-grid" id="yGrid">
     <line x1="90" x2="1505" y1="490" y2="490"></line>
 </g>

I tried changing the x2 value to a higher value but no effect.

There is one more thing i am trying to achieve. Its the x coordinates and y-coordinates for the entire graph as we have in below example. Can someone please shed some light on how to get this on the graph

enter image description here

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