ItemPoint.js 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /* *
  2. *
  3. * (c) 2019-2021 Torstein Honsi
  4. *
  5. * Item series type for Highcharts
  6. *
  7. * License: www.highcharts.com/license
  8. *
  9. * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
  10. *
  11. * */
  12. 'use strict';
  13. var __extends = (this && this.__extends) || (function () {
  14. var extendStatics = function (d, b) {
  15. extendStatics = Object.setPrototypeOf ||
  16. ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
  17. function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
  18. return extendStatics(d, b);
  19. };
  20. return function (d, b) {
  21. extendStatics(d, b);
  22. function __() { this.constructor = d; }
  23. d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  24. };
  25. })();
  26. import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
  27. var Series = SeriesRegistry.series, PieSeries = SeriesRegistry.seriesTypes.pie;
  28. import U from '../../Core/Utilities.js';
  29. var extend = U.extend;
  30. /* *
  31. *
  32. * Class
  33. *
  34. * */
  35. var ItemPoint = /** @class */ (function (_super) {
  36. __extends(ItemPoint, _super);
  37. function ItemPoint() {
  38. /* *
  39. *
  40. * Properties
  41. *
  42. * */
  43. var _this = _super !== null && _super.apply(this, arguments) || this;
  44. _this.graphics = void 0;
  45. _this.options = void 0;
  46. _this.series = void 0;
  47. return _this;
  48. }
  49. return ItemPoint;
  50. }(PieSeries.prototype.pointClass));
  51. extend(ItemPoint.prototype, {
  52. haloPath: Series.prototype.pointClass.prototype.haloPath
  53. });
  54. /* *
  55. *
  56. * Default Export
  57. *
  58. * */
  59. export default ItemPoint;