That's a clever idea J�r�me. Thanks for the tip; I just might end up using that. : ) I've very new to this technology, but I'd like to jump on the bandwagon while it's still young. There's a lot to learn about this powerful format.
Thanks again. --- In [email protected], J�r�me Tricand de la Goutte <[EMAIL PROTECTED]> wrote: > Hi d1cey, > > According to what you nedd, I suggest you to nest a <svg> in your SVG. > That way you can define the x, y, height, width of your new space for > your drawing and define your co-ordinates system. Now, any child of this > new <svg> will be placed according to the new origin. > for example, yse a structure like: > <svg> > <!-- your bottom, top, legends--> > <svg id='graphSpace' x='50' y='50' width='90%' height='90%' viewbox="0 0 > 1000 1000"> > <rect id='borderOfGraphSpace' x='0' y='0' hieght='1000' width='1000' > fill='none' stroke='#ff0000'/> > <line id='crossTheGrapheSpace' x1='0' y1='0' x2='1000' y2='1000'/> > <!-- your graph description --> > </svg> > </svg> > > Hope it helps > > J�r�me > > d1cey a �crit : > > >Another question for you fine SVG gurus. > > > >I'm not exactly sure the best way to go about what I'm trying to do, > >so my questions may be na�ve and perhaps a little nonsensical. > > > >It is possible to nest elements into a <g>roup and resize the group > >itself, but is it possible to give it x1, y1, x2, y2 co-ordinates for > >the resize instead? ("Okay Group, Scale yourself to fit in this > >bounding box" � type thing.) > > > >Is it possible to give co-ordinates based on a location other than the > >origin? EG: You'd like to draw a line from (10,10) to a point 10 > >pixels from the bottom, and 10 pixels from the right, no matter the > >size of the window. > > > >If you hadn't guessed, I'm building a graph� But I need room at the > >top and bottom (and perhaps sides) for data (scale markers, title, > >etc.). I've tried building the grid in a group, scaling it .9, and > >translating it downward� This works well for the top, but the amount > >of space on the bottom is inconsistent (its width depends on the size > >of the browser window.) > > > >Is there a better way to do this? Am I barking up the wrong tree? > > > >Thanks to those Mighty Lords and Ladies of SVG, nurturing This > >emerging technology, who still have time to help a lowly hack such as > >myself. > > > > > > > > > > > > > >----- > >To unsubscribe send a message to: [EMAIL PROTECTED] > >-or- > >visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" > >---- > >Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > > -- > J�r�me Tricand de la Goutte > > Soci�t� Logatique > 50 rue Marcel Dassault > 92100 Boulogne-Billancourt > > 01 46 21 59 59 ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

