dumbbell.src.d.ts 1022 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*!*
  2. *
  3. * Copyright (c) Highsoft AS. All rights reserved.
  4. *
  5. *!*/
  6. import * as globals from "../globals.src";
  7. import * as _Highcharts from "../highcharts.src";
  8. /**
  9. * Adds the module to the imported Highcharts namespace.
  10. *
  11. * @param highcharts
  12. * The imported Highcharts namespace to extend.
  13. */
  14. export function factory(highcharts: typeof Highcharts): void;
  15. declare module "../highcharts.src" {
  16. interface Point {
  17. high?: number;
  18. low?: number;
  19. }
  20. interface Series {
  21. /**
  22. * Get non-presentational attributes for a point. Used internally for
  23. * both styled mode and classic. Set correct position in link with
  24. * connector line.
  25. *
  26. * @param this
  27. * The series of points.
  28. *
  29. * @return A hash containing those attributes that are not settable from
  30. * CSS.
  31. */
  32. markerAttribs(this: Series): SVGAttributes;
  33. }
  34. }
  35. export default factory;
  36. export let Highcharts: typeof _Highcharts;