forked from highcharts/highcharts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpatch.patch
More file actions
23 lines (21 loc) · 717 Bytes
/
Copy pathpatch.patch
File metadata and controls
23 lines (21 loc) · 717 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
diff --git a/js/highcharts.src.js b/js/highcharts.src.js
index 7fced61..7efbcc1 100644
--- a/js/highcharts.src.js
+++ b/js/highcharts.src.js
@@ -3634,8 +3634,7 @@ SVGRenderer.prototype = {
renderer.height = height;
renderer.boxWrapper[pick(animate, true) ? 'animate' : 'attr']({
- width: width,
- height: height
+ viewBox: '0 0 ' + width + ' ' + height
});
while (i--) {
@@ -11832,7 +11831,7 @@ Chart.prototype = {
position: RELATIVE,
overflow: HIDDEN, // needed for context menu (avoid scrollbars) and
// content overflow in IE
- width: chartWidth + PX,
+ //width: chartWidth + PX,
height: chartHeight + PX,
textAlign: 'left',
lineHeight: 'normal', // #427