highstock-rails 2.1.10 → 5.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/css/highcharts.css +760 -0
  3. data/app/assets/javascripts/highstock.js +511 -419
  4. data/app/assets/javascripts/highstock/highstock.js +472 -0
  5. data/app/assets/javascripts/highstock/highstock.js.map +8 -0
  6. data/app/assets/javascripts/highstock/highstock.src.js +28809 -0
  7. data/app/assets/javascripts/highstock/modules/accessibility.js +48 -0
  8. data/app/assets/javascripts/highstock/modules/accessibility.js.map +8 -0
  9. data/app/assets/javascripts/highstock/modules/accessibility.src.js +1131 -0
  10. data/app/assets/javascripts/highstock/modules/annotations.js +14 -0
  11. data/app/assets/javascripts/highstock/modules/annotations.js.map +8 -0
  12. data/app/assets/javascripts/highstock/modules/annotations.src.js +407 -0
  13. data/app/assets/javascripts/highstock/modules/boost-canvas.js +23 -0
  14. data/app/assets/javascripts/highstock/modules/boost-canvas.js.map +8 -0
  15. data/app/assets/javascripts/highstock/modules/boost-canvas.src.js +771 -0
  16. data/app/assets/javascripts/highstock/modules/boost.js +51 -12
  17. data/app/assets/javascripts/highstock/modules/boost.js.map +8 -0
  18. data/app/assets/javascripts/highstock/modules/boost.src.js +2580 -492
  19. data/app/assets/javascripts/highstock/modules/broken-axis.js.map +8 -0
  20. data/app/assets/javascripts/highstock/modules/canvasrenderer.experimental.js.map +8 -0
  21. data/app/assets/javascripts/highstock/modules/data.js +19 -19
  22. data/app/assets/javascripts/highstock/modules/data.js.map +8 -0
  23. data/app/assets/javascripts/highstock/modules/data.src.js +974 -950
  24. data/app/assets/javascripts/highstock/modules/drilldown.js +25 -17
  25. data/app/assets/javascripts/highstock/modules/drilldown.js.map +8 -0
  26. data/app/assets/javascripts/highstock/modules/drilldown.src.js +790 -709
  27. data/app/assets/javascripts/highstock/modules/export-data.js +17 -0
  28. data/app/assets/javascripts/highstock/modules/export-data.js.map +8 -0
  29. data/app/assets/javascripts/highstock/modules/export-data.src.js +417 -0
  30. data/app/assets/javascripts/highstock/modules/exporting.js +21 -18
  31. data/app/assets/javascripts/highstock/modules/exporting.js.map +8 -0
  32. data/app/assets/javascripts/highstock/modules/exporting.src.js +1013 -768
  33. data/app/assets/javascripts/highstock/modules/funnel.js +6 -7
  34. data/app/assets/javascripts/highstock/modules/funnel.js.map +8 -0
  35. data/app/assets/javascripts/highstock/modules/funnel.src.js +284 -308
  36. data/app/assets/javascripts/highstock/modules/gantt.js +24 -0
  37. data/app/assets/javascripts/highstock/modules/gantt.js.map +8 -0
  38. data/app/assets/javascripts/highstock/modules/gantt.src.js +793 -0
  39. data/app/assets/javascripts/highstock/modules/grid-axis.js +19 -0
  40. data/app/assets/javascripts/highstock/modules/grid-axis.js.map +8 -0
  41. data/app/assets/javascripts/highstock/modules/grid-axis.src.js +545 -0
  42. data/app/assets/javascripts/highstock/modules/heatmap.js +20 -18
  43. data/app/assets/javascripts/highstock/modules/heatmap.js.map +8 -0
  44. data/app/assets/javascripts/highstock/modules/heatmap.src.js +738 -633
  45. data/app/assets/javascripts/highstock/modules/map-parser.js.map +8 -0
  46. data/app/assets/javascripts/highstock/modules/map.js.map +8 -0
  47. data/app/assets/javascripts/highstock/modules/no-data-to-display.js +5 -5
  48. data/app/assets/javascripts/highstock/modules/no-data-to-display.js.map +8 -0
  49. data/app/assets/javascripts/highstock/modules/no-data-to-display.src.js +140 -133
  50. data/app/assets/javascripts/highstock/modules/offline-exporting.js +12 -7
  51. data/app/assets/javascripts/highstock/modules/offline-exporting.js.map +8 -0
  52. data/app/assets/javascripts/highstock/modules/offline-exporting.src.js +543 -270
  53. data/app/assets/javascripts/highstock/modules/overlapping-datalabels.js +10 -0
  54. data/app/assets/javascripts/highstock/modules/overlapping-datalabels.js.map +8 -0
  55. data/app/assets/javascripts/highstock/modules/overlapping-datalabels.src.js +187 -0
  56. data/app/assets/javascripts/highstock/modules/series-label.js +19 -0
  57. data/app/assets/javascripts/highstock/modules/series-label.js.map +8 -0
  58. data/app/assets/javascripts/highstock/modules/series-label.src.js +606 -0
  59. data/app/assets/javascripts/highstock/modules/solid-gauge.js +9 -8
  60. data/app/assets/javascripts/highstock/modules/solid-gauge.js.map +8 -0
  61. data/app/assets/javascripts/highstock/modules/solid-gauge.src.js +334 -266
  62. data/app/assets/javascripts/highstock/modules/static-scale.js +12 -0
  63. data/app/assets/javascripts/highstock/modules/static-scale.js.map +8 -0
  64. data/app/assets/javascripts/highstock/modules/static-scale.src.js +64 -0
  65. data/app/assets/javascripts/highstock/modules/stock.js +123 -0
  66. data/app/assets/javascripts/highstock/modules/stock.js.map +8 -0
  67. data/app/assets/javascripts/highstock/modules/stock.src.js +6247 -0
  68. data/app/assets/javascripts/highstock/modules/treemap.js +22 -23
  69. data/app/assets/javascripts/highstock/modules/treemap.js.map +8 -0
  70. data/app/assets/javascripts/highstock/modules/treemap.src.js +884 -859
  71. data/app/assets/javascripts/highstock/modules/xrange-series.js +15 -0
  72. data/app/assets/javascripts/highstock/modules/xrange-series.js.map +8 -0
  73. data/app/assets/javascripts/highstock/modules/xrange-series.src.js +258 -0
  74. data/app/assets/javascripts/highstock/themes/dark-blue.js +307 -244
  75. data/app/assets/javascripts/highstock/themes/dark-green.js +303 -244
  76. data/app/assets/javascripts/highstock/themes/dark-unica.js +231 -201
  77. data/app/assets/javascripts/highstock/themes/gray.js +314 -245
  78. data/app/assets/javascripts/highstock/themes/grid-light.js +91 -66
  79. data/app/assets/javascripts/highstock/themes/grid.js +124 -96
  80. data/app/assets/javascripts/highstock/themes/sand-signika.js +119 -94
  81. data/app/assets/javascripts/highstock/themes/skies.js +108 -85
  82. data/lib/highstock/rails/version.rb +1 -1
  83. metadata +54 -11
  84. data/app/assets/javascripts/highstock/adapters/standalone-framework.js +0 -18
  85. data/app/assets/javascripts/highstock/adapters/standalone-framework.src.js +0 -635
  86. data/app/assets/javascripts/highstock/highcharts-3d.js +0 -48
  87. data/app/assets/javascripts/highstock/highcharts-3d.src.js +0 -1711
  88. data/app/assets/javascripts/highstock/highcharts-more.js +0 -55
  89. data/app/assets/javascripts/highstock/highstock-all.js +0 -637
  90. data/app/assets/javascripts/highstock/modules/canvas-tools.js +0 -133
  91. data/app/assets/javascripts/highstock/modules/canvas-tools.src.js +0 -3114
