@progress/kendo-charts 2.7.2-dev.202502101310 → 2.7.2-develop.1

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 (363) hide show
  1. package/dist/cdn/js/kendo-charts.js +1 -1
  2. package/dist/cdn/main.js +1 -1
  3. package/dist/es/barcode/barcode-validator.js +10 -12
  4. package/dist/es/barcode/barcode.js +84 -96
  5. package/dist/es/barcode/encodings/code11.js +41 -57
  6. package/dist/es/barcode/encodings/code128.js +222 -354
  7. package/dist/es/barcode/encodings/code39-extended.js +20 -34
  8. package/dist/es/barcode/encodings/code39.js +49 -75
  9. package/dist/es/barcode/encodings/code93-extended.js +12 -24
  10. package/dist/es/barcode/encodings/code93.js +52 -70
  11. package/dist/es/barcode/encodings/ean13.js +28 -42
  12. package/dist/es/barcode/encodings/ean8.js +8 -18
  13. package/dist/es/barcode/encodings/encoding.js +18 -24
  14. package/dist/es/barcode/encodings/main.js +13 -10
  15. package/dist/es/barcode/encodings/msi.js +56 -112
  16. package/dist/es/barcode/encodings/postnet.js +31 -45
  17. package/dist/es/barcode/surface-size.js +2 -2
  18. package/dist/es/chart/aggregates/aggregates.js +23 -23
  19. package/dist/es/chart/aggregates/default-aggregates.js +10 -18
  20. package/dist/es/chart/aggregates/series-aggregator.js +42 -54
  21. package/dist/es/chart/animations/bar-chart-animation.js +15 -26
  22. package/dist/es/chart/animations/bubble-animation.js +7 -17
  23. package/dist/es/chart/animations/clip-animation.js +13 -23
  24. package/dist/es/chart/animations/fade-in-animation.js +6 -16
  25. package/dist/es/chart/animations/pie-animation.js +6 -16
  26. package/dist/es/chart/api-elements/chart-axis.js +14 -22
  27. package/dist/es/chart/api-elements/chart-pane.js +10 -8
  28. package/dist/es/chart/api-elements/chart-plotarea.js +4 -10
  29. package/dist/es/chart/api-elements/find-axis-by-name.js +1 -1
  30. package/dist/es/chart/area-chart/area-chart.js +46 -60
  31. package/dist/es/chart/area-chart/area-segment.js +46 -52
  32. package/dist/es/chart/area-chart/spline-area-segment.js +12 -21
  33. package/dist/es/chart/area-chart/step-area-segment.js +6 -15
  34. package/dist/es/chart/axis-group-range-tracker.js +14 -20
  35. package/dist/es/chart/bar-chart/bar-chart.js +65 -80
  36. package/dist/es/chart/bar-chart/bar-label.js +25 -32
  37. package/dist/es/chart/bar-chart/bar.js +76 -91
  38. package/dist/es/chart/box-plot-chart/box-plot-chart.js +33 -48
  39. package/dist/es/chart/box-plot-chart/box-plot.js +55 -68
  40. package/dist/es/chart/box-plot-chart/vertical-box-plot.js +13 -23
  41. package/dist/es/chart/bubble-chart/bubble-chart.js +51 -64
  42. package/dist/es/chart/bubble-chart/bubble.js +21 -27
  43. package/dist/es/chart/bullet-chart/bullet-chart.js +45 -57
  44. package/dist/es/chart/bullet-chart/bullet.js +48 -57
  45. package/dist/es/chart/bullet-chart/target.js +1 -11
  46. package/dist/es/chart/candlestick-chart/candlestick-chart.js +41 -55
  47. package/dist/es/chart/candlestick-chart/candlestick.js +60 -69
  48. package/dist/es/chart/categorical-chart.js +178 -206
  49. package/dist/es/chart/chart-container.js +30 -39
  50. package/dist/es/chart/chart.js +641 -701
  51. package/dist/es/chart/constants.js +103 -103
  52. package/dist/es/chart/crosshair/crosshair-tooltip.js +22 -34
  53. package/dist/es/chart/crosshair/crosshair.js +39 -47
  54. package/dist/es/chart/donut-chart/donut-chart.js +36 -48
  55. package/dist/es/chart/donut-chart/donut-segment.js +12 -24
  56. package/dist/es/chart/error-bars/categorical-error-bar.js +5 -15
  57. package/dist/es/chart/error-bars/error-bar-base.js +37 -49
  58. package/dist/es/chart/error-bars/error-range-calculator.js +46 -56
  59. package/dist/es/chart/error-bars/scatter-error-bar.js +6 -16
  60. package/dist/es/chart/funnel-chart/funnel-chart.js +86 -103
  61. package/dist/es/chart/funnel-chart/funnel-segment.js +46 -54
  62. package/dist/es/chart/funnel-chart/pyramid-chart.js +5 -11
  63. package/dist/es/chart/heatmap-chart/color-scale.js +7 -9
  64. package/dist/es/chart/heatmap-chart/heatmap-chart.js +87 -110
  65. package/dist/es/chart/heatmap-chart/heatmap-point.js +72 -78
  66. package/dist/es/chart/highlight.js +26 -36
  67. package/dist/es/chart/layout/cluster-layout.js +16 -25
  68. package/dist/es/chart/layout/radar-cluster-layout.js +15 -24
  69. package/dist/es/chart/layout/radar-stack-layout.js +10 -22
  70. package/dist/es/chart/layout/stack-wrap.js +12 -24
  71. package/dist/es/chart/layout/utils.js +2 -2
  72. package/dist/es/chart/legend/legend-item-line-area.js +8 -19
  73. package/dist/es/chart/legend/legend-item-line.js +21 -31
  74. package/dist/es/chart/legend/legend-item-marker.js +18 -28
  75. package/dist/es/chart/legend/legend-item-square.js +8 -18
  76. package/dist/es/chart/legend/legend-item.js +91 -105
  77. package/dist/es/chart/legend/legend-layout.js +18 -25
  78. package/dist/es/chart/legend/legend.js +68 -92
  79. package/dist/es/chart/line-chart/line-chart.js +35 -48
  80. package/dist/es/chart/line-chart/line-point.js +90 -103
  81. package/dist/es/chart/line-chart/line-segment.js +23 -34
  82. package/dist/es/chart/line-chart/spline-segment.js +10 -20
  83. package/dist/es/chart/line-chart/step-line-mixin.js +14 -17
  84. package/dist/es/chart/line-chart/step-line-segment.js +4 -14
  85. package/dist/es/chart/mixins/accessibility-attributes-mixin.js +7 -7
  86. package/dist/es/chart/mixins/clip-animation-mixin.js +7 -7
  87. package/dist/es/chart/mixins/line-chart-mixin.js +27 -31
  88. package/dist/es/chart/mixins/note-mixin.js +3 -3
  89. package/dist/es/chart/mixins/pie-chart-mixin.js +9 -9
  90. package/dist/es/chart/mixins/plotarea-events-mixin.js +1 -1
  91. package/dist/es/chart/mixins/point-events-mixin.js +1 -1
  92. package/dist/es/chart/ohlc-chart/ohlc-chart.js +4 -14
  93. package/dist/es/chart/ohlc-chart/ohlc-point.js +15 -28
  94. package/dist/es/chart/pan-and-zoom/accept-key.js +3 -3
  95. package/dist/es/chart/pan-and-zoom/mousewheel-zoom.js +25 -33
  96. package/dist/es/chart/pan-and-zoom/pannable.js +29 -37
  97. package/dist/es/chart/pan-and-zoom/to-chart-axis-ranges.js +3 -3
  98. package/dist/es/chart/pan-and-zoom/zoom-selection.js +61 -70
  99. package/dist/es/chart/pane.js +71 -79
  100. package/dist/es/chart/pie-chart/pie-chart.js +153 -183
  101. package/dist/es/chart/pie-chart/pie-segment.js +82 -98
  102. package/dist/es/chart/plotarea/categorical-plotarea.js +285 -318
  103. package/dist/es/chart/plotarea/donut-plotarea.js +12 -22
  104. package/dist/es/chart/plotarea/funnel-plotarea.js +17 -27
  105. package/dist/es/chart/plotarea/heatmap-plotarea.js +139 -167
  106. package/dist/es/chart/plotarea/pie-plotarea.js +15 -25
  107. package/dist/es/chart/plotarea/plotarea-base.js +423 -462
  108. package/dist/es/chart/plotarea/plotarea-factory.js +15 -20
  109. package/dist/es/chart/plotarea/polar-plotarea-base.js +37 -51
  110. package/dist/es/chart/plotarea/polar-plotarea.js +39 -49
  111. package/dist/es/chart/plotarea/radar-plotarea.js +55 -65
  112. package/dist/es/chart/plotarea/xy-plotarea.js +111 -128
  113. package/dist/es/chart/polar-area-chart/polar-area-chart.js +22 -36
  114. package/dist/es/chart/polar-area-chart/polar-area-segment.js +7 -17
  115. package/dist/es/chart/polar-area-chart/spline-polar-area-segment.js +15 -25
  116. package/dist/es/chart/polar-line-chart/polar-line-chart.js +2 -11
  117. package/dist/es/chart/polar-scatter-chart/polar-scatter-chart.js +6 -16
  118. package/dist/es/chart/radar-area-chart/radar-area-chart.js +11 -21
  119. package/dist/es/chart/radar-area-chart/radar-area-segment.js +3 -13
  120. package/dist/es/chart/radar-area-chart/spline-radar-area-segment.js +3 -13
  121. package/dist/es/chart/radar-bar-chart/radar-bar-chart.js +19 -29
  122. package/dist/es/chart/radar-bar-chart/radar-segment.js +6 -12
  123. package/dist/es/chart/radar-line-chart/radar-line-chart.js +26 -35
  124. package/dist/es/chart/range-area-chart/range-area-chart.js +46 -58
  125. package/dist/es/chart/range-area-chart/range-area-point.js +55 -66
  126. package/dist/es/chart/range-area-chart/range-area-segment.js +19 -28
  127. package/dist/es/chart/range-area-chart/range-line-point.js +4 -14
  128. package/dist/es/chart/range-area-chart/spline-range-area-segment.js +11 -18
  129. package/dist/es/chart/range-area-chart/step-range-area-segment.js +7 -16
  130. package/dist/es/chart/range-bar-chart/range-bar-chart.js +18 -29
  131. package/dist/es/chart/range-bar-chart/range-bar.js +10 -23
  132. package/dist/es/chart/register-charts.js +20 -16
  133. package/dist/es/chart/scatter-charts/scatter-chart.js +100 -122
  134. package/dist/es/chart/scatter-charts/scatter-line-chart.js +15 -25
  135. package/dist/es/chart/selection.js +176 -201
  136. package/dist/es/chart/series-binder.js +55 -66
  137. package/dist/es/chart/theme/base-theme.js +75 -79
  138. package/dist/es/chart/theme/load-theme.js +52 -52
  139. package/dist/es/chart/tooltip/base-tooltip.js +17 -24
  140. package/dist/es/chart/tooltip/shared-tooltip.js +25 -31
  141. package/dist/es/chart/tooltip/tooltip.js +10 -20
  142. package/dist/es/chart/trendlines/calculate-moving-average.js +11 -13
  143. package/dist/es/chart/trendlines/calculate-polynomial.js +24 -26
  144. package/dist/es/chart/trendlines/calculate-slope.js +12 -14
  145. package/dist/es/chart/trendlines/check-all-positive.js +2 -5
  146. package/dist/es/chart/trendlines/exponential-trendline.js +15 -24
  147. package/dist/es/chart/trendlines/get-scatter-trendline-data.js +6 -7
  148. package/dist/es/chart/trendlines/get-trendline-data.js +6 -6
  149. package/dist/es/chart/trendlines/linear-trendline.js +12 -21
  150. package/dist/es/chart/trendlines/logarithmic-trendline.js +14 -23
  151. package/dist/es/chart/trendlines/moving-average.js +15 -26
  152. package/dist/es/chart/trendlines/polynomial-trendline.js +13 -21
  153. package/dist/es/chart/trendlines/power-trendline.js +15 -24
  154. package/dist/es/chart/trendlines/scatter-exponential-trendline.js +15 -24
  155. package/dist/es/chart/trendlines/scatter-linear-trendline.js +10 -16
  156. package/dist/es/chart/trendlines/scatter-logarithmic-trendline.js +17 -27
  157. package/dist/es/chart/trendlines/scatter-moving-average.js +7 -10
  158. package/dist/es/chart/trendlines/scatter-polynomial-trendline.js +11 -16
  159. package/dist/es/chart/trendlines/scatter-power-trendline.js +15 -22
  160. package/dist/es/chart/trendlines/scatter-trendline-registry.js +1 -1
  161. package/dist/es/chart/trendlines/scatter-value-getter.js +2 -5
  162. package/dist/es/chart/trendlines/trendline-factory.js +1 -1
  163. package/dist/es/chart/trendlines/trendline-registry.js +1 -1
  164. package/dist/es/chart/trendlines/x-value-limits.js +6 -8
  165. package/dist/es/chart/utils/any-has-z-index.js +1 -1
  166. package/dist/es/chart/utils/bind-segments.js +8 -8
  167. package/dist/es/chart/utils/categories-count.js +3 -3
  168. package/dist/es/chart/utils/count-numbers.js +4 -4
  169. package/dist/es/chart/utils/create-out-of-range-points.js +13 -22
  170. package/dist/es/chart/utils/eval-options.js +7 -10
  171. package/dist/es/chart/utils/filter-series-by-type.js +4 -4
  172. package/dist/es/chart/utils/get-field.js +1 -1
  173. package/dist/es/chart/utils/has-gradient-overlay.js +1 -1
  174. package/dist/es/chart/utils/is-date-axis.js +2 -2
  175. package/dist/es/chart/utils/parse-date-category.js +2 -2
  176. package/dist/es/chart/utils/segment-visible.js +2 -2
  177. package/dist/es/chart/waterfall-chart/waterfall-chart.js +41 -55
  178. package/dist/es/chart/waterfall-chart/waterfall-segment.js +16 -24
  179. package/dist/es/chart-wizard/get-wizard-data-from-data-rows.js +5 -6
  180. package/dist/es/chart-wizard/messages.js +1 -1
  181. package/dist/es/chart-wizard/state.js +145 -137
  182. package/dist/es/chart-wizard.js +12 -12
  183. package/dist/es/common/add-class.js +3 -3
  184. package/dist/es/common/align-path-to-pixel.js +2 -2
  185. package/dist/es/common/auto-text-color.js +1 -1
  186. package/dist/es/common/constants.js +53 -53
  187. package/dist/es/common/create-hash-set.js +59 -65
  188. package/dist/es/common/cycleDown.js +1 -1
  189. package/dist/es/common/deep-extend.js +10 -12
  190. package/dist/es/common/element-scale.js +9 -9
  191. package/dist/es/common/element-styles.js +8 -8
  192. package/dist/es/common/event-map.js +4 -4
  193. package/dist/es/common/event-utils.js +13 -13
  194. package/dist/es/common/find.js +2 -2
  195. package/dist/es/common/font-loader.js +42 -44
  196. package/dist/es/common/get-aria-template.js +2 -4
  197. package/dist/es/common/get-spacing.js +2 -4
  198. package/dist/es/common/get-supported-features.js +7 -7
  199. package/dist/es/common/get-template.js +2 -4
  200. package/dist/es/common/getter.js +5 -5
  201. package/dist/es/common/grep.js +3 -3
  202. package/dist/es/common/has-classes.js +2 -2
  203. package/dist/es/common/hash-map.js +11 -11
  204. package/dist/es/common/instance-observer.js +28 -33
  205. package/dist/es/common/keys.js +1 -1
  206. package/dist/es/common/map.js +4 -4
  207. package/dist/es/common/matrix.js +142 -150
  208. package/dist/es/common/mousewheel-delta.js +2 -2
  209. package/dist/es/common/observable.js +40 -52
  210. package/dist/es/common/remove-class.js +1 -1
  211. package/dist/es/common/render-icon.js +50 -60
  212. package/dist/es/common/set-default-options.js +1 -1
  213. package/dist/es/common/sparse-array-limits.js +4 -4
  214. package/dist/es/common/user-events.js +124 -150
  215. package/dist/es/core/axis-label.js +38 -43
  216. package/dist/es/core/axis.js +293 -345
  217. package/dist/es/core/box-element.js +36 -46
  218. package/dist/es/core/box.js +75 -83
  219. package/dist/es/core/category-axis.js +265 -314
  220. package/dist/es/core/chart-element.js +98 -109
  221. package/dist/es/core/constants.js +3 -3
  222. package/dist/es/core/curve-processor.js +86 -93
  223. package/dist/es/core/date-category-axis.js +381 -413
  224. package/dist/es/core/date-value-axis.js +108 -118
  225. package/dist/es/core/float-element.js +54 -78
  226. package/dist/es/core/gradients.js +3 -3
  227. package/dist/es/core/logarithmic-axis.js +134 -186
  228. package/dist/es/core/mixins/grid-lines-mixin.js +18 -20
  229. package/dist/es/core/mixins/radar-numeric-axis-mixin.js +46 -51
  230. package/dist/es/core/note.js +58 -73
  231. package/dist/es/core/numeric-axis.js +111 -133
  232. package/dist/es/core/pattern.js +4 -8
  233. package/dist/es/core/point.js +25 -34
  234. package/dist/es/core/polar-axis.js +73 -91
  235. package/dist/es/core/radar-category-axis.js +90 -114
  236. package/dist/es/core/radar-logarithmic-axis.js +10 -20
  237. package/dist/es/core/radar-numeric-axis.js +10 -20
  238. package/dist/es/core/ring.js +61 -68
  239. package/dist/es/core/root-element.js +40 -48
  240. package/dist/es/core/sector.js +11 -17
  241. package/dist/es/core/shape-builder.js +13 -23
  242. package/dist/es/core/shape-element.js +27 -37
  243. package/dist/es/core/text-box.js +50 -59
  244. package/dist/es/core/text.js +13 -24
  245. package/dist/es/core/title.js +19 -25
  246. package/dist/es/core/utils/auto-axis-max.js +3 -3
  247. package/dist/es/core/utils/auto-axis-min.js +3 -3
  248. package/dist/es/core/utils/auto-major-unit.js +4 -4
  249. package/dist/es/core/utils/box-diff.js +9 -9
  250. package/dist/es/core/utils/create-axis-grid-line.js +2 -4
  251. package/dist/es/core/utils/create-axis-tick.js +2 -4
  252. package/dist/es/core/utils/guid.js +3 -3
  253. package/dist/es/core/utils/rect-to-box.js +2 -2
  254. package/dist/es/date-utils/absolute-date-diff.js +2 -2
  255. package/dist/es/date-utils/add-duration.js +5 -5
  256. package/dist/es/date-utils/ceil-date.js +1 -1
  257. package/dist/es/date-utils/constants.js +17 -17
  258. package/dist/es/date-utils/date-index.js +3 -3
  259. package/dist/es/date-utils/duration.js +1 -1
  260. package/dist/es/date-utils/lte-date-index.js +4 -4
  261. package/dist/es/date-utils/parse-date.js +1 -1
  262. package/dist/es/date-utils/parse-dates.js +2 -2
  263. package/dist/es/date-utils/start-of-week.js +3 -5
  264. package/dist/es/date-utils/to-date.js +1 -1
  265. package/dist/es/date-utils/to-time.js +2 -2
  266. package/dist/es/drawing-utils.js +18 -17
  267. package/dist/es/gauges/arc/arc-gauge.js +29 -38
  268. package/dist/es/gauges/arc/arc-scale.js +16 -29
  269. package/dist/es/gauges/arc/range-pointer-animation.js +16 -25
  270. package/dist/es/gauges/arc/range-pointer.js +25 -46
  271. package/dist/es/gauges/circular/circular-gauge.js +7 -17
  272. package/dist/es/gauges/constants.js +14 -14
  273. package/dist/es/gauges/gauge.js +84 -96
  274. package/dist/es/gauges/linear/arrow-linear-pointer-animation.js +13 -25
  275. package/dist/es/gauges/linear/arrow-linear-pointer.js +23 -35
  276. package/dist/es/gauges/linear/bar-linear-pointer-animation.js +15 -24
  277. package/dist/es/gauges/linear/bar-linear-pointer.js +38 -51
  278. package/dist/es/gauges/linear/linear-gauge.js +61 -83
  279. package/dist/es/gauges/linear/linear-pointer.js +25 -39
  280. package/dist/es/gauges/linear/linear-scale.js +57 -74
  281. package/dist/es/gauges/pointer.js +11 -21
  282. package/dist/es/gauges/radial/radial-gauge.js +58 -81
  283. package/dist/es/gauges/radial/radial-pointer-animation.js +9 -15
  284. package/dist/es/gauges/radial/radial-pointer.js +33 -48
  285. package/dist/es/gauges/radial/radial-scale.js +154 -186
  286. package/dist/es/gauges/utils/build-label-element.js +10 -12
  287. package/dist/es/gauges/utils/get-range.js +2 -2
  288. package/dist/es/gauges/utils/pad.js +3 -3
  289. package/dist/es/gauges/utils/unpad.js +1 -1
  290. package/dist/es/map/attribution.js +42 -52
  291. package/dist/es/map/constants.js +5 -5
  292. package/dist/es/map/crs.js +68 -112
  293. package/dist/es/map/datums.js +3 -3
  294. package/dist/es/map/extent.js +40 -54
  295. package/dist/es/map/layers/bubble.js +52 -70
  296. package/dist/es/map/layers/layer.js +50 -56
  297. package/dist/es/map/layers/marker.js +109 -129
  298. package/dist/es/map/layers/shape.js +111 -133
  299. package/dist/es/map/layers/tile.js +144 -170
  300. package/dist/es/map/location.js +70 -78
  301. package/dist/es/map/map.js +261 -291
  302. package/dist/es/map/navigator.js +33 -39
  303. package/dist/es/map/scroller/draggable.js +98 -134
  304. package/dist/es/map/scroller/fx.js +39 -46
  305. package/dist/es/map/scroller/scroller.js +144 -174
  306. package/dist/es/map/tooltip/tooltip.js +15 -25
  307. package/dist/es/map/utils.js +25 -26
  308. package/dist/es/map/zoom.js +30 -36
  309. package/dist/es/qrcode/encodings/data-modes/alpha-numeric-data-mode.js +14 -26
  310. package/dist/es/qrcode/encodings/data-modes/byte-data-mode.js +15 -25
  311. package/dist/es/qrcode/encodings/data-modes/data-mode-instances.js +8 -7
  312. package/dist/es/qrcode/encodings/data-modes/numeric-data-mode.js +14 -24
  313. package/dist/es/qrcode/encodings/data-modes/qr-data-mode.js +15 -21
  314. package/dist/es/qrcode/encodings/encoders/iso-encoder.js +6 -16
  315. package/dist/es/qrcode/encodings/encoders/utf8-encoder.js +28 -36
  316. package/dist/es/qrcode/encodings/encoding-result.js +4 -10
  317. package/dist/es/qrcode/encodings/encoding.js +68 -192
  318. package/dist/es/qrcode/encodings/free-cell-visitor.js +16 -24
  319. package/dist/es/qrcode/encodings/utils/choose-mode.js +44 -0
  320. package/dist/es/qrcode/encodings/utils/get-data-codewords-count.js +13 -0
  321. package/dist/es/qrcode/encodings/utils/get-data-string.js +13 -0
  322. package/dist/es/qrcode/encodings/utils/get-modes.js +35 -0
  323. package/dist/es/qrcode/encodings/utils/get-version.js +23 -0
  324. package/dist/es/qrcode/encodings/utils/index.js +5 -0
  325. package/dist/es/qrcode/encodings/version-codewords.js +1 -1
  326. package/dist/es/qrcode/qrcode-validator.js +3 -5
  327. package/dist/es/qrcode/qrcode.js +104 -114
  328. package/dist/es/qrcode/utils.js +4 -4
  329. package/dist/es/sankey/calculation.js +286 -307
  330. package/dist/es/sankey/element.js +15 -23
  331. package/dist/es/sankey/label.js +29 -44
  332. package/dist/es/sankey/legend.js +15 -29
  333. package/dist/es/sankey/link.js +80 -98
  334. package/dist/es/sankey/node.js +26 -37
  335. package/dist/es/sankey/sankey.js +318 -385
  336. package/dist/es/sankey/title.js +9 -20
  337. package/dist/es/sankey/utils.js +18 -23
  338. package/dist/es/services/chart-service.js +24 -28
  339. package/dist/es/services/dom-events-builder.js +15 -15
  340. package/dist/es/services/format-service.js +30 -35
  341. package/dist/es/services/intl-service.js +14 -18
  342. package/dist/es/services/map-service.js +11 -11
  343. package/dist/es/services/template-service.js +9 -9
  344. package/dist/es/sparkline/shared-tooltip.js +11 -21
  345. package/dist/es/sparkline/sparkline.js +50 -60
  346. package/dist/es/stock/constants.js +3 -3
  347. package/dist/es/stock/fade-out-animation.js +12 -21
  348. package/dist/es/stock/navigator-hint.js +37 -49
  349. package/dist/es/stock/navigator.js +130 -161
  350. package/dist/es/stock/stock-chart.js +58 -67
  351. package/dist/es2015/chart/legend/legend-item.js +1 -1
  352. package/dist/es2015/qrcode/encodings/encoders/iso-encoder.js +1 -1
  353. package/dist/es2015/qrcode/encodings/encoders/utf8-encoder.js +1 -1
  354. package/dist/es2015/qrcode/encodings/encoding.js +3 -127
  355. package/dist/es2015/qrcode/encodings/utils/choose-mode.js +44 -0
  356. package/dist/es2015/qrcode/encodings/utils/get-data-codewords-count.js +13 -0
  357. package/dist/es2015/qrcode/encodings/utils/get-data-string.js +13 -0
  358. package/dist/es2015/qrcode/encodings/utils/get-modes.js +35 -0
  359. package/dist/es2015/qrcode/encodings/utils/get-version.js +23 -0
  360. package/dist/es2015/qrcode/encodings/utils/index.js +5 -0
  361. package/dist/npm/main.js +3222 -3589
  362. package/dist/systemjs/kendo-charts.js +1 -1
  363. package/package.json +19 -57
