highcharts-rails 6.0.1 → 6.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.markdown +16 -0
  3. data/app/assets/javascripts/highcharts.js +188 -51
  4. data/app/assets/javascripts/highcharts/highcharts-3d.js +3 -4
  5. data/app/assets/javascripts/highcharts/highcharts-more.js +21 -5
  6. data/app/assets/javascripts/highcharts/modules/accessibility.js +4 -2
  7. data/app/assets/javascripts/highcharts/modules/annotations.js +2 -2
  8. data/app/assets/javascripts/highcharts/modules/boost-canvas.js +50 -195
  9. data/app/assets/javascripts/highcharts/modules/boost.js +202 -135
  10. data/app/assets/javascripts/highcharts/modules/broken-axis.js +1 -1
  11. data/app/assets/javascripts/highcharts/modules/bullet.js +1 -1
  12. data/app/assets/javascripts/highcharts/modules/data.js +88 -59
  13. data/app/assets/javascripts/highcharts/modules/drag-panes.js +1 -1
  14. data/app/assets/javascripts/highcharts/modules/drilldown.js +25 -2
  15. data/app/assets/javascripts/highcharts/modules/export-data.js +6 -2
  16. data/app/assets/javascripts/highcharts/modules/exporting.js +1 -1
  17. data/app/assets/javascripts/highcharts/modules/funnel.js +1 -1
  18. data/app/assets/javascripts/highcharts/modules/gantt.js +2 -2
  19. data/app/assets/javascripts/highcharts/modules/grid-axis.js +1 -1
  20. data/app/assets/javascripts/highcharts/modules/heatmap.js +826 -820
  21. data/app/assets/javascripts/highcharts/modules/histogram-bellcurve.js +1 -1
  22. data/app/assets/javascripts/highcharts/modules/item-series.js +1 -1
  23. data/app/assets/javascripts/highcharts/modules/no-data-to-display.js +1 -1
  24. data/app/assets/javascripts/highcharts/modules/offline-exporting.js +2 -2
  25. data/app/assets/javascripts/highcharts/modules/oldie.js +16 -2
  26. data/app/assets/javascripts/highcharts/modules/overlapping-datalabels.js +1 -1
  27. data/app/assets/javascripts/highcharts/modules/parallel-coordinates.js +1 -1
  28. data/app/assets/javascripts/highcharts/modules/pareto.js +1 -1
  29. data/app/assets/javascripts/highcharts/modules/sankey.js +39 -9
  30. data/app/assets/javascripts/highcharts/modules/series-label.js +8 -3
  31. data/app/assets/javascripts/highcharts/modules/solid-gauge.js +1 -1
  32. data/app/assets/javascripts/highcharts/modules/static-scale.js +6 -2
  33. data/app/assets/javascripts/highcharts/modules/stock.js +19 -47
  34. data/app/assets/javascripts/highcharts/modules/streamgraph.js +1 -1
  35. data/app/assets/javascripts/highcharts/modules/sunburst.js +40 -15
  36. data/app/assets/javascripts/highcharts/modules/tilemap.js +7 -6
  37. data/app/assets/javascripts/highcharts/modules/treemap.js +13 -3
  38. data/app/assets/javascripts/highcharts/modules/variable-pie.js +1 -1
  39. data/app/assets/javascripts/highcharts/modules/variwide.js +1 -1
  40. data/app/assets/javascripts/highcharts/modules/vector.js +1 -1
  41. data/app/assets/javascripts/highcharts/modules/windbarb.js +1 -1
  42. data/app/assets/javascripts/highcharts/modules/wordcloud.js +130 -37
  43. data/app/assets/javascripts/highcharts/modules/xrange.js +2 -2
  44. data/app/assets/javascripts/highcharts/themes/avocado.js +1 -1
  45. data/app/assets/javascripts/highcharts/themes/dark-blue.js +1 -1
  46. data/app/assets/javascripts/highcharts/themes/dark-green.js +1 -1
  47. data/app/assets/javascripts/highcharts/themes/dark-unica.js +1 -1
  48. data/app/assets/javascripts/highcharts/themes/gray.js +1 -1
  49. data/app/assets/javascripts/highcharts/themes/grid-light.js +1 -1
  50. data/app/assets/javascripts/highcharts/themes/grid.js +1 -1
  51. data/app/assets/javascripts/highcharts/themes/sand-signika.js +1 -1
  52. data/app/assets/javascripts/highcharts/themes/skies.js +1 -1
  53. data/app/assets/javascripts/highcharts/themes/sunset.js +1 -1
  54. data/lib/highcharts/version.rb +1 -1
  55. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a4a36c41d69f0539a946975164d98000c9cdfb79
