开发者

Transparent grid in IE using jqplot

开发者 https://www.devze.com 2023-03-22 17:45 出处:网络
I\'m using jqplot for disp开发者_如何学Pythonlaying bar chart and pie chart. I want to display them without grid lines. So, I\'ve inserted the following line.

I'm using jqplot for disp开发者_如何学Pythonlaying bar chart and pie chart. I want to display them without grid lines. So, I've inserted the following line.

           grid:{background:'transparent',borderColor:'#d0d0d0'},

It is not working in IE but in firefox it is displaying without grid lines. Please help me out.


The grid lines can also be removed using the showGridline property within the tickOptions object (within the x or y axis object [within the axes object {within the options object}]).

axes: {
   xaxis: {
      tickOptions: {
         showGridline: false
      }
   }
}


I'm pretty sur that IE < 9 doesn't support transparancy.


Try this for IE <= 8 loading of excanvas, It worked for me:

<!--[if lt IE 9]><script language="javascript" type="text/javascript" src="../src/excanvas.js">   
</script><![endif]-->

grid: {  background: 'rgba(0,0,0,0)',
         drawBorder: false,
         shadow: false
      }
0

精彩评论

暂无评论...
验证码 换一张
取 消