index.d.ts 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. import { HOMMarkType } from '../../spec';
  2. import { Interval, Rect, Point, Area, Line, Cell, Vector, Link, Polygon, Image, Text, Box, LineX, LineY, Range, RangeX, RangeY, Connector, Sankey, Treemap, Boxplot, Density, Heatmap, Path, Shape, Pack, ForceGraph, Tree, WordCloud, HOMMark, Gauge } from './mark';
  3. export interface Mark {
  4. mark(HOMMark: HOMMarkType): HOMMark;
  5. interval(): Interval;
  6. rect(): Rect;
  7. point(): Point;
  8. area(): Area;
  9. line(): Line;
  10. cell(): Cell;
  11. vector(): Vector;
  12. link(): Link;
  13. polygon(): Polygon;
  14. image(): Image;
  15. text(): Text;
  16. box(): Box;
  17. lineX(): LineX;
  18. lineY(): LineY;
  19. range(): Range;
  20. rangeX(): RangeX;
  21. rangeY(): RangeY;
  22. connector(): Connector;
  23. sankey(): Sankey;
  24. treemap(): Treemap;
  25. boxplot(): Boxplot;
  26. density(): Density;
  27. heatmap(): Heatmap;
  28. path(): Path;
  29. shape(): Shape;
  30. pack(): Pack;
  31. forceGraph(): ForceGraph;
  32. tree(): Tree;
  33. wordCloud(): WordCloud;
  34. gauge(): Gauge;
  35. }
  36. export { MarkNode } from './base';
  37. export declare const mark: {
  38. mark: typeof HOMMark;
  39. interval: typeof Interval;
  40. rect: typeof Rect;
  41. point: typeof Point;
  42. area: typeof Area;
  43. line: typeof Line;
  44. cell: typeof Cell;
  45. vector: typeof Vector;
  46. link: typeof Link;
  47. polygon: typeof Polygon;
  48. image: typeof Image;
  49. text: typeof Text;
  50. box: typeof Box;
  51. lineX: typeof LineX;
  52. lineY: typeof LineY;
  53. range: typeof Range;
  54. rangeX: typeof RangeX;
  55. rangeY: typeof RangeY;
  56. connector: typeof Connector;
  57. sankey: typeof Sankey;
  58. treemap: typeof Treemap;
  59. boxplot: typeof Boxplot;
  60. density: typeof Density;
  61. heatmap: typeof Heatmap;
  62. path: typeof Path;
  63. shape: typeof Shape;
  64. pack: typeof Pack;
  65. forceGraph: typeof ForceGraph;
  66. tree: typeof Tree;
  67. wordCloud: typeof WordCloud;
  68. gauge: typeof Gauge;
  69. };