Quoting Pascal Sancho <[EMAIL PROTECTED]>:

Hi Jake,

This seems to be a specific svg question.
You should ask it in a svg list.

Oh, yeah, of course. That would be the batik mailing list. Sorry, I didnt even think :)

However, You can use this:
<svg:text x="..." y="..." text-anchor="end">...</svg:text>

In a left-to-right context, your x coordinate corresponds to the right
edge of the text box.
You can then easily locate your chart.

Pascal

I will have a play with this, thanks :)

Jake


-----Message d'origine-----
De : Jake Briggs [mailto:[EMAIL PROTECTED]

I have a little problem. I need to draw a barchart in svg, imbedded in

fo which is produced in xsl. The problem is, how do i know where to
draw the y axis?
What i mean is, If i want numbers on the left side of the axis thus :
     |
15 |
10 |
  5 |
  0 |_______________
     |

How do i know at what x position to draw the y axis? The scale could
be 0 -5, 0 -100 etc... Is there a way to find out how wide/long a
particular bit of text will be?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to