Skip to content

Instantly share code, notes, and snippets.

View TorsteinHonsi's full-sized avatar

Torstein Hønsi TorsteinHonsi

View GitHub Profile
// ==ClosureCompiler==
// @compilation_level SIMPLE_OPTIMIZATIONS
/**
* @license Highcharts JS v5.0-dev (2016-03-21)
*
* (c) 2009-2016 Torstein Honsi
*
* License: www.highcharts.com/license
*/
diff --git a/js/parts/Scroller.js b/js/parts/Scroller.js
index c96ae0a..4a3515f 100644
--- a/js/parts/Scroller.js
+++ b/js/parts/Scroller.js
@@ -867,13 +867,20 @@ Navigator.prototype = {
baseDataMin = baseExtremes.dataMin,
baseDataMax = baseExtremes.dataMax,
range = baseMax - baseMin,
- stickToMin = this.stickToMin,
- stickToMax = this.stickToMax,
diff --git a/js/modules/boost.src.js b/js/modules/boost.src.js
index 5547019..98c62f4 100644
--- a/js/modules/boost.src.js
+++ b/js/modules/boost.src.js
@@ -209,27 +209,29 @@ H.extend(Series.prototype, {
var chart = this.chart,
width = chart.plotWidth,
height = chart.plotHeight,
- ctx = this.ctx,
+ ctx = chart.ctx,
diff --git a/js/parts-more/Pane.js b/js/parts-more/Pane.js
index 76638b1..44e155d 100644
--- a/js/parts-more/Pane.js
+++ b/js/parts-more/Pane.js
@@ -22,6 +22,8 @@ function Pane(options, chart, firstAxis) {
// Extend the Pane prototype
extend(Pane.prototype, {
+ coll: 'pane', // Member of chart.pane
+