@@ -2,33 +2,30 @@ import filterSeriesByType from '../utils/filter-series-by-type';
2
2
  import { Class } from '../../common';
3
3
  import { TRENDLINE_SERIES } from '../constants';
4
4
 
5
- var PlotAreaFactory = (function (Class) {
6
- function PlotAreaFactory() {
7
- Class.call(this);
5
+ class PlotAreaFactory extends Class {
6
+
7
+ constructor() {
8
+ super();
8
9
 
9
10
  this._registry = [];
10
11
  }
11
12
 
12
- if ( Class ) PlotAreaFactory.__proto__ = Class;
13
- PlotAreaFactory.prototype = Object.create( Class && Class.prototype );
14
- PlotAreaFactory.prototype.constructor = PlotAreaFactory;
15
-
16
- PlotAreaFactory.prototype.register = function register (type, seriesTypes) {
13
+ register(type, seriesTypes) {
17
14
  this._registry.push({
18
15
  type: type,
19
16
  seriesTypes: seriesTypes
20
17
  });
21
- };
18
+ }
22
19
 
23
- PlotAreaFactory.prototype.create = function create (srcSeries, options, chartService) {
24
- var registry = this._registry;
25
- var match = registry[0];
26
- var series;
20
+ create(srcSeries, options, chartService) {
21
+ const registry = this._registry;
22
+ let match = registry[0];
23
+ let series;
27
24
 
28
- for (var idx = 0; idx < registry.length; idx++) {
29
- var entry = registry[idx];
25
+ for (let idx = 0; idx < registry.length; idx++) {
26
+ const entry = registry[idx];
30
27
  series = filterSeriesByType(srcSeries, entry.seriesTypes);
31
- var trendlines = filterSeriesByType(srcSeries, TRENDLINE_SERIES);
28
+ const trendlines = filterSeriesByType(srcSeries, TRENDLINE_SERIES);
32
29
 
33
30
  if ((series.length - trendlines.length) > 0) {
34
31
  match = entry;
@@ -37,10 +34,8 @@ var PlotAreaFactory = (function (Class) {
37
34
  }
38
35
 
39
36
  return new match.type(series, options, chartService);
40
- };
41
-
42
- return PlotAreaFactory;
43
- }(Class));
37
+ }
38
+ }
44
39
 
45
40
  PlotAreaFactory.current = new PlotAreaFactory();
46
41
 
@@ -7,50 +7,42 @@ import { LOGARITHMIC } from '../constants';
7
7
  import { getSpacing } from '../../common';
8
8
  import { Y, CENTER } from '../../common/constants';
9
9
 
10
- var DEFAULT_PADDING = 0.15;
10
+ const DEFAULT_PADDING = 0.15;
11
11
 
12
- var PolarPlotAreaBase = (function (PlotAreaBase) {
13
- function PolarPlotAreaBase () {
14
- PlotAreaBase.apply(this, arguments);
15
- }
16
-
17
- if ( PlotAreaBase ) PolarPlotAreaBase.__proto__ = PlotAreaBase;
18
- PolarPlotAreaBase.prototype = Object.create( PlotAreaBase && PlotAreaBase.prototype );
19
- PolarPlotAreaBase.prototype.constructor = PolarPlotAreaBase;
20
-
21
- PolarPlotAreaBase.prototype.initFields = function initFields () {
12
+ class PolarPlotAreaBase extends PlotAreaBase {
13
+ initFields() {
22
14
  this.valueAxisRangeTracker = new AxisGroupRangeTracker();
23
- };
15
+ }
24
16
 
25
- PolarPlotAreaBase.prototype.render = function render () {
17
+ render() {
26
18
  this.addToLegend(this.series);
27
19
  this.createPolarAxis();
28
20
  this.createCharts();
29
21
  this.createValueAxis();
30
- };
31
-
32
- PolarPlotAreaBase.prototype.alignAxes = function alignAxes () {
33
- var axis = this.valueAxis;
34
- var range = axis.range();
35
- var crossingValue = axis.options.reverse ? range.max : range.min;
36
- var slot = axis.getSlot(crossingValue);
37
- var center = this.polarAxis.getSlot(0).center;
38
- var axisBox = axis.box.translate(
22
+ }
23
+
24
+ alignAxes() {
25
+ const axis = this.valueAxis;
26
+ const range = axis.range();
27
+ const crossingValue = axis.options.reverse ? range.max : range.min;
28
+ const slot = axis.getSlot(crossingValue);
29
+ const center = this.polarAxis.getSlot(0).center;
30
+ const axisBox = axis.box.translate(
39
31
  center.x - slot.x1,
40
32
  center.y - slot.y1
41
33
  );
42
34
 
43
35
  axis.reflow(axisBox);
44
- };
36
+ }
45
37
 
46
- PolarPlotAreaBase.prototype.createValueAxis = function createValueAxis () {
47
- var tracker = this.valueAxisRangeTracker;
48
- var defaultRange = tracker.query();
49
- var axisOptions = this.valueAxisOptions({
38
+ createValueAxis() {
39
+ const tracker = this.valueAxisRangeTracker;
40
+ const defaultRange = tracker.query();
41
+ const axisOptions = this.valueAxisOptions({
50
42
  roundToMajorUnit: false,
51
43
  zIndex: -1
52
44
  });
53
- var axisType, axisDefaultRange;
45
+ let axisType, axisDefaultRange;
54
46
 
55
47
  if (axisOptions.type === LOGARITHMIC) {
56
48
  axisType = RadarLogarithmicAxis;
@@ -60,14 +52,14 @@ var PolarPlotAreaBase = (function (PlotAreaBase) {
60
52
  axisDefaultRange = { min: 0, max: 1 };
61
53
  }
62
54
 
63
- var range = tracker.query(name) || defaultRange || axisDefaultRange;
55
+ const range = tracker.query(name) || defaultRange || axisDefaultRange;
64
56
 
65
57
  if (range && defaultRange) {
66
58
  range.min = Math.min(range.min, defaultRange.min);
67
59
  range.max = Math.max(range.max, defaultRange.max);
68
60
  }
69
61
 
70
- var valueAxis = new axisType(
62
+ const valueAxis = new axisType(
71
63
  range.min, range.max,
72
64
  axisOptions,
73
65
  this.chartService
@@ -75,40 +67,34 @@ var PolarPlotAreaBase = (function (PlotAreaBase) {
75
67
 
76
68
  this.valueAxis = valueAxis;
77
69
  this.appendAxis(valueAxis);
78
- };
79
-
80
- PolarPlotAreaBase.prototype.reflowAxes = function reflowAxes () {
81
- var ref = this;
82
- var options = ref.options.plotArea;
83
- var valueAxis = ref.valueAxis;
84
- var polarAxis = ref.polarAxis;
85
- var box = ref.box;
86
- var defaultPadding = Math.min(box.width(), box.height()) * DEFAULT_PADDING;
87
- var padding = getSpacing(options.padding || {}, defaultPadding);
88
- var paddingBox = box.clone().unpad(padding);
89
- var axisBox = paddingBox.clone();
70
+ }
71
+
72
+ reflowAxes() {
73
+ const { options: { plotArea: options }, valueAxis, polarAxis, box } = this;
74
+ const defaultPadding = Math.min(box.width(), box.height()) * DEFAULT_PADDING;
75
+ const padding = getSpacing(options.padding || {}, defaultPadding);
76
+ const paddingBox = box.clone().unpad(padding);
77
+ const axisBox = paddingBox.clone();
90
78
 
91
79
  axisBox.y2 = axisBox.y1 + Math.min(axisBox.width(), axisBox.height());
92
80
  axisBox.align(paddingBox, Y, CENTER);
93
81
 
94
- var valueAxisBox = axisBox.clone().shrink(0, axisBox.height() / 2);
82
+ const valueAxisBox = axisBox.clone().shrink(0, axisBox.height() / 2);
95
83
 
96
84
  polarAxis.reflow(axisBox);
97
85
  valueAxis.reflow(valueAxisBox);
98
- var heightDiff = valueAxis.lineBox().height() - valueAxis.box.height();
86
+ const heightDiff = valueAxis.lineBox().height() - valueAxis.box.height();
99
87
  valueAxis.reflow(valueAxis.box.unpad({ top: heightDiff }));
100
88
 
101
89
  this.axisBox = axisBox;
102
90
  this.alignAxes(axisBox);
103
- };
91
+ }
104
92
 
105
- PolarPlotAreaBase.prototype.backgroundBox = function backgroundBox () {
93
+ backgroundBox() {
106
94
  return this.box;
107
- };
108
-
109
- PolarPlotAreaBase.prototype.detachLabels = function detachLabels () {};
95
+ }
110
96
 
111
- return PolarPlotAreaBase;
112
- }(PlotAreaBase));
97
+ detachLabels() {}
98
+ }
113
99
 
114
100
  export default PolarPlotAreaBase;
@@ -15,60 +15,52 @@ import { ARC } from '../../common/constants';
15
15
  import { deepExtend, eventElement, setDefaultOptions } from '../../common';
16
16
  import XYPlotArea from './xy-plotarea';
17
17
 
18
- var PolarPlotArea = (function (PolarPlotAreaBase) {
19
- function PolarPlotArea () {
20
- PolarPlotAreaBase.apply(this, arguments);
21
- }
22
-
23
- if ( PolarPlotAreaBase ) PolarPlotArea.__proto__ = PolarPlotAreaBase;
24
- PolarPlotArea.prototype = Object.create( PolarPlotAreaBase && PolarPlotAreaBase.prototype );
25
- PolarPlotArea.prototype.constructor = PolarPlotArea;
26
-
27
- PolarPlotArea.prototype.createPolarAxis = function createPolarAxis () {
28
- var polarAxis = new PolarAxis(this.options.xAxis, this.chartService);
18
+ class PolarPlotArea extends PolarPlotAreaBase {
19
+ createPolarAxis() {
20
+ const polarAxis = new PolarAxis(this.options.xAxis, this.chartService);
29
21
 
30
22
  this.polarAxis = polarAxis;
31
23
  this.axisX = polarAxis;
32
24
  this.appendAxis(polarAxis);
33
- };
25
+ }
34
26
 
35
- PolarPlotArea.prototype.render = function render () {
36
- this.series = [].concat( this.originalSeries );
27
+ render() {
28
+ this.series = [...this.originalSeries];
37
29
  this.createTrendlineSeries();
38
30
 
39
- PolarPlotAreaBase.prototype.render.call(this);
40
- };
31
+ super.render();
32
+ }
41
33
 
42
- PolarPlotArea.prototype.valueAxisOptions = function valueAxisOptions (defaults) {
34
+ valueAxisOptions(defaults) {
43
35
  return deepExtend(defaults, {
44
36
  majorGridLines: { type: ARC },
45
37
  minorGridLines: { type: ARC }
46
38
  }, this.options.yAxis);
47
- };
39
+ }
48
40
 
49
- PolarPlotArea.prototype.createValueAxis = function createValueAxis () {
50
- PolarPlotAreaBase.prototype.createValueAxis.call(this);
41
+ createValueAxis() {
42
+ super.createValueAxis();
51
43
  this.axisY = this.valueAxis;
52
- };
44
+ }
53
45
 
54
- PolarPlotArea.prototype.trendlineFactory = function trendlineFactory (options, series) {
55
- var trendline = XYPlotArea.prototype.trendlineFactory.call(this, options, series);
46
+ trendlineFactory(options, series) {
47
+ const trendline = XYPlotArea.prototype.trendlineFactory.call(this, options, series);
56
48
  if (trendline) {
57
49
  trendline.type = POLAR_LINE;
58
50
  }
59
51
 
60
52
  return trendline;
61
- };
53
+ }
62
54
 
63
- PolarPlotArea.prototype.appendChart = function appendChart (chart, pane) {
55
+ appendChart(chart, pane) {
64
56
  this.valueAxisRangeTracker.update(chart.yAxisRanges);
65
57
 
66
58
  PlotAreaBase.prototype.appendChart.call(this, chart, pane);
67
- };
59
+ }
68
60
 
69
- PolarPlotArea.prototype.createCharts = function createCharts () {
70
- var series = this.filterVisibleSeries(this.series);
71
- var pane = this.panes[0];
61
+ createCharts() {
62
+ const series = this.filterVisibleSeries(this.series);
63
+ const pane = this.panes[0];
72
64
 
73
65
  this.createLineChart(
74
66
  filterSeriesByType(series, [ POLAR_LINE ]),
@@ -84,43 +76,43 @@ var PolarPlotArea = (function (PolarPlotAreaBase) {
84
76
  filterSeriesByType(series, [ POLAR_AREA ]),
85
77
  pane
86
78
  );
87
- };
79
+ }
88
80
 
89
- PolarPlotArea.prototype.createLineChart = function createLineChart (series, pane) {
81
+ createLineChart(series, pane) {
90
82
  if (series.length === 0) {
91
83
  return;
92
84
  }
93
85
 
94
- var lineChart = new PolarLineChart(this, { series: series });
86
+ const lineChart = new PolarLineChart(this, { series: series });
95
87
 
96
88
  this.appendChart(lineChart, pane);
97
- };
89
+ }
98
90
 
99
- PolarPlotArea.prototype.createScatterChart = function createScatterChart (series, pane) {
91
+ createScatterChart(series, pane) {
100
92
  if (series.length === 0) {
101
93
  return;
102
94
  }
103
95
 
104
- var scatterChart = new PolarScatterChart(this, { series: series });
96
+ const scatterChart = new PolarScatterChart(this, { series: series });
105
97
 
106
98
  this.appendChart(scatterChart, pane);
107
- };
99
+ }
108
100
 
109
- PolarPlotArea.prototype.createAreaChart = function createAreaChart (series, pane) {
101
+ createAreaChart(series, pane) {
110
102
  if (series.length === 0) {
111
103
  return;
112
104
  }
113
105
 
114
- var areaChart = new PolarAreaChart(this, { series: series });
106
+ const areaChart = new PolarAreaChart(this, { series: series });
115
107
 
116
108
  this.appendChart(areaChart, pane);
117
- };
109
+ }
118
110
 
119
- PolarPlotArea.prototype._dispatchEvent = function _dispatchEvent (chart, e, eventType) {
120
- var coords = chart._eventCoordinates(e);
121
- var point = new Point(coords.x, coords.y);
122
- var xValue = this.axisX.getValue(point);
123
- var yValue = this.axisY.getValue(point);
111
+ _dispatchEvent(chart, e, eventType) {
112
+ const coords = chart._eventCoordinates(e);
113
+ const point = new Point(coords.x, coords.y);
114
+ const xValue = this.axisX.getValue(point);
115
+ const yValue = this.axisY.getValue(point);
124
116
 
125
117
  if (xValue !== null && yValue !== null) {
126
118
  chart.trigger(eventType, {
@@ -129,12 +121,10 @@ var PolarPlotArea = (function (PolarPlotAreaBase) {
129
121
  y: yValue
130
122
  });
131
123
  }
132
- };
133
-
134
- PolarPlotArea.prototype.createCrosshairs = function createCrosshairs () {};
124
+ }
135
125
 
136
- return PolarPlotArea;
137
- }(PolarPlotAreaBase));
126
+ createCrosshairs() {}
127
+ }
138
128
 
139
129
  setDefaultOptions(PolarPlotArea, {
140
130
  xAxis: {},
@@ -14,17 +14,9 @@ import filterSeriesByType from '../utils/filter-series-by-type';
14
14
  import { ARC } from '../../common/constants';
15
15
  import { eventElement, deepExtend, setDefaultOptions } from '../../common';
16
16
 
17
- var RadarPlotArea = (function (PolarPlotAreaBase) {
18
- function RadarPlotArea () {
19
- PolarPlotAreaBase.apply(this, arguments);
20
- }
21
-
22
- if ( PolarPlotAreaBase ) RadarPlotArea.__proto__ = PolarPlotAreaBase;
23
- RadarPlotArea.prototype = Object.create( PolarPlotAreaBase && PolarPlotAreaBase.prototype );
24
- RadarPlotArea.prototype.constructor = RadarPlotArea;
25
-
26
- RadarPlotArea.prototype.createPolarAxis = function createPolarAxis () {
27
- var categoryAxis = new RadarCategoryAxis(this.options.categoryAxis, this.chartService);
17
+ class RadarPlotArea extends PolarPlotAreaBase {
18
+ createPolarAxis() {
19
+ const categoryAxis = new RadarCategoryAxis(this.options.categoryAxis, this.chartService);
28
20
 
29
21
  this.polarAxis = categoryAxis;
30
22
  this.categoryAxis = categoryAxis;
@@ -32,9 +24,9 @@ var RadarPlotArea = (function (PolarPlotAreaBase) {
32
24
  this.aggregateCategories();
33
25
  this.createTrendlineSeries();
34
26
  this.createCategoryAxesLabels();
35
- };
27
+ }
36
28
 
37
- RadarPlotArea.prototype.valueAxisOptions = function valueAxisOptions (defaults) {
29
+ valueAxisOptions(defaults) {
38
30
  if (this._hasBarCharts) {
39
31
  deepExtend(defaults, {
40
32
  majorGridLines: { type: ARC },
@@ -50,34 +42,34 @@ var RadarPlotArea = (function (PolarPlotAreaBase) {
50
42
  }
51
43
 
52
44
  return deepExtend(defaults, this.options.valueAxis);
53
- };
45
+ }
54
46
 
55
- RadarPlotArea.prototype.aggregateCategories = function aggregateCategories () {
47
+ aggregateCategories() {
56
48
  // No separate panes in radar charts
57
49
  CategoricalPlotArea.prototype.aggregateCategories.call(this, this.panes);
58
- };
50
+ }
59
51
 
60
- RadarPlotArea.prototype.createCategoryAxesLabels = function createCategoryAxesLabels () {
52
+ createCategoryAxesLabels() {
61
53
  CategoricalPlotArea.prototype.createCategoryAxesLabels.call(this, this.panes);
62
- };
54
+ }
63
55
 
64
- RadarPlotArea.prototype.filterSeries = function filterSeries (currentSeries) {
56
+ filterSeries(currentSeries) {
65
57
  // Not supported for radar charts
66
58
  return currentSeries;
67
- };
59
+ }
68
60
 
69
- RadarPlotArea.prototype.trendlineFactory = function trendlineFactory (options, series) {
70
- var trendline = CategoricalPlotArea.prototype.trendlineFactory.call(this, options, series);
61
+ trendlineFactory(options, series) {
62
+ const trendline = CategoricalPlotArea.prototype.trendlineFactory.call(this, options, series);
71
63
  if (trendline) {
72
64
  trendline.type = RADAR_LINE;
73
65
  }
74
66
 
75
67
  return trendline;
76
- };
68
+ }
77
69
 
78
- RadarPlotArea.prototype.createCharts = function createCharts () {
79
- var series = this.filterVisibleSeries(this.series);
80
- var pane = this.panes[0];
70
+ createCharts() {
71
+ const series = this.filterVisibleSeries(this.series);
72
+ const pane = this.panes[0];
81
73
 
82
74
  this.createAreaChart(
83
75
  filterSeriesByType(series, [ RADAR_AREA ]),
@@ -93,14 +85,14 @@ var RadarPlotArea = (function (PolarPlotAreaBase) {
93
85
  filterSeriesByType(series, [ RADAR_COLUMN ]),
94
86
  pane
95
87
  );
96
- };
88
+ }
97
89
 
98
- RadarPlotArea.prototype.chartOptions = function chartOptions (series) {
99
- var options = { series: series };
100
- var firstSeries = series[0];
90
+ chartOptions(series) {
91
+ const options = { series: series };
92
+ const firstSeries = series[0];
101
93
  if (firstSeries) {
102
- var filteredSeries = this.filterVisibleSeries(series);
103
- var stack = firstSeries.stack;
94
+ const filteredSeries = this.filterVisibleSeries(series);
95
+ const stack = firstSeries.stack;
104
96
  options.isStacked = stack && filteredSeries.length > 1;
105
97
  options.isStacked100 = stack && stack.type === "100%" && filteredSeries.length > 1;
106
98
 
@@ -110,57 +102,57 @@ var RadarPlotArea = (function (PolarPlotAreaBase) {
110
102
  }
111
103
 
112
104
  return options;
113
- };
105
+ }
114
106
 
115
- RadarPlotArea.prototype.createAreaChart = function createAreaChart (series, pane) {
107
+ createAreaChart(series, pane) {
116
108
  if (series.length === 0) {
117
109
  return;
118
110
  }
119
111
 
120
- var areaChart = new RadarAreaChart(this, this.chartOptions(series));
112
+ const areaChart = new RadarAreaChart(this, this.chartOptions(series));
121
113
  this.appendChart(areaChart, pane);
122
- };
114
+ }
123
115
 
124
- RadarPlotArea.prototype.createLineChart = function createLineChart (series, pane) {
116
+ createLineChart(series, pane) {
125
117
  if (series.length === 0) {
126
118
  return;
127
119
  }
128
120
 
129
- var lineChart = new RadarLineChart(this, this.chartOptions(series));
121
+ const lineChart = new RadarLineChart(this, this.chartOptions(series));
130
122
  this.appendChart(lineChart, pane);
131
- };
123
+ }
132
124
 
133
- RadarPlotArea.prototype.createBarChart = function createBarChart (series, pane) {
125
+ createBarChart(series, pane) {
134
126
  if (series.length === 0) {
135
127
  return;
136
128
  }
137
129
 
138
- var firstSeries = series[0];
139
- var options = this.chartOptions(series);
140
- var filteredSeries = this.filterVisibleSeries(series);
141
- var anyStackedSeries = filteredSeries.some(function (s) { return s.stack; });
142
- var isStacked100 = filteredSeries.some(function (s) { return s.stack && s.stack.type === "100%"; });
130
+ const firstSeries = series[0];
131
+ const options = this.chartOptions(series);
132
+ const filteredSeries = this.filterVisibleSeries(series);
133
+ const anyStackedSeries = filteredSeries.some(s => s.stack);
134
+ const isStacked100 = filteredSeries.some(s => s.stack && s.stack.type === "100%");
143
135
  options.gap = firstSeries.gap;
144
136
  options.spacing = firstSeries.spacing;
145
137
  options.defaultStack = firstSeries.stack && filteredSeries.length > 1;
146
138
  options.isStacked = anyStackedSeries && filteredSeries.length > 1;
147
139
  options.isStacked100 = isStacked100 && filteredSeries.length > 1;
148
140
 
149
- var barChart = new RadarBarChart(this, options);
141
+ const barChart = new RadarBarChart(this, options);
150
142
  this.appendChart(barChart, pane);
151
143
 
152
144
  this._hasBarCharts = true;
153
- };
145
+ }
154
146
 
155
- RadarPlotArea.prototype.seriesCategoryAxis = function seriesCategoryAxis () {
147
+ seriesCategoryAxis() {
156
148
  return this.categoryAxis;
157
- };
149
+ }
158
150
 
159
- RadarPlotArea.prototype._dispatchEvent = function _dispatchEvent (chart, e, eventType) {
160
- var coords = chart._eventCoordinates(e);
161
- var point = new Point(coords.x, coords.y);
162
- var category = this.categoryAxis.getCategory(point);
163
- var value = this.valueAxis.getValue(point);
151
+ _dispatchEvent(chart, e, eventType) {
152
+ const coords = chart._eventCoordinates(e);
153
+ const point = new Point(coords.x, coords.y);
154
+ const category = this.categoryAxis.getCategory(point);
155
+ const value = this.valueAxis.getValue(point);
164
156
 
165
157
  if (category !== null && value !== null) {
166
158
  chart.trigger(eventType, {
@@ -169,20 +161,18 @@ var RadarPlotArea = (function (PolarPlotAreaBase) {
169
161
  value: value
170
162
  });
171
163
  }
172
- };
173
-
174
- RadarPlotArea.prototype.createCrosshairs = function createCrosshairs () {};
164
+ }
175
165
 
176
- RadarPlotArea.prototype._pointsByVertical = function _pointsByVertical (basePoint) {
177
- return PolarPlotAreaBase.prototype._pointsByVertical.call(this, basePoint).sort(this._getSeriesCompareFn());
178
- };
166
+ createCrosshairs() {}
179
167
 
180
- RadarPlotArea.prototype._getSeriesCompareFn = function _getSeriesCompareFn () {
181
- return function (a, b) { return b.value - a.value; };
182
- };
168
+ _pointsByVertical(basePoint) {
169
+ return super._pointsByVertical(basePoint).sort(this._getSeriesCompareFn());
170
+ }
183
171
 
184
- return RadarPlotArea;
185
- }(PolarPlotAreaBase));
172
+ _getSeriesCompareFn() {
173
+ return (a, b) => b.value - a.value;
174
+ }
175
+ }
186
176
 
187
177
  deepExtend(RadarPlotArea.prototype, PlotAreaEventsMixin, {
188
178
  appendChart: CategoricalPlotArea.prototype.appendChart,