really weird zoom problem in ie8

280 views
Skip to first unread message

Henrik Sandberg

unread,
Nov 4, 2010, 11:55:13 AM11/4/10
to jqplot-users
This is probably a silly problem but I just can't figure out what's
causing it.

I've set up a couple of plots/charts and enabled the zoom option
through the cursors plugin. Works fine in chrome, FF and ie7 and ie 9
(with the update code)... but when zooming in ie8 the plotline isnt
rendered even though all html elements are added to the DOM they are
just not showing up... though if resizing the page with the built in
zoom function in the browser it shows up.. whyy oh why??

I've tried removing all CSS code except "jquery.jqplot.min.css" and
removed all javascript except
the jqplot and the plot initiating script... (excanvas.min.js is
ofcourse added first)

even tried copying the code for the graph from the example
http://www.jqplot.com/tests/zoomTests.php

still this strange rendering problem...

all elements on the graphs show up beside the ones within the DIV
"jqplot-series-canvas" with the vml shapes for my series.. but they
are there in the DOM .. just not showing up until zoom - unzoom in the
browser.. and it's only for IE8... any clues where i should look?

Rabin Aryal

unread,
Nov 5, 2010, 10:06:05 AM11/5/10
to jqplot-users
I had similar problem on Zoom, redrawing and replotting. For some
reason it doesn't render on IE8. But if you force to use Browser mode
to IE7 it works fine. Hope adding the line below solves

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" >


On Nov 4, 11:55 am, Henrik Sandberg <jaxie.hen...@gmail.com> wrote:
> This is probably a silly problem but I just can't figure out what's
> causing it.
>
> I've set up a couple of plots/charts and enabled the zoom option
> through the cursors plugin. Works fine in chrome, FF and ie7 and ie 9
> (with the update code)... but when zooming in ie8 the plotline isnt
> rendered even though all html elements are added to the DOM they are
> just not showing up... though if resizing the page with the built in
> zoom function in the browser it shows up.. whyy oh why??
>
> I've tried removing all CSS code except "jquery.jqplot.min.css" and
> removed all javascript except
> the jqplot and the plot initiating script...  (excanvas.min.js is
> ofcourse added first)
>
> even tried copying the code for the graph from the examplehttp://www.jqplot.com/tests/zoomTests.php

Henrik Sandberg

unread,
Nov 8, 2010, 3:17:34 AM11/8/10
to jqplot-users
yeah it works fine when you emulate ie7 but i find that the browser
sometimes ignores the meta tag.. and it should work on ie8.. the
example works on ie8 with rendering mode ie8 so i don't get why it
wouldnt work ... maybe it has something to do with that it's rendered
on an aspx page but that seems far fetched :/

Henrik Sandberg

unread,
Nov 15, 2010, 4:14:11 AM11/15/10
to jqplot-users
new excanvas solved it.. http://code.google.com/p/explorercanvas/downloads/list
zoom works in ie8 (replot() issue)

Chris Leonello

unread,
Nov 15, 2010, 8:41:34 AM11/15/10
to jqplot...@googlegroups.com
Thanks for digging into this and posting back. I'll update the repo.


--
Chris Leonello
jqplot...@jqplot.com

> --
> You received this message because you are subscribed to the Google Groups "jqplot-users" group.
> To post to this group, send email to jqplot...@googlegroups.com.
> To unsubscribe from this group, send email to jqplot-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/jqplot-users?hl=en.
>

Reply all
Reply to author
Forward
0 new messages