[svg-developers] Can I move the viewbox when an arrow object is clicked?

2005-03-03 Thread Patricia LaRue



Hi, all:

I want to change my viewbox from the top coordinate of 0 to say 500 
when the user clicks on an arrow.  Then when the user clicks on the 
next arrow, I want to change my top coordinate of 500 to say 1000. 
So on and so forth.  I don't want to pan the SVG.  I want it to act 
like a link to the next section of the document.  Can anyone tell me 
if this is possible and how I might do it?

Thank you,
Patricia





-
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/
 





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

2004-12-10 Thread Patricia LaRue

--- Yahoo! Groups Survey --~--
Please help us to improve Yahoo! Groups. Take the survey now!
http://v2.decipherinc.com/survey/yahoo/yah04021?list=2
~-

Hi, Jim:
 
I copied this from a post on Experts Exchange.  Apparently there are two 
different kinds of points and here they are:
 
*** Let's first discuss 'Questioning points' or 'Promotional points' ***

You receive a number of points when signing up with EE. You receive 5 
additional points per day, as long as you stay active.

When asking questions, you need to assign each question a point value. 
Recommended point values are 50 points for simple questions, 100 points for 
moderate questions and 200 points for hard questions.

If you ask a lot of questions, you will soon run out of these points, and you 
will need to buy additional points to be able to ask questions and receive 
answers. These points have real value because they can help you 'buy' good 
advice from a collection of knowledgeable experts.


*** Then there are 'Expert Points' or 'Quality Points' ***

Expert points can not be bought - they can only be earned by answering 
questions. Expert points can not be used as 'payment' for posting new 
questions. The sole purpose of these points is to see how much an Expert 
contributes to EE. Expert points are used to rank the Top 15 experts in each 
topic area and the overall Top 100 Experts in the 'Hall of Fame'. 

Actually, these points are kind of worthless - but it's real fun to have a lot 
of them and see your name climb in the Top Expert lists. Sometimes, Experts 
Exchange may even offer a little gift to Experts who have a lot of Expert 
points.

Ture Magnusson
Karlstad, Sweden
 


