We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eefaa42 commit 3377a57Copy full SHA for 3377a57
src/create.js
@@ -20,7 +20,7 @@ function create(tagName, Highcharts) {
20
if (isRenderer) {
21
this.renderer = new Ctor(this.$el, this.width, this.height);
22
} else {
23
- var opts = JSON.parse(JSON.stringify(this.options));
+ var opts = this.options || {};
24
opts.chart = opts.chart || {};
25
opts.chart.renderTo = this.$el;
26
this.chart = new Ctor(opts);
0 commit comments