From: Dan Vanderkam Date: Mon, 4 Apr 2011 04:20:26 +0000 (-0400) Subject: works in IE9 X-Git-Tag: v1.0.0~541 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=52c47e80f99af31a40e4f29624956b0c2a88b164;p=dygraphs.git works in IE9 --- diff --git a/dygraph-canvas.js b/dygraph-canvas.js index cf4aa12..35e4662 100644 --- a/dygraph-canvas.js +++ b/dygraph-canvas.js @@ -713,8 +713,10 @@ DygraphCanvasRenderer.prototype._renderChartLabels = function() { inner_div.style.WebkitTransform = 'rotate(-90deg)'; // Safari/Chrome inner_div.style.MozTransform = 'rotate(-90deg)'; // Firefox inner_div.style.OTransform = 'rotate(-90deg)'; // Opera - inner_div.style.filter = - 'progid:DXImageTransform.Microsoft.BasicImage(rotation=3)'; + inner_div.style.msTransform = 'rotate(-90deg)'; // IE9 + inner_div.id = 'foo'; // XXX + // inner_div.style.filter = + // 'progid:DXImageTransform.Microsoft.BasicImage(rotation=3)'; var class_div = document.createElement("div"); class_div.className = 'dygraph-label dygraph-ylabel';