Morning
Good Morning!
Morning.
π
Morning
I'm working with a Chartist JS Graphing library that is attempting to render a label for every single X axis point, and they are therefore all overwriting each other, I'm to make it a bit more reactive, and so I'm wondering if I can use http://www.w3schools.com/Tags/canvas_measuretext.asp to measure the full width of all text, divide by the width of the svg frame and keep only that proportion of labels β’ Do any of you have experience doing this sort of thing'? β’ Any suggestions?
Oh of course I would need a Canvas in order to use measureText() which would seem a shame given that I'm really using SVG
ooh maybe
SVGTextContentElement.getComputedTextLength()
is-the-one-that-i-wantooh ooh ooh
morning
Mornβ =)β¦