[prev in list] [next in list] [prev in thread] [next in thread]
List: fop-user
Subject: Re: svg text and spacing
From: jakbri () coretech ! co ! nz
Date: 2005-03-23 9:37:32
Message-ID: 20050323223758.i362sgwmzda80w0o () mail ! coretech ! co ! nz
[Download RAW message or body]
Quoting Pascal Sancho <pascal.sancho@takoma.fr>:
> 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:jakbri@coretech.co.nz]
>>
>> 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: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic