Home » Javascript » Adjusting dimple.js / d3 x-axis labels

Adjusting dimple.js / d3 x-axis labels

Posted by: admin November 1, 2017 Leave a comment

Questions:

I have a dimple.JS chart like the one in the link below. I have 2 questions:

  1. How do I make the years on the x-axis be horizontal instead of
    vertical?

  2. Can I do something about the long x-axis labels that overrun each other? (This would just be a bonus).

The sample dimple.js chart with bugs

Answers: