修改打印之前和打印之后的图片背景
This commit is contained in:
@@ -1,4 +1,15 @@
|
|||||||
|
Highcharts.setOptions({ // Apply to all charts
|
||||||
|
chart: {
|
||||||
|
events: {
|
||||||
|
beforePrint: function () {
|
||||||
|
$(".highcharts-background").attr("fill","rgba(48,48,48,1)")
|
||||||
|
},
|
||||||
|
afterPrint: function () {
|
||||||
|
$(".highcharts-background").attr("fill","rgba(255, 255, 255, 0)")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
//协议统计分析
|
//协议统计分析
|
||||||
function echart_1(rs) {
|
function echart_1(rs) {
|
||||||
@@ -340,7 +351,7 @@
|
|||||||
name: ' ',
|
name: ' ',
|
||||||
colorByPoint: true,
|
colorByPoint: true,
|
||||||
data: data
|
data: data
|
||||||
}],
|
}]
|
||||||
// drilldown:{
|
// drilldown:{
|
||||||
// activeAxisLabelStyle:{
|
// activeAxisLabelStyle:{
|
||||||
// textDecoration:'none',
|
// textDecoration:'none',
|
||||||
|
|||||||
Reference in New Issue
Block a user