From 52c47e80f99af31a40e4f29624956b0c2a88b164 Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Mon, 4 Apr 2011 00:20:26 -0400 Subject: [PATCH] works in IE9 --- dygraph-canvas.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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'; -- 2.7.4