4
- data.tar.gz: 8380a8a7c3fe592a7a57d673464db4df74106555
3
+ metadata.gz: 5cb0e31548e6a467e2636608fe8bde8d952a3925
4
+ data.tar.gz: 18ad33d8be87f8d4343d28f53eba01ced8f6a65f
5
5
  SHA512:
6
- metadata.gz: b861fc57a82f94f6ebf66094b64f6d230e6504b85cdff057134b35670eb1a32cda803c3ca217808f18db922a093564066f16da1b1aed059994bd8661040c5b6b
7
- data.tar.gz: 3f1d75c5207c9303e04debd7627ea374a007d2bc693c5b2e5f9f2fd58a29fc904a4ccff8064a815e8fad114af7d143e8936a79e869f97e38550d4fb9599bef62
6
+ metadata.gz: 961fe45e0571e8859bf80bea5924e653a867d7144e0d39242848e667ba145936da9dce96e2247a2129ff0611343df16a8ee13c8b8e82092e7fe003f541d9631d
7
+ data.tar.gz: 122ed8491e85a028db3cc2d0e64ad6a7facfe111f12b3418b42c5696cbbc493f3993524a0866fbd8be5cb9dcff7e569238a4e0efa55fee1b394471fd10359040
@@ -1,3 +1,19 @@
1
+ # 6.0.2 / 2017-11-10
2
+
3
+ * Update Highcharts to 6.0.2 (2017-10-20)
4
+ * Added nodeFormatter property to data labels and tooltips in the sankey diagram. Closes #7284.
5
+ * Added center algorithm, square and rectangular spirals to Wordcloud. See #7241.
6
+ * Bug fixes
7
+ * Fixed #7272, regression with columnStart in data module.
8
+ * Fixed #6103, reset zoom button not playing well with drill up button.
9
+ * Fixed #7224, legend item text not positioned properly when useHTML is enabled. Closes #7254.
10
+ * Fixed #7238, useHTML didn't have an effect with split tooltip.
11
+ * Fixed #7243, updating pie series point color didn't update connector color.
12
+ * Fixed #7260, a regression causing the legend box not being resized when dynamically adding and removing series.
13
+ * Fixed #7264, wordcloud did not support the no-data-to-display module.
14
+ * Fixed #7265, a regression with causing data.endRow to be offset by one.
15
+ * Fixed #7280, a regression causing mispositioned HTML data labels on pie charts.
16
+
1
17
  # 6.0.1 / 2017-11-10
2
18
 
3
19
  * Update Highcharts to 6.0.1 (2017-10-05)
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highcharts JS v6.0.1 (2017-10-05)
2
+ * @license Highcharts JS v6.0.2 (2017-10-20)
3
3
  *
4
4
  * (c) 2009-2016 Torstein Honsi
5
5
  *
@@ -32,7 +32,7 @@
32
32
 