@@ -0,0 +1,14 @@
1
+ /*
2
+ Highcharts JS v5.0.11 (2017-05-04)
3
+
4
+ (c) 2009-2017 Torstein Honsi
5
+
6
+ License: www.highcharts.com/license
7
+ */
8
+ (function(n){"object"===typeof module&&module.exports?module.exports=n:n(Highcharts)})(function(n){(function(e){function n(a,c,b,f,e){for(var d=a.length,g=0;g<d;)k(a[g])&&k(a[g+1])?(a[g]=c.toPixels(a[g])-f,a[g+1]=b.toPixels(a[g+1])-e,g+=2):g+=1;return a}var p=e.defined,k=e.isNumber,t=e.inArray,A=e.isArray,B=e.merge,C=e.Chart,u=e.extend,D=e.each,q,E;E=["path","rect","circle"];q={top:0,left:0,center:.5,middle:.5,bottom:1,right:1};var F=function(){this.init.apply(this,arguments)};F.prototype={init:function(a,
9
+ c){var b=c.shape&&c.shape.type;this.chart=a;var f;f={xAxis:0,yAxis:0,title:{style:{},text:"",x:0,y:0},shape:{params:{stroke:"#000000",fill:"transparent",strokeWidth:2}}};a={circle:{params:{x:0,y:0}}};a[b]&&(f.shape=B(f.shape,a[b]));this.options=B({},f,c)},render:function(a){var c=this.chart,b=this.chart.renderer,f=this.group,e=this.title,d=this.shape,g=this.options,k=g.title,m=g.shape;f||(f=this.group=b.g());!d&&m&&-1!==t(m.type,E)&&(d=this.shape=b[g.shape.type](m.params),d.add(f));!e&&k&&(e=this.title=
10
+ b.label(k),e.add(f));f.add(c.annotations.group);this.linkObjects();!1!==a&&this.redraw()},redraw:function(){var a=this.options,c=this.chart,b=this.group,f=this.title,z=this.shape,d=this.linkedObject,g=c.xAxis[a.xAxis],v=c.yAxis[a.yAxis],c=a.width,m=a.height,w=q[a.anchorY],x=q[a.anchorX],h,y,l,r;d&&(y=d instanceof e.Point?"point":d instanceof e.Series?"series":null,"point"===y?(a.xValue=d.x,a.yValue=d.y,l=d.series):"series"===y&&(l=d),b.visibility!==l.group.visibility&&b.attr({visibility:l.group.visibility}));
11
+ d=p(a.xValue)?g.toPixels(a.xValue+g.minPointOffset)-g.minPixelPadding:a.x;l=p(a.yValue)?v.toPixels(a.yValue):a.y;k(d)&&k(l)&&(f&&(f.attr(a.title),f.css(a.title.style)),z&&(h=u({},a.shape.params),"values"===a.units&&(e.objectEach(h,function(a,b){-1<t(b,["width","x"])?h[b]=g.translate(h[b]):-1<t(b,["height","y"])&&(h[b]=v.translate(h[b]))}),h.width&&(h.width-=g.toPixels(0)-g.left),h.x&&(h.x+=g.minPixelPadding),"path"===a.shape.type&&n(h.d,g,v,d,l)),"circle"===a.shape.type&&(h.x+=h.r,h.y+=h.r),z.attr(h)),
12
+ b.bBox=null,k(c)||(r=b.getBBox(),c=r.width),k(m)||(r||(r=b.getBBox()),m=r.height),k(x)||(x=q.center),k(w)||(w=q.center),d-=c*x,l-=m*w,p(b.translateX)&&p(b.translateY)?b.animate({translateX:d,translateY:l}):b.translate(d,l))},destroy:function(){var a=this,c=this.chart.annotations.allItems,b=c.indexOf(a);-1<b&&c.splice(b,1);D(["title","shape","group"],function(b){a[b]&&(a[b].destroy(),a[b]=null)});a.group=a.title=a.shape=a.chart=a.options=null},update:function(a,c){u(this.options,a);this.linkObjects();
13
+ this.render(c)},linkObjects:function(){var a=this.chart,c=this.linkedObject,b=c&&(c.id||c.options.id),f=this.options.linkedTo;p(f)?p(c)&&f===b||(this.linkedObject=a.get(f)):this.linkedObject=null}};u(C.prototype,{annotations:{add:function(a,c){var b=this.allItems,f=this.chart,e,d;A(a)||(a=[a]);for(d=a.length;d--;)e=new F(f,a[d]),b.push(e),e.render(c)},redraw:function(){D(this.allItems,function(a){a.redraw()})}}});C.prototype.callbacks.push(function(a){var c=a.options.annotations,b;b=a.renderer.g("annotations");
14
+ b.attr({zIndex:7});b.add();a.annotations.allItems=[];a.annotations.chart=a;a.annotations.group=b;A(c)&&0<c.length&&a.annotations.add(a.options.annotations);e.addEvent(a,"redraw",function(){a.annotations.redraw()})})})(n)});
@@ -0,0 +1,8 @@
1
+ {
2
+ "version":3,
3
+ "file":"",
4
+ "lineCount":14,
5
+ "mappings":"A;;;;;;;AAQC,SAAQ,CAACA,CAAD,CAAU,CACO,QAAtB,GAAI,MAAOC,OAAX,EAAkCA,MAAAC,QAAlC,CACID,MAAAC,QADJ,CACqBF,CADrB,CAGIA,CAAA,CAAQG,UAAR,CAJW,CAAlB,CAAA,CAMC,QAAQ,CAACA,CAAD,CAAa,CAClB,SAAQ,CAACC,CAAD,CAAI,CAoETC,QAASA,EAAa,CAACC,CAAD,CAAIC,CAAJ,CAAWC,CAAX,CAAkBC,CAAlB,CAA2BC,CAA3B,CAAoC,CAItD,IAJsD,IAClDC,EAAML,CAAAM,OAD4C,CAElDC,EAAI,CAER,CAAOA,CAAP,CAAWF,CAAX,CAAA,CACQG,CAAA,CAASR,CAAA,CAAEO,CAAF,CAAT,CAAJ,EAAsBC,CAAA,CAASR,CAAA,CAAEO,CAAF,CAAM,CAAN,CAAT,CAAtB,EACIP,CAAA,CAAEO,CAAF,CAEA,CAFON,CAAAQ,SAAA,CAAeT,CAAA,CAAEO,CAAF,CAAf,CAEP,CAF8BJ,CAE9B,CADAH,CAAA,CAAEO,CAAF,CAAM,CAAN,CACA,CADWL,CAAAO,SAAA,CAAeT,CAAA,CAAEO,CAAF,CAAM,CAAN,CAAf,CACX,CADsCH,CACtC,CAAAG,CAAA,EAAK,CAHT,EAKIA,CALJ,EAKS,CAIb,OAAOP,EAd+C,CApEjD,IAOLU,EAAUZ,CAAAY,QAPL,CAQLF,EAAWV,CAAAU,SARN,CASLG,EAAUb,CAAAa,QATL,CAULC,EAAUd,CAAAc,QAVL,CAWLC,EAAQf,CAAAe,MAXH,CAYLC,EAAQhB,CAAAgB,MAZH,CAaLC,EAASjB,CAAAiB,OAbJ,CAcLC,EAAOlB,CAAAkB,KAdF,CAgBLC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D6B,CAEvCL,CAEJA,EAAA,CAAQpB,CAAAkB,SAAAI,EAAA,CAAiB,aAAjB,CACRF;CAAAsB,KAAA,CAAW,CACP4B,OAAQ,CADD,CAAX,CAGAlD,EAAAG,IAAA,EAGAvB,EAAAyB,YAAAiC,SAAA,CAA6B,EAG7B1D,EAAAyB,YAAAzB,MAAA,CAA0BA,CAG1BA,EAAAyB,YAAAL,MAAA,CAA0BA,CAEtBtC,EAAA,CAAQmB,CAAR,CAAJ,EAAyC,CAAzC,CAAwBA,CAAAzB,OAAxB,EACIwB,CAAAyB,YAAAF,IAAA,CAAsBvB,CAAAC,QAAAwB,YAAtB,CAIJzD,EAAAuG,SAAA,CAAWvE,CAAX,CAAkB,QAAlB,CAA4B,QAAQ,EAAG,CACnCA,CAAAyB,YAAAR,OAAA,EADmC,CAAvC,CAxB2C,CAA/C,CAzWS,CAAZ,CAAA,CAsYClD,CAtYD,CADkB,CANtB;",
6
+ "sources":["Input_0"],
7
+ "names":["factory","module","exports","Highcharts","H","translatePath","d","xAxis","yAxis","xOffset","yOffset","len","length","i","isNumber","toPixels","defined","inArray","isArray","merge","Chart","extend","each","ALIGN_FACTOR","ALLOWED_SHAPES","top","left","center","middle","bottom","right","Annotation","init","apply","arguments","prototype","chart","options","shapeType","shape","type","title","style","text","x","y","params","stroke","fill","strokeWidth","shapeOptions","circle","render","redraw","renderer","annotation","group","titleOptions","g","add","label","annotations","linkObjects","linkedTo","linkedObject","width","height","anchorY","anchorX","shapeParams","linkType","series","bbox","Point","Series","xValue","yValue","visibility","attr","minPointOffset","minPixelPadding","css","units","objectEach","val","param","translate","r","bBox","getBBox","translateX","translateY","animate","destroy","allItems","index","indexOf","splice","element","update","linkedId","id","get","item","push","callbacks","zIndex","addEvent"]
8
+ }
@@ -0,0 +1,407 @@
1
+ /**
2
+ * @license Highcharts JS v5.0.11 (2017-05-04)
3
+ *
4
+ * (c) 2009-2017 Torstein Honsi
5
+ *
6
+ * License: www.highcharts.com/license
7
+ */
8
+ 'use strict';
9
+ (function(factory) {
10
+ if (typeof module === 'object' && module.exports) {
11
+ module.exports = factory;
12
+ } else {
13
+ factory(Highcharts);
14
+ }
15
+ }(function(Highcharts) {
16
+ (function(H) {
17
+ /**
18
+ * (c) 2009-2017 Torstein Honsi
19
+ *
20
+ * License: www.highcharts.com/license
21
+ */
22
+
23
+ var defined = H.defined,
24
+ isNumber = H.isNumber,
25
+ inArray = H.inArray,
26
+ isArray = H.isArray,
27
+ merge = H.merge,
28
+ Chart = H.Chart,
29
+ extend = H.extend,
30
+ each = H.each;
31
+
32
+ var ALIGN_FACTOR,
33
+ ALLOWED_SHAPES;
34
+
35
+ ALLOWED_SHAPES = ['path', 'rect', 'circle'];
36
+
37
+ ALIGN_FACTOR = {
38
+ top: 0,
39
+ left: 0,
40
+ center: 0.5,
41
+ middle: 0.5,
42
+ bottom: 1,
43
+ right: 1
44
+ };
45
+
46
+ function defaultOptions(shapeType) {
47
+ var shapeOptions,
48
+ options;
49
+
50
+ options = {
51
+ xAxis: 0,
52
+ yAxis: 0,
53
+ title: {
54
+ style: {},
55
+ text: '',
56
+ x: 0,
57
+ y: 0
58
+ },
59
+ shape: {
60
+ params: {
61
+ stroke: '#000000',
62
+ fill: 'transparent',
63
+ strokeWidth: 2
64
+ }
65
+ }
66
+ };
67
+
68
+ shapeOptions = {
69
+ circle: {
70
+ params: {
71
+ x: 0,
72
+ y: 0
73
+ }
74
+ }
75
+ };
76
+
77
+ if (shapeOptions[shapeType]) {
78
+ options.shape = merge(options.shape, shapeOptions[shapeType]);
79
+ }
80
+
81
+ return options;
82
+ }
83
+
84
+ function translatePath(d, xAxis, yAxis, xOffset, yOffset) {
85
+ var len = d.length,
86
+ i = 0;
87
+
88
+ while (i < len) {
89
+ if (isNumber(d[i]) && isNumber(d[i + 1])) {
90
+ d[i] = xAxis.toPixels(d[i]) - xOffset;
91
+ d[i + 1] = yAxis.toPixels(d[i + 1]) - yOffset;
92
+ i += 2;
93
+ } else {
94
+ i += 1;
95
+ }
96
+ }
97
+
98
+ return d;
99
+ }
100
+
101
+
102
+ // Define annotation prototype
103
+ var Annotation = function() {
104
+ this.init.apply(this, arguments);
105
+ };
106
+ Annotation.prototype = {
107
+ /*
108
+ * Initialize the annotation
109
+ */
110
+ init: function(chart, options) {
111
+ var shapeType = options.shape && options.shape.type;
112
+
113
+ this.chart = chart;
114
+ this.options = merge({}, defaultOptions(shapeType), options);
115
+ },
116
+
117
+ /*
118
+ * Render the annotation
119
+ */
120
+ render: function(redraw) {
121
+ var annotation = this,
122
+ chart = this.chart,
123
+ renderer = annotation.chart.renderer,
124
+ group = annotation.group,
125
+ title = annotation.title,
126
+ shape = annotation.shape,
127
+ options = annotation.options,
128
+ titleOptions = options.title,
129
+ shapeOptions = options.shape;
130
+
131
+ if (!group) {
132
+ group = annotation.group = renderer.g();
133
+ }
134
+
135
+
136
+ if (!shape && shapeOptions && inArray(shapeOptions.type, ALLOWED_SHAPES) !== -1) {
137
+ shape = annotation.shape = renderer[options.shape.type](shapeOptions.params);
138
+ shape.add(group);
139
+ }
140
+
141
+ if (!title && titleOptions) {
142
+ title = annotation.title = renderer.label(titleOptions);
143
+ title.add(group);
144
+ }
145
+
146
+ group.add(chart.annotations.group);
147
+
148
+ // link annotations to point or series
149
+ annotation.linkObjects();
150
+
151
+ if (redraw !== false) {
152
+ annotation.redraw();
153
+ }
154
+ },
155
+
156
+ /*
157
+ * Redraw the annotation title or shape after options update
158
+ */
159
+ redraw: function() {
160
+ var options = this.options,
161
+ chart = this.chart,
162
+ group = this.group,
163
+ title = this.title,
164
+ shape = this.shape,
165
+ linkedTo = this.linkedObject,
166
+ xAxis = chart.xAxis[options.xAxis],
167
+ yAxis = chart.yAxis[options.yAxis],
168
+ width = options.width,
169
+ height = options.height,
170
+ anchorY = ALIGN_FACTOR[options.anchorY],
171
+ anchorX = ALIGN_FACTOR[options.anchorX],
172
+ shapeParams,
173
+ linkType,
174
+ series,
175
+ bbox,
176
+ x,
177
+ y;
178
+
179
+ if (linkedTo) {
180
+ linkType = (linkedTo instanceof H.Point) ? 'point' :
181
+ (linkedTo instanceof H.Series) ? 'series' : null;
182
+
183
+ if (linkType === 'point') {
184
+ options.xValue = linkedTo.x;
185
+ options.yValue = linkedTo.y;
186
+ series = linkedTo.series;
187
+ } else if (linkType === 'series') {
188
+ series = linkedTo;
189
+ }
190
+
191
+ if (group.visibility !== series.group.visibility) {
192
+ group.attr({
193
+ visibility: series.group.visibility
194
+ });
195
+ }
196
+ }
197
+
198
+
199
+ // Based on given options find annotation pixel position
200
+ x = (defined(options.xValue) ? xAxis.toPixels(options.xValue + xAxis.minPointOffset) - xAxis.minPixelPadding : options.x);
201
+ y = defined(options.yValue) ? yAxis.toPixels(options.yValue) : options.y;
202
+
203
+ if (!isNumber(x) || !isNumber(y)) {
204
+ return;
205
+ }
206
+
207
+
208
+ if (title) {
209
+ title.attr(options.title);
210
+ title.css(options.title.style);
211
+ }
212
+
213
+ if (shape) {
214
+ shapeParams = extend({}, options.shape.params);
215
+
216
+ if (options.units === 'values') {
217
+ H.objectEach(shapeParams, function(val, param) {
218
+ if (inArray(param, ['width', 'x']) > -1) {
219
+ shapeParams[param] = xAxis.translate(shapeParams[param]);
220
+ } else if (inArray(param, ['height', 'y']) > -1) {
221
+ shapeParams[param] = yAxis.translate(shapeParams[param]);
222
+ }
223
+ });
224
+
225
+ if (shapeParams.width) {
226
+ shapeParams.width -= xAxis.toPixels(0) - xAxis.left;
227
+ }
228
+
229
+ if (shapeParams.x) {
230
+ shapeParams.x += xAxis.minPixelPadding;
231
+ }
232
+
233
+ if (options.shape.type === 'path') {
234
+ translatePath(shapeParams.d, xAxis, yAxis, x, y);
235
+ }
236
+ }
237
+
238
+ // move the center of the circle to shape x/y
239
+ if (options.shape.type === 'circle') {
240
+ shapeParams.x += shapeParams.r;
241
+ shapeParams.y += shapeParams.r;
242
+ }
243
+
244
+ shape.attr(shapeParams);
245
+ }
246
+
247
+ group.bBox = null;
248
+
249
+ // If annotation width or height is not defined in options use bounding box size
250
+ if (!isNumber(width)) {
251
+ bbox = group.getBBox();
252
+ width = bbox.width;
253
+ }
254
+
255
+ if (!isNumber(height)) {
256
+ // get bbox only if it wasn't set before
257
+ if (!bbox) {
258
+ bbox = group.getBBox();
259
+ }
260
+
261
+ height = bbox.height;
262
+ }
263
+
264
+ // Calculate anchor point
265
+ if (!isNumber(anchorX)) {
266
+ anchorX = ALIGN_FACTOR.center;
267
+ }
268
+
269
+ if (!isNumber(anchorY)) {
270
+ anchorY = ALIGN_FACTOR.center;
271
+ }
272
+
273
+ // Translate group according to its dimension and anchor point
274
+ x = x - width * anchorX;
275
+ y = y - height * anchorY;
276
+
277
+ if (defined(group.translateX) && defined(group.translateY)) {
278
+ group.animate({
279
+ translateX: x,
280
+ translateY: y
281
+ });
282
+ } else {
283
+ group.translate(x, y);
284
+ }
285
+ },
286
+
287
+ /*
288
+ * Destroy the annotation
289
+ */
290
+ destroy: function() {
291
+ var annotation = this,
292
+ chart = this.chart,
293
+ allItems = chart.annotations.allItems,
294
+ index = allItems.indexOf(annotation);
295
+
296
+ if (index > -1) {
297
+ allItems.splice(index, 1);
298
+ }
299
+
300
+ each(['title', 'shape', 'group'], function(element) {
301
+ if (annotation[element]) {
302
+ annotation[element].destroy();
303
+ annotation[element] = null;
304
+ }
305
+ });
306
+
307
+ annotation.group = annotation.title = annotation.shape = annotation.chart = annotation.options = null;
308
+ },
309
+
310
+ /*
311
+ * Update the annotation with a given options
312
+ */
313
+ update: function(options, redraw) {
314
+ extend(this.options, options);
315
+
316
+ // update link to point or series
317
+ this.linkObjects();
318
+
319
+ this.render(redraw);
320
+ },
321
+
322
+ linkObjects: function() {
323
+ var annotation = this,
324
+ chart = annotation.chart,
325
+ linkedTo = annotation.linkedObject,
326
+ linkedId = linkedTo && (linkedTo.id || linkedTo.options.id),
327
+ options = annotation.options,
328
+ id = options.linkedTo;
329
+
330
+ if (!defined(id)) {
331
+ annotation.linkedObject = null;
332
+ } else if (!defined(linkedTo) || id !== linkedId) {
333
+ annotation.linkedObject = chart.get(id);
334
+ }
335
+ }
336
+ };
337
+
338
+
339
+ // Add annotations methods to chart prototype
340
+ extend(Chart.prototype, {
341
+ annotations: {
342
+ /*
343
+ * Unified method for adding annotations to the chart
344
+ */
345
+ add: function(options, redraw) {
346
+ var annotations = this.allItems,
347
+ chart = this.chart,
348
+ item,
349
+ len;
350
+
351
+ if (!isArray(options)) {
352
+ options = [options];
353
+ }
354
+
355
+ len = options.length;
356
+
357
+ while (len--) {
358
+ item = new Annotation(chart, options[len]);
359
+ annotations.push(item);
360
+ item.render(redraw);
361
+ }
362
+ },
363
+
364
+ /**
365
+ * Redraw all annotations, method used in chart events
366
+ */
367
+ redraw: function() {
368
+ each(this.allItems, function(annotation) {
369
+ annotation.redraw();
370
+ });
371
+ }
372
+ }
373
+ });
374
+
375
+
376
+ // Initialize on chart load
377
+ Chart.prototype.callbacks.push(function(chart) {
378
+ var options = chart.options.annotations,
379
+ group;
380
+
381
+ group = chart.renderer.g('annotations');
382
+ group.attr({
383
+ zIndex: 7
384
+ });
385
+ group.add();
386
+
387
+ // initialize empty array for annotations
388
+ chart.annotations.allItems = [];
389
+
390
+ // link chart object to annotations
391
+ chart.annotations.chart = chart;
392
+
393
+ // link annotations group element to the chart
394
+ chart.annotations.group = group;
395
+
396
+ if (isArray(options) && options.length > 0) {
397
+ chart.annotations.add(chart.options.annotations);
398
+ }
399
+
400
+ // update annotations after chart redraw
401
+ H.addEvent(chart, 'redraw', function() {
402
+ chart.annotations.redraw();
403
+ });
404
+ });
405
+
406
+ }(Highcharts));
407
+ }));
@@ -0,0 +1,23 @@
1
+ /*
2
+ Highcharts JS v5.0.11 (2017-05-04)
3
+ Boost module
4
+
5
+ (c) 2010-2017 Highsoft AS
6
+ Author: Torstein Honsi
7
+
8
+ License: www.highcharts.com/license
9
+ */
10
+ (function(p){"object"===typeof module&&module.exports?module.exports=p:p(Highcharts)})(function(p){(function(d){function p(a,b,c,g,e){e=e||0;g=g||5E4;for(var d=e+g,f=!0;f&&e<d&&e<a.length;)f=b(a[e],e),e+=1;f&&(e<a.length?setTimeout(function(){p(a,b,c,g,e)}):c&&c())}function x(a){return a.series.length>=((a.options.boost?a.options.boost.seriesThreshold:0)||a.options.chart.seriesBoostThreshold||10)}var A=d.win.document,Z=function(){},aa=d.Color,m=d.Series,k=d.seriesTypes,w=d.each,B=d.extend,y=d.addEvent,
11
+ ba=d.fireEvent,r=d.isNumber,ca=d.merge,da=d.pick,n=d.wrap,L;d.initCanvasBoost=function(){d.seriesTypes.heatmap&&d.wrap(d.seriesTypes.heatmap.prototype,"drawPoints",function(){var a=this.getContext();a?(w(this.points,function(b){var c=b.plotY;void 0===c||isNaN(c)||null===b.y||(c=b.shapeArgs,b=b.pointAttr&&b.pointAttr[""]||b.series.pointAttribs(b),a.fillStyle=b.fill,a.fillRect(c.x,c.y,c.width,c.height))}),this.canvasToSVG()):this.chart.showLoading("Your browser doesn't support HTML5 canvas, \x3cbr\x3eplease use a modern browser")});
12
+ d.extend(m.prototype,{directTouch:!1,pointRange:0,allowDG:!1,hasExtremes:function(a){var b=this.options,c=this.xAxis&&this.xAxis.options,g=this.yAxis&&this.yAxis.options;return b.data.length>(b.boostThreshold||Number.MAX_VALUE)&&r(g.min)&&r(g.max)&&(!a||r(c.min)&&r(c.max))},destroyGraphics:function(){var a=this,b=this.points,c,g;if(b)for(g=0;g<b.length;g+=1)(c=b[g])&&c.graphic&&(c.graphic=c.graphic.destroy());w(["graph","area","tracker"],function(c){a[c]&&(a[c]=a[c].destroy())})},getContext:function(){var a=
13
+ this.chart,b=a.chartWidth,c=a.chartHeight,g=this.group,e=this,d,f=function(a,c,b,e,g,d,f){a.call(this,b,c,e,g,d,f)};x(a)&&(e=a,g=a.seriesGroup);d=e.ctx;e.canvas||(e.canvas=A.createElement("canvas"),e.image=a.renderer.image("",0,0,b,c).add(g),e.ctx=d=e.canvas.getContext("2d"),a.inverted&&w(["moveTo","lineTo","rect","arc"],function(a){n(d,a,f)}),e.boostClipRect=a.renderer.clipRect(a.plotLeft,a.plotTop,a.plotWidth,a.chartHeight),e.image.clip(e.boostClipRect));e.canvas.width!==b&&(e.canvas.width=b);e.canvas.height!==
14
+ c&&(e.canvas.height=c);e.image.attr({x:0,y:0,width:b,height:c,style:"pointer-events: none"});e.boostClipRect.attr({x:0,y:0,width:a.plotWidth,height:a.chartHeight});return d},canvasToSVG:function(){x(this.chart)?this.image&&this.image.attr({href:""}):this.image.attr({href:this.canvas.toDataURL("image/png")})},cvsLineTo:function(a,b,c){a.lineTo(b,c)},renderCanvas:function(){var a=this,b=a.options,c=a.chart,g=this.xAxis,e=this.yAxis,k=(c.options.boost||{}).timeRendering||!1,f,t=0,m=a.processedXData,
15
+ w=a.processedYData,n=b.data,l=g.getExtremes(),C=l.min,D=l.max,l=e.getExtremes(),x=l.min,y=l.max,M={},E,A=!!a.sampling,N,F=b.marker&&b.marker.radius,O=this.cvsDrawPoint,G=b.lineWidth?this.cvsLineTo:!1,P=F&&1>=F?this.cvsMarkerSquare:this.cvsMarkerCircle,ea=this.cvsStrokeBatch||1E3,fa=!1!==b.enableMouseTracking,Q,l=b.threshold,u=e.getThreshold(l),R=r(l),S=u,ga=this.fill,T=a.pointArrayMap&&"low,high"===a.pointArrayMap.join(","),U=!!b.stacking,ha=a.cropStart||0,l=c.options.loading,ia=a.requireSorting,
16
+ V,ja=b.connectNulls,W=!m,H,I,v,z,J,q=U?a.data:m||n,ka=a.fillOpacity?(new aa(a.color)).setOpacity(da(b.fillOpacity,.75)).get():a.color,X=function(){ga?(f.fillStyle=ka,f.fill()):(f.strokeStyle=a.color,f.lineWidth=b.lineWidth,f.stroke())},Y=function(b,e,g,d){0===t&&(f.beginPath(),G&&(f.lineJoin="round"));c.scroller&&"highcharts-navigator-series"===a.options.className?(e+=c.scroller.top,g&&(g+=c.scroller.top)):e+=c.plotTop;b+=c.plotLeft;V?f.moveTo(b,e):O?O(f,b,e,g,Q):G?G(f,b,e):P&&P.call(a,f,b,e,F,d);
17
+ t+=1;t===ea&&(X(),t=0);Q={clientX:b,plotY:e,yBottom:g}},K=function(a,b,d){J=a+","+b;fa&&!M[J]&&(M[J]=!0,c.inverted&&(a=g.len-a,b=e.len-b),N.push({clientX:a,plotX:a,plotY:b,i:ha+d}))};(this.points||this.graph)&&this.destroyGraphics();a.plotGroup("group","series",a.visible?"visible":"hidden",b.zIndex,c.seriesGroup);a.markerGroup=a.group;N=this.points=[];f=this.getContext();a.buildKDTree=Z;99999<n.length&&(c.options.loading=ca(l,{labelStyle:{backgroundColor:d.color("#ffffff").setOpacity(.75).get(),padding:"1em",
18
+ borderRadius:"0.5em"},style:{backgroundColor:"none",opacity:1}}),clearTimeout(L),c.showLoading("Drawing..."),c.options.loading=l);k&&console.time("canvas rendering");p(q,function(b,d){var f,h,k,l=!1,p=!1,m=!1,n=!1,r="undefined"===typeof c.index,t=!0;if(!r){W?(f=b[0],h=b[1],q[d+1]&&(m=q[d+1][0]),q[d-1]&&(n=q[d-1][0])):(f=b,h=w[d],q[d+1]&&(m=q[d+1]),q[d-1]&&(n=q[d-1]));m&&m>=C&&m<=D&&(l=!0);n&&n>=C&&n<=D&&(p=!0);T?(W&&(h=b.slice(1,3)),k=h[0],h=h[1]):U&&(f=b.x,h=b.stackY,k=h-b.y);b=null===h;ia||(t=h>=
19
+ x&&h<=y);if(!b&&(f>=C&&f<=D&&t||l||p))if(f=Math.round(g.toPixels(f,!0)),A){if(void 0===v||f===E){T||(k=h);if(void 0===z||h>I)I=h,z=d;if(void 0===v||k<H)H=k,v=d}f!==E&&(void 0!==v&&(h=e.toPixels(I,!0),u=e.toPixels(H,!0),Y(f,R?Math.min(h,S):h,R?Math.max(u,S):u,d),K(f,h,z),u!==h&&K(f,u,v)),v=z=void 0,E=f)}else h=Math.round(e.toPixels(h,!0)),Y(f,h,u,d),K(f,h,d);V=b&&!ja;0===d%5E4&&a.canvasToSVG()}return!r},function(){var b=c.loadingDiv,e=c.loadingShown;X();a.canvasToSVG();k&&console.timeEnd("canvas rendering");
20
+ ba(a,"renderedCanvas");e&&(B(b.style,{transition:"opacity 250ms",opacity:0}),c.loadingShown=!1,L=setTimeout(function(){b.parentNode&&b.parentNode.removeChild(b);c.loadingDiv=c.loadingSpan=null},250));a.directTouch=!1;a.options.stickyTracking=!0;delete a.buildKDTree;a.buildKDTree()},c.renderer.forExport?Number.MAX_VALUE:void 0)}});n(m.prototype,"setData",function(a){this.hasExtremes&&this.hasExtremes(!0)&&"heatmap"!==this.type||a.apply(this,Array.prototype.slice.call(arguments,1))});n(m.prototype,
21
+ "processData",function(a){this.hasExtremes&&this.hasExtremes(!0)&&"heatmap"!==this.type||a.apply(this,Array.prototype.slice.call(arguments,1))});k.scatter.prototype.cvsMarkerCircle=function(a,b,c,d){a.moveTo(b,c);a.arc(b,c,d,0,2*Math.PI,!1)};k.scatter.prototype.cvsMarkerSquare=function(a,b,c,d){a.rect(b-d,c-d,2*d,2*d)};k.scatter.prototype.fill=!0;k.bubble&&(k.bubble.prototype.cvsMarkerCircle=function(a,b,c,d,e){a.moveTo(b,c);a.arc(b,c,this.radii&&this.radii[e],0,2*Math.PI,!1)},k.bubble.prototype.cvsStrokeBatch=
22
+ 1);B(k.area.prototype,{cvsDrawPoint:function(a,b,c,d,e){e&&b!==e.clientX&&(a.moveTo(e.clientX,e.yBottom),a.lineTo(e.clientX,e.plotY),a.lineTo(b,c),a.lineTo(b,d))},fill:!0,fillOpacity:!0,sampling:!0});B(k.column.prototype,{cvsDrawPoint:function(a,b,c,d){a.rect(b-1,c,1,d-c)},fill:!0,sampling:!0});d.Chart.prototype.callbacks.push(function(a){y(a,"predraw",function(){a.image&&a.image.attr({href:""});a.canvas&&a.canvas.getContext("2d").clearRect(0,0,a.canvas.width,a.canvas.height)});y(a,"render",function(){a.image&&
23
+ a.canvas&&a.image.attr({href:a.canvas.toDataURL("image/png")})})})}})(p)});