I'm working on the SVG assignment and I'm trying to rotate my text so that I can label the y-axis in my bar graph and have the label go along the line. What I have is this:
<text x="290" y="250" text-anchor="middle" transform="rotate(90)">Areas in Square Miles</text>
When I do this, the text doesn't show up, but when I take out the transform attribute, it does. What am I doing wrong?
Never mind, I was able to figure it out! I forgot to specify what point I wanted to rotate the text along, so I needed to say transform="rotate (90 290,250)".
I'm working on the SVG assignment and I'm trying to rotate my text so that I can label the y-axis in my bar graph and have the label go along the line. What I have is this:
When I do this, the text doesn't show up, but when I take out the transform attribute, it does. What am I doing wrong?