Scatter3DPoint.js 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /* *
  2. *
  3. * (c) 2010-2021 Torstein Honsi
  4. *
  5. * Scatter 3D series.
  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 ScatterSeries from '../Scatter/ScatterSeries.js';
  27. import U from '../../Core/Utilities.js';
  28. var defined = U.defined;
  29. /* *
  30. *
  31. * Class
  32. *
  33. * */
  34. var Scatter3DPoint = /** @class */ (function (_super) {
  35. __extends(Scatter3DPoint, _super);
  36. function Scatter3DPoint() {
  37. /* *
  38. *
  39. * Properties
  40. *
  41. * */
  42. var _this = _super !== null && _super.apply(this, arguments) || this;
  43. _this.options = void 0;
  44. _this.series = void 0;
  45. return _this;
  46. }
  47. /* *
  48. *
  49. * Functions
  50. *
  51. * */
  52. Scatter3DPoint.prototype.applyOptions = function () {
  53. _super.prototype.applyOptions.apply(this, arguments);
  54. if (!defined(this.z)) {
  55. this.z = 0;
  56. }
  57. return this;
  58. };
  59. return Scatter3DPoint;
  60. }(ScatterSeries.prototype.pointClass));
  61. /* *
  62. *
  63. * Default Export
  64. *
  65. * */
  66. export default Scatter3DPoint;