heatmap.d.ts 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*!*
  2. *
  3. * Copyright (c) Highsoft AS. All rights reserved.
  4. *
  5. *!*/
  6. import * as globals from "../globals";
  7. import * as _Highcharts from "../highcharts";
  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" {
  16. interface Point {
  17. /**
  18. * Heatmap series only. Padding between the points in the heatmap.
  19. */
  20. pointPadding?: number;
  21. /**
  22. * Heatmap series only. The value of the point, resulting in a color
  23. * controled by options as set in the colorAxis configuration.
  24. */
  25. value?: (number|null);
  26. }
  27. interface PointOptionsObject {
  28. /**
  29. * Heatmap series only. Point padding for a single point.
  30. */
  31. pointPadding?: number;
  32. /**
  33. * Heatmap series only. The value of the point, resulting in a color
  34. * controled by options as set in the colorAxis configuration.
  35. */
  36. value?: (number|null);
  37. }
  38. }
  39. export default factory;
  40. export let Highcharts: typeof _Highcharts;