I've been exploring Morris.js for creating charts, which relies on SVG to generate graphs. I've shared a JSbin setup here: JSbin example
One challenge with Morris.js is the X-Axis labels disappearing when they are too large. Adjusting the size of the div container and font size didn't provide a fixed solution as the labels are user-specific. It would be ideal to have the text wrapped instead. How can this issue be addressed?
Morris.js utilizes the following code snippet to create the text
svg element.
this.raphael.text(xPos, yPos, text).attr('font-size', '11').attr('font-family', 'calibri').attr('fill', this.options.gridTextColor);