BulletPoint.js 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /* *
  2. *
  3. * (c) 2010-2021 Torstein Honsi
  4. *
  5. * License: www.highcharts.com/license
  6. *
  7. * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
  8. *
  9. * */
  10. var __extends = (this && this.__extends) || (function () {
  11. var extendStatics = function (d, b) {
  12. extendStatics = Object.setPrototypeOf ||
  13. ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
  14. function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
  15. return extendStatics(d, b);
  16. };
  17. return function (d, b) {
  18. extendStatics(d, b);
  19. function __() { this.constructor = d; }
  20. d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  21. };
  22. })();
  23. import ColumnSeries from '../Column/ColumnSeries.js';
  24. /* *
  25. *
  26. * Class
  27. *
  28. * */
  29. var BulletPoint = /** @class */ (function (_super) {
  30. __extends(BulletPoint, _super);
  31. function BulletPoint() {
  32. var _this = _super !== null && _super.apply(this, arguments) || this;
  33. _this.options = void 0;
  34. _this.series = void 0;
  35. return _this;
  36. /* eslint-enable valid-jsdoc */
  37. }
  38. /* *
  39. *
  40. * Functions
  41. *
  42. * */
  43. /* eslint-disable valid-jsdoc */
  44. /**
  45. * Destroys target graphic.
  46. * @private
  47. */
  48. BulletPoint.prototype.destroy = function () {
  49. if (this.targetGraphic) {
  50. this.targetGraphic = this.targetGraphic.destroy();
  51. }
  52. _super.prototype.destroy.apply(this, arguments);
  53. return;
  54. };
  55. return BulletPoint;
  56. }(ColumnSeries.prototype.pointClass));
  57. /* *
  58. *
  59. * Export Default
  60. *
  61. * */
  62. export default BulletPoint;