vector
vector

Reputation: 7576

editing svg graphics loaded from external source

Is it possible to affect svg graphics loaded from (for example) google code (charts, etc.) ? What I need to be able to do is change display styles ( font size and / or color, etc.)

Am I out of luck on that since all the graphical elements reside in an iframe?

If so, any recommendations on jQuery/js lib for creating pie charts, etc? From what I've seen raphael.js looks very interesting.

Just wonder what the proper approach wold be in this case. Thanks in advance.

Upvotes: 1

Views: 188

Answers (2)

Robert Longson
Robert Longson

Reputation: 124289

Eric Dahlstrom wrote an example showing how to do this as part of an answer to a similar question previously: http://xn--dahlstrm-t4a.net/svg/html/get-embedded-svg-document-script.html

Upvotes: 2

Anthony Blake
Anthony Blake

Reputation: 5348

I would highly recommend you check out d3: http://mbostock.github.com/d3/

Upvotes: 2

Related Questions