Highcharts图表选项backgroundColor:'transparent'在IE 8上显示黑色 [英] Highcharts chart option backgroundColor:'transparent' showing black on IE 8

查看:444
本文介绍了Highcharts图表选项backgroundColor:'transparent'在IE 8上显示黑色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Highcharts 图表选项 backgroundColor:'transparent' code>

Highcharts chart option backgroundColor:'transparent' showing black on IE 8

histogram = new Highcharts.Chart({
            chart: { renderTo: 'histogram', defaultSeriesType: 'bar',
                     backgroundColor:'transparent'
            }

IE 9 和其他的工作正常,但在IE 8和Safari的任何人都有任何想法为什么?

This works fine on I.E 9 and others but fails on I.E 8 and Safari anyone has any idea why ?

推荐答案

尝试此解决方案:

histogram = new Highcharts.Chart({
                chart: { renderTo: 'histogram', defaultSeriesType: 'bar',
                         backgroundColor:'rgba(255, 255, 255, 0.1)'
                }

这篇关于Highcharts图表选项backgroundColor:'transparent'在IE 8上显示黑色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