Hi Philip.

philip zuniga:
> <?xml version="1.0"?>
>  <svg xmlns="http://www.w3.org/2000/svg";
>        viewBox="0 0 100 100" >
>   <circle cx="30" cy="30" r="10" fill = "red">
>   <title>This makes the game go.</title>
>  </circle>
>  </svg>
> 
> This should produce a tooltip in a circle , but I could not seem to make the
> tooltip appear, is there something wrong?

This works for me both in Batik 1.6 and SVN.  Are you displaying this in
Squiggle, or your own program using a JSVGCanvas?  If the latter, you
will need to ensure that the document is displayed with interactivity if
it does not find any dynamic content in the document:

  JSVGCanvas myCanvas = …;
  myCanvas.setDocumentState(JSVGCanvas.ALWAYS_INTERACTIVE);
  myCanvas.setDocument(…);

Use ALWAYS_DYNAMIC instead of ALWAYS_INTERACTIVE if you want other
dynamic features, such as script.

-- 
 Cameron McCormack                      ICQ: 26955922
 cam (at) mcc.id.au                     MSN: cam (at) mcc.id.au
 http://mcc.id.au/                      JBR: heycam (at) jabber.org

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to