{"action":"created","issue":{"url":"https://api.github.com/repos/highslide-software/highcharts.com/issues/4529","labels_url":"https://api.github.com/repos/highslide-software/highcharts.com/issues/4529/labels{/name}","comments_url":"https://api.github.com/repos/highslide-software/highcharts.com/issues/4529/comments","events_url":"https://api.github.com/repos/highslide-software/highcharts.com/issues/4529/events","html_url":"https://github.com/highslide-software/highcharts.com/issues/4529","id":104460578,"number":4529,"title":"Boost module: error with pie charts","user":{"login":"limkinZero","id":14091407,"avatar_url":"https://avatars.githubusercontent.com/u/14091407?v=3","gravatar_id":"","url":"https://api.github.com/users/limkinZero","html_url":"https://github.com/limkinZero","followers_url":"https://api.github.com/users/limkinZero/followers","following_url":"https://api.github.com/users/limkinZero/following{/other_user}","gists_url":"https://api.github.com/users/limkinZero/gists{/gist_id}","starred_url":"https://api.github.com/users/limkinZero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/limkinZero/subscriptions","organizations_url":"https://api.github.com/users/limkinZero/orgs","repos_url":"https://api.github.com/users/limkinZero/repos","events_url":"https://api.github.com/users/limkinZero/events{/privacy}","received_events_url":"https://api.github.com/users/limkinZero/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-02T11:36:11Z","updated_at":"2015-09-02T12:02:31Z","closed_at":"2015-09-02T12:00:00Z","body":"Hi,\r\n\r\nI know it this module only used when you have too much data with line, column, area charts but when i push the file boost.js in my project I'm having errors at init pie charts because it hasn´t xAxis.\r\n```\r\nhasExtremes: function (checkX) {\r\n            var options = this.options,\r\n                data = options.data,\r\n                xAxis = this.xAxis.options,\r\n                yAxis = this.yAxis.options;\r\n```\r\nThe error is: \r\nTypeError: Cannot read property 'options' of undefined\r\n    at Object.H.extend.hasExtremes (http://localhost:18080/test/?serverAction=full-screen-js:122179:35)\r\n\r\nHow could I used the boost module without affecting the type pie charts?"},"comment":{"url":"https://api.github.com/repos/highslide-software/highcharts.com/issues/comments/137048091","html_url":"https://github.com/highslide-software/highcharts.com/issues/4529#issuecomment-137048091","issue_url":"https://api.github.com/repos/highslide-software/highcharts.com/issues/4529","id":137048091,"user":{"login":"highslide-software","id":227836,"avatar_url":"https://avatars.githubusercontent.com/u/227836?v=3","gravatar_id":"","url":"https://api.github.com/users/highslide-software","html_url":"https://github.com/highslide-software","followers_url":"https://api.github.com/users/highslide-software/followers","following_url":"https://api.github.com/users/highslide-software/following{/other_user}","gists_url":"https://api.github.com/users/highslide-software/gists{/gist_id}","starred_url":"https://api.github.com/users/highslide-software/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/highslide-software/subscriptions","organizations_url":"https://api.github.com/users/highslide-software/orgs","repos_url":"https://api.github.com/users/highslide-software/repos","events_url":"https://api.github.com/users/highslide-software/events{/privacy}","received_events_url":"https://api.github.com/users/highslide-software/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T12:02:31Z","updated_at":"2015-09-02T12:02:31Z","body":"Until the next maintenance release, add this snippet to your page to work around the issue:\r\n\r\n```js\r\nHighcharts.wrap(Highcharts.Series.prototype, 'hasExtremes', function (proceed, checkX) {\r\n    if (this.xAxis && this.yAxis) {\r\n        return proceed.call(this, checkX);\r\n    } else {\r\n        return false;\r\n    }\r\n});\r\n```\r\n\r\n[View live demo](http://jsfiddle.net/highcharts/7teteh1n/)."}}