wx-charts icon indicating copy to clipboard operation
wx-charts copied to clipboard

wx-charts使用时,canvas最右边有一个矩形区域无法设置背景色

Open 2386182793 opened this issue 5 years ago • 3 comments

设置canvas背景色为蓝色.canvas { width: 100%; height: 200px; background:blue; } 设置页面背景色为黑色page{ background-color: rgb(0, 0, 0); } 此时发现wx-charts右边存在一个长方形小区域无法设置颜色(如图中箭头指示区域),依然为白色,柱状图、折线图等带横纵坐标的图表类型均有此现象,而饼图、雷达图等无横纵坐标的图表类型没有影响,是什么原因? QQ截图20190906005516

2386182793 avatar Sep 05 '19 17:09 2386182793

set wxCharts.config.background to 'blue'

kicer avatar Oct 18 '19 12:10 kicer

我也遇到了这个情况,但是我的页面背景色为渐变色,这种应该怎么解决

oldtom99 avatar Apr 01 '20 10:04 oldtom99

设定 wxCharts.config.background 为 'rgba(0,0,0,0)'

我也遇到了这个情况,但是我的页面背景色为渐变色,这种应该怎么解决

arabiannightschat avatar May 26 '20 08:05 arabiannightschat