[svg-developers] Re: Expanding and collapsing sections of bargrap hs using SVG - Can it be done?

2004-12-04 Thread Peter Thompson
Patricia - It sounds like you are displaying a Gantt chart. I like Philip's first suggestion, perhaps because I haven't used glyphs. I assume that you have a tree data structure somewhere with the parent/child relationships between the task/subtasks. I'd use that to build a corresponding t

RE: [svg-developers] Re: Expanding and collapsing sections of bargrap hs using SVG - Can it be done?

2004-12-04 Thread Doug Schepers
Sorry, Peter, yes, I should have been more clear. I have no problem with the expanding/contracting bargraph idea, though it doesn't seem that tricky to me. Unless I'm misunderstanding something, I've seen (and done) similar things in SVG in the past, and I don't recall any particular challenges.

RE: [svg-developers] Re: Expanding and collapsing sections of bargrap hs using SVG - Can it be done?

2004-12-07 Thread Patricia LaRue
Hi, Peter, Doug, and Philip: Thank you so much for your time and input. I appreciate any assistance I can get. Doug, it may not be that tricky. While I'm not completely green to SVG, I've not gone far beyond drawing images and text and attaching hyperlinks to clickable elements. You sa

RE: [svg-developers] Re: Expanding and collapsing sections of bargrap hs using SVG - Can it be done?

2004-12-07 Thread Patricia LaRue
Hi, Doug: I responded to this earlier but as I read and learn more I am particularly interested in your comments. If I were to implement your version of the solution, can you give me an idea of how it would be done? Could it be done in a object/tree structure? Is it possible to set up obje

Re: [svg-developers] Re: Expanding and collapsing sections of bargrap hs using SVG - Can it be done?

2004-12-08 Thread Jérôme Tricand de la Goutte
Hi Patricia, I was planing to implement a tree view. So here is how I see it : - I would use a personnal namespace, let say "tree" - I would create my structure in my svg file as, for example The text of the parent The text of the child1

RE: [svg-developers] Re: Expanding and collapsing sections of bargrap hs using SVG - Can it be done?

2004-12-08 Thread Peter Thompson
The following code displays a hierarchy of rectangles that can expand/collapse. You can click on a rectangle with children to hide/show the children, expanding and contracting the tree as required. The groups provide the hierarchies. I've only run it in ASVG3. http://www.w3.org/2000/svg";

RE: [svg-developers] Re: Expanding and collapsing sections of bargrap hs using SVG - Can it be done?

2004-12-09 Thread Patricia LaRue
Hi, Peter: I'm sorry to have to bother you about this. Perhaps you or someone else in the group can help me get this working. I've been working with this code since I received it yesterday and have tried everything I know to do with it, icluding putting alert statements in various places

Re: [svg-developers] Re: Expanding and collapsing sections of bargrap hs using SVG - Can it be done?

2004-12-09 Thread Patricia LaRue
Hi, Jérôme: Thank you for such a wonderful outline of the steps to create what I'm trying to do. I am trying to use yours and Peters to see the best or easiest way to implement my code. I'll definitely share with you my code when I get it working. But you and Peter have given me enough of

RE: [svg-developers] Re: Expanding and collapsing sections of bargrap hs using SVG - Can it be done?

2004-12-09 Thread Patricia LaRue
Peter: Wouldn't you know itas soon as I asked for help we solved the error problem. I changed the following tag from: to: