|
@@ -844,7 +844,9 @@ export default {
|
|
|
|
|
|
let rectElement = svgDoc.querySelector('rect.highcharts-plot-background');
|
|
let rectElement = svgDoc.querySelector('rect.highcharts-plot-background');
|
|
if (rectElement) {
|
|
if (rectElement) {
|
|
- rectElement.setAttribute('fill', plotBackgroundColor);
|
|
+
|
|
|
|
+ let currentColor = plotBackgroundColor==='transparent'?'rgba(255, 255, 255, 0)':plotBackgroundColor
|
|
|
|
+ rectElement.setAttribute('fill', currentColor);
|
|
}
|
|
}
|
|
|
|
|
|
let serializer = new XMLSerializer();
|
|
let serializer = new XMLSerializer();
|