33
33
  var Highcharts = win.Highcharts ? win.Highcharts.error(16, true) : {
34
34
  product: 'Highcharts',
35
- version: '6.0.1',
35
+ version: '6.0.2',
36
36
  deg2rad: Math.PI * 2 / 360,
37
37
  doc: doc,
38
38
  hasBidiBug: hasBidiBug,
@@ -81,7 +81,7 @@
81
81
  * @namespace Highcharts
82
82
  */
83
83
 
84
- var timers = [];
84
+ H.timers = [];
85
85
 
86
86
  var charts = H.charts,
87
87
  doc = H.doc,
@@ -217,6 +217,7 @@
217
217
  */
218
218
  run: function(from, to, unit) {
219
219
  var self = this,
220
+ options = self.options,
220
221
  timer = function(gotoEnd) {
221
222
  return timer.stopped ? false : self.step(gotoEnd);
222
223
  },
@@ -226,20 +227,20 @@
226
227
  setTimeout(step, 13);
227
228
  },
228
229
  step = function() {
229
- var i;
230
- for (i = 0; i < timers.length; i++) {
231
- if (!timers[i]()) {
232
- timers.splice(i--, 1);
233
- }
234
- }
230
+ H.timers = H.grep(H.timers, function(timer) {
231
+ return timer();
232
+ });
235
233
 
236
- if (timers.length) {
234
+ if (H.timers.length) {
237
235
  requestAnimationFrame(step);
238
236
  }
239
237
  };
240
238
 
241
239
  if (from === to) {
242
- delete this.options.curAnim[this.prop];
240
+ delete options.curAnim[this.prop];
241
+ if (options.complete && H.keys(options.curAnim).length === 0) {
242
+ options.complete();
243
+ }
243
244
  } else { // #7166
244
245
  this.startTime = +new Date();
245
246
  this.start = from;
@@ -251,7 +252,7 @@
251
252
  timer.elem = this.elem;
252
253
  timer.prop = this.prop;
253
254
 
254
- if (timer() && timers.push(timer) === 1) {
255
+ if (timer() && H.timers.push(timer) === 1) {
255
256
  requestAnimationFrame(step);
256
257
  }
257
258
  }
@@ -1657,6 +1658,18 @@
1657
1658
  return results;
1658
1659
  };
1659
1660
 
1661
+ /**
1662
+ * Returns an array of a given object's own properties.
1663
+ *
1664
+ * @function #keys
1665
+ * @memberOf highcharts
1666
+ * @param {Object} obj - The object of which the properties are to be returned.
1667
+ * @returns {Array} - An array of strings that represents all the properties.
1668
+ */
1669
+ H.keys = function(obj) {
1670
+ return (H.keysPolyfill || Object.keys).call(undefined, obj);
1671
+ };
1672
+
1660
1673
  /**
1661
1674
  * Reduce an array to a single value.
1662
1675
  *
@@ -1688,7 +1701,11 @@
1688
1701
  */
1689
1702
  H.offset = function(el) {
1690
1703
  var docElem = doc.documentElement,
1691
- box = el.getBoundingClientRect();
1704
+ box = el.parentElement ? // IE11 throws Unspecified error in test suite
1705
+ el.getBoundingClientRect() : {
1706
+ top: 0,
1707
+ left: 0
1708
+ };
1692
1709
 
1693
1710
  return {
1694
1711
  top: box.top + (win.pageYOffset || docElem.scrollTop) -
@@ -1716,12 +1733,12 @@
1716
1733
  */
1717
1734
  H.stop = function(el, prop) {
1718
1735
 
1719
- var i = timers.length;
1736
+ var i = H.timers.length;
1720
1737
 
1721
1738
  // Remove timers related to this element (#4519)
1722
1739
  while (i--) {
1723
- if (timers[i].elem === el && (!prop || prop === timers[i].prop)) {
1724
- timers[i].stopped = true; // #4667
1740
+ if (H.timers[i].elem === el && (!prop || prop === H.timers[i].prop)) {
1741
+ H.timers[i].stopped = true; // #4667
1725
1742
  }
1726
1743
  }
1727
1744
  };
@@ -3830,12 +3847,18 @@
3830
3847
  // Look for existing references to this clipPath and remove them
3831
3848
  // before destroying the element (#6196).
3832
3849
  each(
3833
- ownerSVGElement.querySelectorAll('[clip-path]'),
3850
+ // The upper case version is for Edge
3851
+ ownerSVGElement.querySelectorAll('[clip-path],[CLIP-PATH]'),
3834
3852
  function(el) {
3835
3853
  // Include the closing paranthesis in the test to rule out
3836
3854
  // id's from 10 and above (#6550)
3837
- if (el.getAttribute('clip-path')
3838
- .indexOf(wrapper.clipPath.element.id + ')') > -1) {
3855
+ if (el
3856
+ .getAttribute('clip-path')
3857
+ .match(RegExp(
3858
+ // Edge puts quotes inside the url, others not
3859
+ '[\("]#' + wrapper.clipPath.element.id + '[\)"]'
3860
+ ))
3861
+ ) {
3839
3862
  el.removeAttribute('clip-path');
3840
3863
  }
3841
3864
  }
@@ -4356,7 +4379,7 @@
4356
4379
  // Add description
4357
4380
  desc = this.createElement('desc').add();
4358
4381
  desc.element.appendChild(
4359
- doc.createTextNode('Created with Highcharts 6.0.1')
4382
+ doc.createTextNode('Created with Highcharts 6.0.2')
4360
4383
  );
4361
4384
 
4362
4385
  /**
@@ -6795,10 +6818,29 @@
6795
6818
  // moving tooltip (#6957).
6796
6819
  function translateSetter(value, key) {
6797
6820
  parentGroup[key] = value;
6798
- htmlGroupStyle[renderer.getTransformKey()] =
6799
- 'translate(' +
6800
- parentGroup.x + 'px,' +
6801
- parentGroup.y + 'px)';
6821
+
6822
+ // In IE and Edge, use translate because items
6823
+ // would flicker below a HTML tooltip (#6957)
6824
+ if (isMS) {
6825
+ htmlGroupStyle[renderer.getTransformKey()] =
6826
+ 'translate(' + (
6827
+ parentGroup.x ||
6828
+ parentGroup.translateX
6829
+ ) + 'px,' + (
6830
+ parentGroup.y ||
6831
+ parentGroup.translateY
6832
+ ) + 'px)';
6833
+
6834
+ // Otherwise, use left and top. Using translate
6835
+ // doesn't work well with offline export (#7254,
6836
+ // #7280)
6837
+ } else {
6838
+ if (key === 'translateX') {
6839
+ htmlGroupStyle.left = value + 'px';
6840
+ } else {
6841
+ htmlGroupStyle.top = value + 'px';
6842
+ }
6843
+ }
6802
6844
 
6803
6845
  parentGroup.doTransform = true;
6804
6846
  }
@@ -8837,7 +8879,6 @@
8837
8879
  * @sample {highcharts} highcharts/legend/rtl/ Symbol to the right
8838
8880
  * @default false
8839
8881
  * @since 2.2
8840
- * @product highcharts highmaps
8841
8882
  * @apioption legend.rtl
8842
8883
  */
8843
8884
 
@@ -9258,7 +9299,6 @@
9258
9299
  * @sample {highmaps} maps/tooltip/format/ Format demo
9259
9300
  * @default false
9260
9301
  * @since 2.2
9261
- * @product highcharts highmaps
9262
9302
  */
9263
9303
  footerFormat: '',
9264
9304
 
@@ -9526,7 +9566,6 @@
9526
9566
  * @type {Number}
9527
9567
  * @default 500
9528
9568
  * @since 3.0
9529
- * @product highcharts highmaps
9530
9569
  * @apioption tooltip.hideDelay
9531
9570
  */
9532
9571
 
@@ -10553,8 +10592,7 @@
10553
10592
  * though if the chart is inverted this is the vertical axis. In case of
10554
10593
  * multiple axes, the xAxis node is an array of configuration objects.
10555
10594
  *
10556
- * See [../class-reference/Highcharts.Axis](the Axis object) for
10557
- * programmatic access to the axis.
10595
+ * See [the Axis object](#Axis) for programmatic access to the axis.
10558
10596
  *
10559
10597
  * @productdesc {highmaps}
10560
10598
  * In Highmaps, the axis is hidden, but it is used behind the scenes to
@@ -11062,7 +11100,12 @@
11062
11100
  },
11063
11101
 
11064
11102
  /**
11065
- * This option set extends the defaultOptions for Y axes.
11103
+ * The Y axis or value axis. Normally this is the vertical axis,
11104
+ * though if the chart is inverted this is the horizontal axis.
11105
+ * In case of multiple axes, the yAxis node is an array of
11106
+ * configuration objects.
11107
+ *
11108
+ * See [the Axis object](#Axis) for programmatic access to the axis.
11066
11109
  * @extends xAxis
11067
11110
  * @optionparent yAxis
11068
11111
  */
@@ -11197,8 +11240,9 @@
11197
11240
  *
11198
11241
  * @type {String}
11199
11242
  * @sample {highcharts} highcharts/xaxis/title-text/ Custom HTML
11200
- * @default Values
11201
- * @product highcharts
11243
+ * @default {highcharts} Values
11244
+ * @default {highstock} null
11245
+ * @product highcharts highstock
11202
11246
  */
11203
11247
  text: 'Values'
11204
11248
  },
@@ -14982,9 +15026,12 @@
14982
15026
  getPlotBandPath: function(from, to) {
14983
15027
  var toPath = this.getPlotLinePath(to, null, null, true),
14984
15028
  path = this.getPlotLinePath(from, null, null, true),
15029
+ result = [],
15030
+ i,
14985
15031
  // #4964 check if chart is inverted or plotband is on yAxis
14986
15032
  horiz = this.horiz,
14987
15033
  plus = 1,
15034
+ flat,
14988
15035
  outside =
14989
15036
  (from < this.min && to < this.min) ||
14990
15037
  (from > this.max && to > this.max);
@@ -14993,21 +15040,43 @@
14993
15040
 
14994
15041
  // Flat paths don't need labels (#3836)
14995
15042
  if (outside) {
14996
- path.flat = path.toString() === toPath.toString();
15043
+ flat = path.toString() === toPath.toString();
14997
15044
  plus = 0;
14998
15045
  }
14999
15046
 
15000
- // Add 1 pixel, when coordinates are the same
15001
- path.push(
15002
- horiz && toPath[4] === path[4] ? toPath[4] + plus : toPath[4], !horiz && toPath[5] === path[5] ? toPath[5] + plus : toPath[5],
15003
- horiz && toPath[1] === path[1] ? toPath[1] + plus : toPath[1], !horiz && toPath[2] === path[2] ? toPath[2] + plus : toPath[2],
15004
- 'z'
15005
- );
15047
+ // Go over each subpath - for panes in Highstock
15048
+ for (i = 0; i < path.length; i += 6) {
15049
+
15050
+ // Add 1 pixel when coordinates are the same
15051
+ if (horiz && toPath[i + 1] === path[i + 1]) {
15052
+ toPath[i + 1] += plus;
15053
+ toPath[i + 4] += plus;
15054
+ } else if (!horiz && toPath[i + 2] === path[i + 2]) {
15055
+ toPath[i + 2] += plus;
15056
+ toPath[i + 5] += plus;
15057
+ }
15058
+
15059
+ result.push(
15060
+ 'M',
15061
+ path[i + 1],
15062
+ path[i + 2],
15063
+ 'L',
15064
+ path[i + 4],
15065
+ path[i + 5],
15066
+ toPath[i + 4],
15067
+ toPath[i + 5],
15068
+ toPath[i + 1],
15069
+ toPath[i + 2],
15070
+ 'z'
15071
+ );
15072
+ result.flat = flat;
15073
+ }
15074
+
15006
15075
  } else { // outside the axis area
15007
15076
  path = null;
15008
15077
  }
15009
15078
 
15010
- return path;
15079
+ return result;
15011
15080
  },
15012
15081
 
15013
15082
  /**
@@ -15416,7 +15485,8 @@
15416
15485
  var chart = this.chart,
15417
15486
  distance = this.distance,
15418
15487
  ret = {},
15419
- h = point.h || 0, // #4117
15488
+ // Don't use h if chart isn't inverted (#7242)
15489
+ h = (chart.inverted && point.h) || 0, // #4117
15420
15490
  swapped,
15421
15491
  first = ['y', chart.chartHeight, boxHeight,
15422
15492
  point.plotY + chart.plotTop, chart.plotTop,
@@ -15625,7 +15695,7 @@
15625
15695
 
15626
15696
  // update text
15627
15697
  if (tooltip.split) {
15628
- this.renderSplit(text, pointOrPoints);
15698
+ this.renderSplit(text, splat(pointOrPoints));
15629
15699
  } else {
15630
15700
 
15631
15701
  // Prevent the tooltip from flowing over the chart box (#6659)
@@ -15718,7 +15788,15 @@
15718
15788
 
15719
15789
  // Store the tooltip referance on the series
15720
15790
  if (!tt) {
15721
- owner.tt = tt = ren.label(null, null, null, 'callout')
15791
+ owner.tt = tt = ren.label(
15792
+ null,
15793
+ null,
15794
+ null,
15795
+ 'callout',
15796
+ null,
15797
+ null,
15798
+ options.useHTML
15799
+ )
15722
15800
  .addClass('highcharts-tooltip-box ' + colorClass)
15723
15801
  .attr({
15724
15802
  'padding': options.padding,
@@ -15974,7 +16052,9 @@
15974
16052
  return map(items, function(item) {
15975
16053
  var tooltipOptions = item.series.tooltipOptions;
15976
16054
  return (
15977
- tooltipOptions.pointFormatter ||
16055
+ tooltipOptions[
16056
+ (item.point.formatPrefix || 'point') + 'Formatter'
16057
+ ] ||
15978
16058
  item.point.tooltipFormatter
15979
16059
  ).call(
15980
16060
  item.point,
@@ -18136,7 +18216,7 @@
18136
18216
 
18137
18217
  if (legendWidth > 0 && legendHeight > 0) {
18138
18218
  box[box.isNew ? 'attr' : 'animate'](
18139
- box.crisp({
18219
+ box.crisp.call({}, { // #7260
18140
18220
  x: 0,
18141
18221
  y: 0,
18142
18222
  width: legendWidth,
@@ -19209,7 +19289,7 @@
19209
19289
  chart[name] = title = title.destroy(); // remove old
19210
19290
  }
19211
19291
 
19212
- if (chartTitleOptions && chartTitleOptions.text && !title) {
19292
+ if (chartTitleOptions && !title) {
19213
19293
  chart[name] = chart.renderer.text(
19214
19294
  chartTitleOptions.text,
19215
19295
  0,
@@ -20643,6 +20723,14 @@
20643
20723
  } else {
20644
20724
  colorIndex = series.colorIndex;
20645
20725
  }
20726
+
20727
+ /**
20728
+ * The point's current color index, used in styled mode instead of
20729
+ * `color`. The color index is inserted in class names used for styling.
20730
+ * @name colorIndex
20731
+ * @memberof Highcharts.Point
20732
+ * @type {Number}
20733
+ */
20646
20734
  point.colorIndex = pick(point.colorIndex, colorIndex);
20647
20735
 
20648
20736
  series.chart.pointCount++;
@@ -20971,6 +21059,32 @@
20971
21059
  * @type {String|Number}
20972
21060
  */
20973
21061
 
21062
+ /**
21063
+ * The name of the point. The name can be given as the first position of the
21064
+ * point configuration array, or as a `name` property in the configuration:
21065
+ *
21066
+ * @example
21067
+ * // Array config
21068
+ * data: [
21069
+ * ['John', 1],
21070
+ * ['Jane', 2]
21071
+ * ]
21072
+ *
21073
+ * // Object config
21074
+ * data: [{
21075
+ * name: 'John',
21076
+ * y: 1
21077
+ * }, {
21078
+ * name: 'Jane',
21079
+ * y: 2
21080
+ * }]
21081
+ *
21082
+ * @name name
21083
+ * @memberOf Highcharts.Point
21084
+ * @type {String}
21085
+ */
21086
+
21087
+
20974
21088
  /**
20975
21089
  * The percentage for points in a stacked series or pies.
20976
21090
  *
@@ -22119,6 +22233,7 @@
22119
22233
 
22120
22234
  /**
22121
22235
  * Animation when hovering over the marker.
22236
+ * @type {Boolean|Object}
22122
22237
  */
22123
22238
  animation: {
22124
22239
  duration: 50
@@ -22713,6 +22828,15 @@
22713
22828
  * @apioption plotOptions.series.dataLabels.rotation
22714
22829
  */
22715
22830
 
22831
+ /**
22832
+ * Whether to [use HTML](http://www.highcharts.com/docs/chart-concepts/labels-
22833
+ * and-string-formatting#html) to render the labels.
22834
+ *
22835
+ * @type {Boolean}
22836
+ * @default false
22837
+ * @apioption plotOptions.series.dataLabels.useHTML
22838
+ */
22839
+
22716
22840
  /**
22717
22841
  * The vertical alignment of a data label. Can be one of `top`, `middle`
22718
22842
  * or `bottom`. The default value depends on the data, for instance
@@ -25645,6 +25769,9 @@
25645
25769
  /**
25646
25770
  * Individual color for the point. By default the color is pulled from
25647
25771
  * the global `colors` array.
25772
+ *
25773
+ * In styled mode, the `color` option doesn't take effect. Instead, use
25774
+ * `colorIndex`.
25648
25775
  *
25649
25776
  * @type {Color}
25650
25777
  * @sample {highcharts} highcharts/point/color/ Mark the highest point
@@ -25655,8 +25782,8 @@
25655
25782
 
25656
25783
  /**
25657
25784
  * Styled mode only. A specific color index to use for the point, so its
25658
- * graphic representations are given the class name `highcharts-color-
25659
- * {n}`.
25785
+ * graphic representations are given the class name
25786
+ * `highcharts-color-{n}`.
25660
25787
  *
25661
25788
  * @type {Number}
25662
25789
  * @since 5.0.0
@@ -26785,6 +26912,9 @@
26785
26912
  if (options && options.dataLabels && point.dataLabel) { // #2468
26786
26913
  point.dataLabel = point.dataLabel.destroy();
26787
26914
  }
26915
+ if (point.connector) {
26916
+ point.connector = point.connector.destroy(); // #7243
26917
+ }
26788
26918
  }
26789
26919
 
26790
26920
  // record changes in the parallel arrays
@@ -29574,7 +29704,7 @@
29574
29704
  * Whether to render the connector as a soft arc or a line with sharp
29575
29705
  * break.
29576
29706
  *
29577
- * @type {Boolean}
29707
+ * @type {Number}
29578
29708
  * @sample {highcharts} highcharts/plotoptions/pie-datalabels-softconnector-true/ Soft
29579
29709
  * @sample {highcharts} highcharts/plotoptions/pie-datalabels-softconnector-false/ Non soft
29580
29710
  * @since 2.1.7
@@ -30555,9 +30685,14 @@
30555
30685
  options[point.formatPrefix + 'Format'] ||
30556
30686
  options.format
30557
30687
  );
30688
+
30558
30689
  str = defined(formatString) ?
30559
30690
  format(formatString, labelConfig) :
30560
- options.formatter.call(labelConfig, options);
30691
+ (
30692
+ options[point.formatPrefix + 'Formatter'] ||
30693
+ options.formatter
30694
+ ).call(labelConfig, options);
30695
+
30561
30696
  style = options.style;
30562
30697
  rotation = options.rotation;
30563
30698
 
@@ -32580,7 +32715,9 @@
32580
32715
  chart.redraw();
32581
32716
  }
32582
32717
 
32583
- fireEvent(series, showOrHide);
32718
+ fireEvent(series, showOrHide, {
32719
+ redraw: redraw
32720
+ });
32584
32721
  },
32585
32722
 
32586
32723
  /**