Wednesday, January 11, 2012

how to create vertical table heading text with html5 canvas?


Does anyone know if it's possible to create vertical text in a html5 canvas and then have the canvas resize to the content?



I've seen posts about adding text and rotating it but don't know how to have the canvas resize automatically to it afterwards.



Here is a link to a page with one of the tables: here



I basically want to replace the top headings with vertical text in different canvases. The team names need to be dynamic and I'd rather not have them generated as jpg's.



Thanks!

No comments:

Post a Comment