W3C home > Mailing lists > Public > www-svg@w3.org > October 2000

Re: Determining UserAgent's client size.

From: André M. Winter <andre.mw@gmx.net>
Date: Thu, 19 Oct 2000 14:34:08 +0200
Message-ID: <39EEEA40.8BCECAE8@gmx.net>
To: www-svg@w3.org
i guess you're working for some server-output to a present browser-window. this
window has width and height, why not using those in a second request?

andré


> I have a question about SVG that I had hoped would be answered by IBM's XML
> to SVG tutorial but didn't.
>
> I want to convert an arbitrary set of data into an SVG image. Clearly this
> should be a simple task. However, I need to know something about the actual
> number of pixels to work with to decide how many tick marks and lables I
> want to display. For instance, if the SVG file is going to be displayed in a
> 100X100 px area, I'm probably only going to want to display the maximum
> value lable and the axis. If I'm in a 1000X1000px space, I'll want to put
> tick marks every 30 units and lables every 90.
>
> I'm probably also going to want to use the same font size (assuming no mag
> or zoom) for both to make it easy to read.
>
> Any suggestions?
> >               Adam van den Hoven
> >               Internet Application Developer
> >               Blue Zone Entertainment Inc.
> >               tel. 604.685.4310
> >               fax. 604.685.4391
> >
> > Blue Zone makes news interactive. http://www.bluezone.net/
> >
> >

--
andré m. winter
cartography & internet
http://www.carto.net/
Received on Thursday, 19 October 2000 08:31:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 5 November 2012 23:52:48 GMT