Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

295
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!