Jim Ley [EMAIL PROTECTED] wrote:
Patricia LaRue [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 BTW, You experts should get on Experts Exchange, so that people you help 
 can give you points!

but what do points mean?

Jim. 





-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 


Yahoo! Groups SponsorADVERTISEMENT


-
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 the Yahoo! Terms of Service. 




[Non-text portions of this message have been removed]



-
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/
 





Re: [svg-developers] svg with external javascript

2004-12-10 Thread Patricia LaRue

--- Yahoo! Groups Survey --~--
Please help us to improve Yahoo! Groups. Take the survey now!
http://v2.decipherinc.com/survey/yahoo/yah04021?list=2
~-

Hi, guygoye:

Does it have to be an external file?  Also, I found that I needed to use 
ecmascript to interact with SVG.  I'm copying this line from my O'Reilly SVG 
Essentials book:

You can write a program in ECMA Script (the European Computer Manufacturer's 
Association standard version of what is commonly called JavaScript) to interact 
with an SVG graphic.  Interaction occurs when graphic objects respond to events.

Peter Thompson just solved a problem for me that shows / hides bargraphs.  I'll 
include the code here and you can use it as an example.

 code below 
///

svg
  width= 100% height=100% viewBox=0 0 900 500
  onload=init(evt)
  xmlns=http://www.w3.org/2000/svg;
  xmlns:xlink=http://www.w3.org/1999/xlink;

script type=text/ecmascript
![CDATA[
var offsetY = 50;

function init(evt)
{
  refresh(svgDocument.getElementById(tasks) ,0);
}

function mouseClick(evt)
{
  var obj=evt.target.getNextSibling();
  if ((obj != null)  (obj.nodeName==#text))
  {
obj=obj.getNextSibling();
//  alert(obj =  + obj); // MODIFIED
if ((obj != null)  (obj.nodeName==g))
{
  var attr = obj.getAttribute(visibility);
  if (attr == hidden)
  {
obj.setAttribute(visibility, );
  }
  else
  {
obj.setAttribute(visibility, hidden);
  }
  offsetY = 50; // MODIFIED
  refresh(svgDocument.getElementById(tasks) ,0)
}
  }
}

function refresh(objGroup, level)
{
  var layer=objGroup.childNodes;
  var num=layer.length;
  for (var ix=0; ix  num; ix++)
  {
var obj=layer.item(ix);
if (obj.nodeName == rect)
{
  offsetX = level * 40;
  var transform = translate( + offsetX +   + offsetY + );
  obj.setAttribute(transform, transform);
  offsetY = offsetY + 30;
}
else if (obj.nodeName == g)
{
  if (obj.getAttribute(visibility) != hidden)
  {
refresh(obj, level+1);
  }
}
  }
}
// ]]
/script

g id=tasks onclick=mouseClick(evt)
  rect x=5 y=5 width=200 height=20 style=fill:blue/
  rect x=5 y=5 width=200 height=20 style=fill:blue/
  g
rect x=5 y=5 width=200 height=20 style=fill:blue/
rect x=5 y=5 width=200 height=20 style=fill:blue/
  /g
  rect x=5 y=5 width=200 height=20 style=fill:blue/
  rect x=5 y=5 width=200 height=20 style=fill:blue/
  rect x=5 y=5 width=200 height=20 style=fill:yellow/
  g
rect x=5 y=5 width=200 height=20 style=fill:blue/
g
  rect x=5 y=5 width=200 height=20 style=fill:blue/
  g
rect x=5 y=5 width=200 height=20 style=fill:blue/
  /g
/g
  /g
  rect x=5 y=5 width=200 height=20 style=fill:blue/
  rect x=5 y=5 width=200 height=20 style=fill:red/
/g
/svg



guygoye [EMAIL PROTECTED] wrote:
Yahoo! Groups Survey
Please help us to improve Yahoo! Groups. Take the survey now! 

hello!!

i'm trying to command a svg with an external javascript. is ti 
possible? if yes tell me how do it because a beginner !!!

thank you

guygoye






-
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 the Yahoo! Terms of Service. 





[Non-text portions of this message have been removed]



-
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/
 





[svg-developers] Re: SVG bar graph -- PETER, YOU'RE A GENIUS!!!!

2004-12-10 Thread Patricia LaRue

--- Yahoo! Groups Survey --~--
Please help us to improve Yahoo! Groups. Take the survey now!
http://v2.decipherinc.com/survey/yahoo/yah04021?list=2
~-

This works and I thought I'd share it with the group.  Peter, you really need 
to join Experts Exchange.  We need you!
 
How can I ever repay you?  
 
Forever in your debt,
Patricia


Peter L Thompson [EMAIL PROTECTED] wrote: 




Patricia,

I modified your code in three places. I highlighted the lines in red. If
the red doesn't show up then look for // MODIFIED comments.

I changed onfiltered= back to oninit=. That it made it work. I don't
know what your intention was with the onfiltered; I've never used it,
haven't looked at it and it may not be as simple as just changing it back
like I did. Then I commented out the alert, since that was not needed
anymore. Then I changed offsetY= in mouseClick(), since you modified it
where it initially set (otherwise the bars move when they first collapse).

The nested groups are, by definition, an object hierarchy. I would just
use this concept and take it is as far as it will go. imo, it is simple,
but powerful enough to do what you need (even though I really have no idea
what that it).

I only wrote this bit of code because I love playing with hierarchical
displays of data and I was curious to see how easy it was to do in SVG.
Just let me know if it works for you now.

Let me know if you have further questions. I can't promise as quick a
response.

Peter

--

width= 100% height=100% viewBox=0 0 900 500
onload=init(evt)
xmlns=http://www.w3.org/2000/svg;
xmlns:xlink=http://www.w3.org/1999/xlink;


var offsetY = 50;

function init(evt)
{
  refresh(svgDocument.getElementById(tasks) ,0);
}

function mouseClick(evt)
{
  var obj=evt.target.getNextSibling();
  if ((obj != null)  (obj.nodeName==#text))
  {
obj=obj.getNextSibling();
//  alert(obj =  + obj); // MODIFIED
if ((obj != null)  (obj.nodeName==g))
{
  var attr = obj.getAttribute(visibility);
  if (attr == hidden)
  {
obj.setAttribute(visibility, );
  }
  else
  {
obj.setAttribute(visibility, hidden);
  }
  offsetY = 50; // MODIFIED
  refresh(svgDocument.getElementById(tasks) ,0)
}
  }
}

function refresh(objGroup, level)
{
  var layer=objGroup.childNodes;
  var num=layer.length;
  for (var ix=0; ix   {
var obj=layer.item(ix);
if (obj.nodeName == rect)
{
  offsetX = level * 40;
  var transform = translate( + offsetX +   + offsetY + );
  obj.setAttribute(transform, transform);
  offsetY = offsetY + 30;
}
else if (obj.nodeName == g)
{
  if (obj.getAttribute(visibility) != hidden)
  {
refresh(obj, level+1);
  }
}
  }
}
// ]]





























This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.






[Non-text portions of this message have been removed]



-
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/
 




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 a pointer that I will most 
likely be able to reach my unreasonable deadline.
 
Again, thanks a bunch,
Patricia
 


Jérôme Tricand de la Goutte [EMAIL PROTECTED] wrote:
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
tree:element id=myTree x=200 y=300
   text x=0 y=0The text of the parent/text
   rect x=0 y=50 width=500 height=20
   tree:element
   text x=0 y=0The text of the child1/text
   rect x=0 y=50 width=500 height=20
   /tree:element
   tree:element
   text x=0 y=0The text of the child2/text
   rect x=0 y=50 width=500 height=20
   tree:element
   text x=0 y=0The text of the underchild1/text
   rect x=0 y=50 width=500 height=20
   /tree:element
   /tree:element
   /tree:element
- at the onload event of  my svg, I would run a function initTree() 
converting this structure in standard SVG element, with events and 
personnal attributes as
g id=myText tree:index=0 transform=translate(200,300) 
tree:width=550 tree:height=100
 rect x=-10 y=-10 fill=blue height=10 width=10 
onclick=showhidechild(evt)/
 text x=0 y=0The text of the parent/text
 rect x=0 y=50 width=500 height=20/
 g tree:index=1 transform=translate(250,350) 
tree:width=550 tree:height=100
 rect x=-10 y=-10 fill=blue height=10 width=10 
onclick=showhidechild(evt)/
 text x=0 y=0The text of the child1/text
 rect x=0 y=50 width=500 height=20/
  /g
  g tree:index=1 transform=translate(250,400) 
tree:width=550 tree:height=100
 rect x=-10 y=-10 fill=blue height=10 width=10 
onclick=showhidechild(evt)/
 text x=0 y=0The text of the child2/text
 rect x=0 y=50 width=500 height=20/
g tree:index=2 transform=translate(300,450) 
tree:width=550 tree:height=100
 rect x=-10 y=-10 fill=blue height=10 
width=10 onclick=showhidechild(evt)/
 text x=0 y=0The text of the 
underchild1/text
 rect x=0 y=50 width=500 height=20/
  /g
  /g

tree:index represent the number of  tabulation, ie the level in 
hierarchy of an element.
tree:width is the width of the bounding box of an element with its childs
tree:height if the height of the bounding bos of an element with its childs.

Those two values are used by the function showhidechild to calculate the 
new translate of any nextsibling element when you show one element.
For example, say you have the folowing structure:
1shown
   2shown
  3unshown
  4shown
   5shown
  6shown
  7shown
8   shown
   9 shown
  10   shonw

and you want to show 3. You will have to translate 4, 5 and 8, ie the 
nextsibling element of 3, 2 and 1, ie the nextsibing element of every 
parent of the element you want to show and itself.
You will have to add to the translate value of those elements (4, 5 and 
8) the height of the element 3, then display 3

If you want to hide one element, you will have to remove the height of 3 
of the translate value 4, 5 and 8.

That said, you can imagine what initTree should do :
read the tree:elements
creatre the structure using g elements
compute the height of any element
hide all the child elements at first

And showhidechild() should do
get the element that needs to be expanded or reduce (A)
get the size of A
add or remove this size to the translate of any nextsibing of any 
parent of A
show or hide the childs of A

And this should work.


If you want to add or remove an child, don't forget to compute the new 
size of any parent of this

As you see, this shoud work for any type of child (text, graph, ... )


I hope it helps you.
but I would be pleased to have you comments, if it works and so...

Jérôme

Patricia LaRue wrote:

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 objects for each task, 
set the attributes (including a text attribute), add the element as a parent 
or child element, and show/hide the child elements on click events?  How did 
you do it?  All I need is an idea, I'll do the research.
 
Thanks a bunch,
Patricia
 

Doug Schepers [EMAIL PROTECTED] wrote:
Sorry, Peter, yes, I

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

2004-12-09 Thread Patricia LaRue

Okay, let's try it differently:
 
Use ECMA script as the scripting language.

Patricia LaRue [EMAIL PROTECTED] wrote:
Oops!  the code didn't show up, so here it is again:

from:  script language=JavaScript or script

to:  script type=text/ecmascript


Patricia LaRue [EMAIL PROTECTED] wrote:
Peter:

Wouldn't you know itas soon as I asked for help we solved the error 
problem.  I changed the following tag from:
script language=JavaScript 

to:
script type=text/ecmascript

Now, I don't get any errors but the bars don't move.  I'm trying to figure out 
if it's supposed to work using the groups to provide the hierarchies, as you 
said, or if I need to nest tree elements in blocks of code.  If you have any 
further pointers it would be greatly appreciated.

Thanks again,
Patricia

Patricia LaRue [EMAIL PROTECTED] wrote:
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, but I still keep getting the following error whenever I click on the 
red bar:

Microsoft JScript runtime error

Object expected
line: 1, column: 0

Any ideas of what might make this code work?

Thanks a bunch,
Patricia



Peter Thompson [EMAIL PROTECTED] wrote:
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.

?xml version=1.0?
svg  xmlns=http://www.w3.org/2000/svg; width='100%' height='100%' 
onload=init(evt)
g id=tasks onmousedown=mouseClick(evt)
  rect x=5 y=5 width=200 height=20 style=fill:blue/
  rect x=5 y=5 width=200 height=20 style=fill:blue/
  g
rect x=5 y=5 width=200 height=20 style=fill:blue/
rect x=5 y=5 width=200 height=20 style=fill:blue/
  /g
  rect x=5 y=5 width=200 height=20 style=fill:blue/
  rect x=5 y=5 width=200 height=20 style=fill:blue/
  rect x=5 y=5 width=200 height=20 style=fill:yellow/
  g
rect x=5 y=5 width=200 height=20 style=fill:blue/
g
  rect x=5 y=5 width=200 height=20 style=fill:blue/
  g
rect x=5 y=5 width=200 height=20 style=fill:blue/
  /g
/g
  /g
  rect x=5 y=5 width=200 height=20 style=fill:blue/
  rect x=5 y=5 width=200 height=20 style=fill:red/
/g
script
![CDATA[
var offsetY = 0;
function init(evt)
{
  refresh(svgDocument.getElementById(tasks) ,0);
}
function mouseClick(evt)
{
  var obj=evt.target.getNextSibling();
  if ((obj != null)  (obj.nodeName==#text)) {
obj=obj.getNextSibling();
if ((obj != null)  (obj.nodeName==g)) {
  var attr = obj.getAttribute(visibility);
  if (attr == hidden){
obj.setAttribute(visibility, );
  }
  else{
obj.setAttribute(visibility, hidden);
  }
  offsetY = 0;
  refresh(svgDocument.getElementById(tasks) ,0)
}
  }
}
function refresh(objGroup, level)
{
  var layer=objGroup.childNodes;
  var num=layer.length;
  for (var ix=0; ix  num; ix++)
  {
var obj=layer.item(ix);
if (obj.nodeName == rect) {
  offsetX = level * 40;
  var transform = translate( + offsetX +   + offsetY + );
  obj.setAttribute(transform, transform);
  offsetY = offsetY + 30;
}
else if (obj.nodeName == g) {
  if (obj.getAttribute(visibility) != hidden){
refresh(obj, level+1);
  }
}
  }
}
// ]]
/script
/svg




-
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 


Yahoo! Groups Sponsor 
Get unlimited calls to

U.S./Canada


-
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 the Yahoo! Terms of Service. 



[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 


Yahoo! Groups SponsorADVERTISEMENT


-
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 the Yahoo! Terms of Service. 




[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my

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 said that you have seen (and done) similar things in 
SVG in the past.  I am looking for someone with experience and a high level of 
confidece to point me in the correct direction.  
 
Peter:
 
You're absolutely correct, I am building Gantt charts of tasks and subtasks.  I 
apologize for not saying that initially.  My tree structure exists in database 
tables.  Currently, I'm simply looping through a linked list and drawing each 
element in the appropriate x,y place.  I have NO idea how to creeate a tree 
structure in SVG or even if it can be done.
 
Philip:
 
While I have extensive experience with simple graphic techniques, I've never 
used glyphs before.  Most of the elements in a gantt chart are fixed in length 
(i.e., triangle, diamond, circle) but bars are used to show task lengths from 
start to finish.  Can I use glyphs to show elements of variable length?
 
Mucho Thanks, guys.  I look forward to hearing more from you on this topic.
 
Patricia



Doug Schepers [EMAIL PROTECTED] wrote: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.

I was speaking out against the misuse of glyphs. Too be fair to Philip,
though, it's not unheard of in the computing tradition. In the Dark Ages of
Computing, many specialized fonts used shape glyphs, for circuit diagrams
and maps and other non-text compositional elements, as a kind of old-school
'use' or 'symbol', in order to save memory on frequently-used shapes. There
are large blocks of Unicode dedicated to this legacy, and I was told
recently that certain industries still use this odd practice. 

Regards-
Doug

doug . schepers  @ vectoreal.com
www.vectoreal.com ...for scalable solutions.


Peter Thompson wrote:
| 
| 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 tree in 
| SVG, then change visibility and the translate transform for 
| each expand/contract.
| 
| Doug - Are you saying don't use the glyph idea or don't do 
| the expanding/contracting bargraph?
| 



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 


Yahoo! Groups SponsorADVERTISEMENT


-
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 the Yahoo! Terms of Service. 




[Non-text portions of this message have been removed]



 Yahoo! Groups Sponsor ~-- 
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/1U_rlB/TM
~- 

-
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/
 





[svg-developers] Expanding and collapsing sections of bargraphs using SVG - Can it be done?

2004-12-03 Thread Patricia LaRue

Hi, all:
 
Apparently, my subject line didn't contain enough information.  Sorry about 
that.  So, I've included my previous message here and more detail below.
Okay, I'm ready to research and learn how to do this but I need an expert 
opinion on the best way to do this or if this can even be done.
I have bargraphs of parent tasks and bargraphs of child tasks associated with 
the parent task bargraphs.  My boss wants to have a +/- clickable image to show 
child task bargraphs when the + sign is clicked and hide child task bargaphs 
when the - sign is clicked, much like a tree structure only for bargraphs 
instead of text.  
 
I know I can set visibility to hidden but that will not remove the horizontal 
white space that will occur as a result of hiding the bargraphs.
 
Thanks, again, for your time,
Patricia



[Non-text portions of this message have been removed]



 Yahoo! Groups Sponsor ~-- 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/1U_rlB/TM
~- 

-
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/
 





[svg-developers] Setting elements hidden / visible?

2004-11-01 Thread Patricia LaRue

Hi, all:
 
I need to make a plus (+) sign that when clicked the child nodes will expand and 
become visible.  Also make the plus (+) sign display as a minus (-) sign.
 
Is there a way to do this?  
 
Thank you,
Patricia


[Non-text portions of this message have been removed]



 Yahoo! Groups Sponsor ~-- 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/1U_rlB/TM
~- 

-
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/