@graphysdk/react-renderer 1.9.0-beta.1793705178615 → 1.9.0-beta.1793705972988

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1761,15 +1761,17 @@ export declare const GoalSection: ({ title, preview }: GoalSectionProps) => JSX.
1761
1761
  declare type GoalSectionProps = Omit<OverridableSectionProps, 'layout'>;
1762
1762
 
1763
1763
  /**
1764
- * Chart display and interaction mode.
1765
- * - 'readonly': Normal chart display with full interactivity but no editing (default)
1766
- * - 'annotate': Chart with annotation and inline text editing capabilities
1767
- * - 'edit': A press on the chart selects what it hit: an observation, its band, a guide, or the chart
1764
+ * What the reader can do with the chart.
1765
+ * - 'readonly': hover and read tooltips, no editing (default)
1766
+ * - 'annotate': add and edit annotations, and the title, subtitle and caption in place
1767
+ * - 'edit': press a part of the chart to select it: an observation, its band, a guide, or the chart
1768
+ * - 'static': nothing; the chart draws once with no hover, tooltip or animation, for exports and print
1768
1769
  */
1769
1770
  declare const GRAPH_MODES: {
1770
1771
  readonly readonly: "readonly";
1771
1772
  readonly annotate: "annotate";
1772
1773
  readonly edit: "edit";
1774
+ readonly static: "static";
1773
1775
  };
1774
1776
 
1775
1777
  /**
@@ -1846,7 +1848,7 @@ declare interface GraphHandle {
1846
1848
  canFormatDataLabelsAsPercentages: (layer: SceneLayer, coordType: CoordSystem['type']) => boolean;
1847
1849
  }
1848
1850
 
1849
- /** The mode a chart runs in, which `GraphRenderer` takes as a prop and every row of `MODE_SURFACES` is keyed by. */
1851
+ /** The mode a chart runs in, which `GraphRenderer` takes as a prop and every row of `MODE_RULES` is keyed by. */
1850
1852
  declare type GraphMode = (typeof GRAPH_MODES)[keyof typeof GRAPH_MODES];
1851
1853
 
1852
1854
  /** What a chart writes on its own marks. The grid is chrome behind them, and has its own section. */
@@ -1875,8 +1877,6 @@ declare interface GraphRendererProps {
1875
1877
  * and so does a chart denser than `maxAnimatedGeoms`.
1876
1878
  */
1877
1879
  animation?: GraphAnimation;
1878
- /** `false` hides the tooltip whatever `config.tooltip.mode` says. Left at `true`, the spec decides. */
1879
- showTooltips?: boolean;
1880
1880
  mode?: GraphMode;
1881
1881
  /** Per-region component overrides. Unspecified regions render their default. */
1882
1882
  slots?: GraphSlots;