Just a few comments/ questions
> I've implemented a proof-of-concept integration of SVGWeb and protovis.
> It draws everything I tried fine, renders in all the relevant browsers
> (including IE8) and requires (almost) no changes to how you use protovis.
Correct me if I'm wrong, but I assume we'll want to keep using the
standard protovis for all browsers and svgweb to IE only? Is the code
*that* compatible?
> 2/ events, while propogated from the SVG do not trigger ...
What's the real implication here? I'm not too familiar with events yet
so I'm not sure if there are workarounds
> 3/ Rerendering ...
I assume this means that we don't have animations / data changing
capabilities? What if we remove the entire element and render it again?
> A fourth limitation exists - code within <script
> type='text/javascript-protovis'> will not work correct in IE
Just to be sure, we can still use the satandard text/javascript 1.6 then?
-pedro
> --
> You received this message because you are subscribed to the Google
> Groups "protovis" group.
> To post to this group, send email to prot...@googlegroups.com.
> To unsubscribe from this group, send email to
> protovis+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/protovis?hl=en.
I've applied your code, and it's working great for me, though as you
say, without mouseover events.
@Pedro:
> Correct me if I'm wrong, but I assume we'll want to keep using the
> standard protovis for all browsers and svgweb to IE only? Is the code
> *that* compatible?
Not necessarily. SvgWeb passes has very little overhead for browsers
with native SVG support -- it just passes the calls through. This
assumes we can get a fix to the event listeners and render() issues,
as we wouldn't want to degrade interaction.
> > 3/ Rerendering ...
>
> I assume this means that we don't have animations / data changing
> capabilities? What if we remove the entire element and render it again?
That's right. I'll be trying removing the svgRoot and re-appendChild()
it, and will report back on my results.
> > A fourth limitation exists - code within <script
> > type='text/javascript-protovis'> will not work correct in IE
>
> Just to be sure, we can still use the satandard text/javascript 1.6 then?
Yup, that's working fine for me.
--kirby
- Created a folder with the following files:
- helloworld.html
- protovis-svgweb-d3.1.js
from this page
- svg.js
- svg.htc
- svg.swf
when i open the .html on firefox or chrome i get a square with a red
border with a function drawn inside, but when i try to open it on IE8
(the whole purpose of this), it only shows the red outline without
anything inside, maybe i'm missing something.
I was trying to run the helloworld.html example and had some problems
with it. It works fine in firefox and chrome but it doesn't in IE (the
whole purpose of integrating protovis with svgweb). Although in
firefox/chrome i got a red square with a chart function inside, on IE8
it only displays the red square outline.
This is what i did:
- created a test folder
- moved helloworld.html, svg.js, svg.swf, svg.htc and protovis-svgweb-
d3.1.js to the test folder
- changed the window.onload function to a var i called on the end of
the file because of some random error
- opened helloworld.html in firefox SUCESS
- opened helloworld.html in chrome SUCESS
- opened helloworld.html in IE8 FAIL
not sure what i did wrong or what i didn't do, thanks for any
assistance in advance
-- José
Jamie, congrats this are superb news. We'll look into this today!
Just a few comments/ questionsCorrect me if I'm wrong, but I assume we'll want to keep using the standard protovis for all browsers and svgweb to IE only? Is the code *that* compatible?
> I've implemented a proof-of-concept integration of SVGWeb and protovis.
> It draws everything I tried fine, renders in all the relevant browsers
> (including IE8) and requires (almost) no changes to how you use protovis.
<!--[if IE]>
<script src="svg.js"></script>
<script src="protovis-svgweb-d3.1.js"></script>
<![endif]-->
<!--[if !IE]>
<script src="protovis-d3.1.js"></script>
<![endif]-->
> 2/ events, while propogated from the SVG do not trigger ...
What's the real implication here? I'm not too familiar with events yet so I'm not sure if there are workarounds
> 3/ Rerendering ...
I assume this means that we don't have animations / data changing capabilities? What if we remove the entire element and render it again?
Just to be sure, we can still use the satandard text/javascript 1.6 then?
> A fourth limitation exists - code within <script
> type='text/javascript-protovis'> will not work correct in IE
Hello,
I was trying to run the helloworld.html example and had some problems
with it. It works fine in firefox and chrome but it doesn't in IE (the
whole purpose of integrating protovis with svgweb). Although in
firefox/chrome i got a red square with a chart function inside, on IE8
it only displays the red square outline.
This is what i did:
- created a test folder
- moved helloworld.html, svg.js, svg.swf, svg.htc and protovis-svgweb-
d3.1.js to the test folder
- changed the window.onload function to a var i called on the end of
the file because of some random error
so I tryed the link:
http://www.nsquaredsoftware.com/svgwebdemo/
and it works great on firefox (as usual) but when i run it in IE8, it
only works the dot example (maybe because its the default/first one to
show), when i try the dropdown menu and click on any other example, it
returns the following errors on the developer tools console:
Invalid argument. svg-uncompressed.js, line951 character 15
also in the previous helloworld.html example, i re-did again all the
steps with a fresh downloaded file and this time it didn't return any
error(i probably did something wrong the first time), although it
still doesn't show the function on IE and only the red square outline.
Thanks
-José
I add svg.js with:
<!--[if IE]><script type="text/javascript" src="./js/svg.js"
data-path="./js">
</script><![endif]-->
--kirby
On 24 Fev, 10:41, Aureliano Calvo <aurelianoca...@gmail.com> wrote:
> I would live to know how does it work.Lack of IE support did stop me of
> presenting protovis as The Tool to make visualizations.
>
> On Wed, Feb 24, 2010 at 5:38 AM, Jamie Love <drjl...@gmail.com> wrote:
>
> > Hi All,
>
> > I've made SVGWeb + protovis handle events, but using the flash renderer
> > means it's to slow to re-render graphs on on mouseover/mousemove. It'd work
> > fine if you're not re-rendering the graph though.
>
> > If anyone wants to know how, let me know and I'll tidy up the code.
>
> > Jamie
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "protovis" group.
> > To post to this group, send email to prot...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > protovis+u...@googlegroups.com<protovis%2Bunsu...@googlegroups.com>
Unfortunately it doesn't. What's weird is it seems to crash on
document.getElementsByTagNameNS() in:
if (protovisTest != null) {
var svg = document.getElementsByTagNameNS(svgns, 'svg')[0];
svgweb.removeChild(svg, svg.parentNode);
}
with 'doesn't support this property or method'.
I thought that was standard equipment on IE8. I'm probably missing
something really obvious here...
d
--
> <aurelia...@gmail.com <mailto:aurelia...@gmail.com>>
> wrote:
>
>
>
> On Wed, Feb 24, 2010 at 5:32 PM, dscottsf
> <d.sco...@gmail.com <mailto:d.sco...@gmail.com>> wrote:
>
> On Feb 11, 11:23 am, Jamie Love <drjl...@gmail.com
> <mailto:prot...@googlegroups.com>.
> To unsubscribe from this group, send email to
> protovis+u...@googlegroups.com
> <mailto:protovis%2Bunsu...@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/protovis?hl=en.
>
>
> --
> You received this message because you are subscribed to the
> Google Groups "protovis" group.
> To post to this group, send email to
> prot...@googlegroups.com <mailto:prot...@googlegroups.com>.
> To unsubscribe from this group, send email to
> protovis+u...@googlegroups.com
> <mailto:protovis%2Bunsu...@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/protovis?hl=en.
>
>
> --
> You received this message because you are subscribed to the
> Google Groups "protovis" group.
> To post to this group, send email to prot...@googlegroups.com
> <mailto:prot...@googlegroups.com>.
> To unsubscribe from this group, send email to
> protovis+u...@googlegroups.com
> <mailto:protovis%2Bunsu...@googlegroups.com>.
It might be wise to kick up a fuss if the user is trying to use SVGWeb
and doesn't have Flash installed.
d