semiotic 3.8.8 → 3.8.9

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.
Files changed (104) hide show
  1. package/CLAUDE.md +5 -4
  2. package/README.md +44 -44
  3. package/ai/schema.json +263 -1
  4. package/ai/surface-manifest.json +1 -1
  5. package/ai/system-prompt.md +1 -1
  6. package/dist/chunk-chunk-2X3FJCME.module.min.js +1 -0
  7. package/dist/{chunk-chunk-UEZ6SHW5.module.min.js → chunk-chunk-2ZHHWZQM.module.min.js} +1 -1
  8. package/dist/chunk-chunk-5ZON5NMV.module.min.js +2 -0
  9. package/dist/{chunk-chunk-L6FFYGYS.module.min.js → chunk-chunk-6S3YGYW7.module.min.js} +1 -1
  10. package/dist/chunk-chunk-7C5EDZ3Z.module.min.js +2 -0
  11. package/dist/chunk-chunk-A3I4HBD5.module.min.js +1 -0
  12. package/dist/{chunk-chunk-4MLLQUGW.module.min.js → chunk-chunk-AFQHURLO.module.min.js} +1 -1
  13. package/dist/{chunk-chunk-OG3TTJGJ.module.min.js → chunk-chunk-DDB4TLQG.module.min.js} +1 -1
  14. package/dist/{chunk-chunk-W5HWGQMD.module.min.js → chunk-chunk-DTH3SUOU.module.min.js} +1 -1
  15. package/dist/{chunk-chunk-H5IFO6CU.module.min.js → chunk-chunk-DVCWU7MT.module.min.js} +1 -1
  16. package/dist/{chunk-chunk-JRHXQGEV.module.min.js → chunk-chunk-FSIHAW6L.module.min.js} +1 -1
  17. package/dist/{chunk-chunk-BWV55BZK.module.min.js → chunk-chunk-G2RGVEYY.module.min.js} +1 -1
  18. package/dist/chunk-chunk-HAJVODLO.module.min.js +2 -0
  19. package/dist/{chunk-chunk-BZNOAHJV.module.min.js → chunk-chunk-HIV7AW2V.module.min.js} +1 -1
  20. package/dist/{chunk-chunk-LJDH3WV3.module.min.js → chunk-chunk-JZAMMSQQ.module.min.js} +1 -1
  21. package/dist/{chunk-chunk-VUWYT7DY.module.min.js → chunk-chunk-MXMRXSCI.module.min.js} +1 -1
  22. package/dist/chunk-chunk-MXVBXFKW.module.min.js +2 -0
  23. package/dist/{chunk-chunk-7LE56WAE.module.min.js → chunk-chunk-OFAP623Y.module.min.js} +1 -1
  24. package/dist/{chunk-chunk-SFLUSZ73.module.min.js → chunk-chunk-OHLRAEQZ.module.min.js} +1 -1
  25. package/dist/{chunk-chunk-CD6PVVS3.module.min.js → chunk-chunk-PRNXOCYZ.module.min.js} +1 -1
  26. package/dist/chunk-chunk-RLKZVJMQ.module.min.js +2 -0
  27. package/dist/chunk-chunk-SK2TQMG4.module.min.js +2 -0
  28. package/dist/chunk-chunk-SKLYXNYW.module.min.js +2 -0
  29. package/dist/{chunk-chunk-57RBPDBQ.module.min.js → chunk-chunk-U4NZCU5T.module.min.js} +1 -1
  30. package/dist/{chunk-chunk-QQJNG23C.module.min.js → chunk-chunk-VKL6DI43.module.min.js} +1 -1
  31. package/dist/chunk-chunk-W62673ZE.module.min.js +1 -0
  32. package/dist/{chunk-chunk-WSDJFBKX.module.min.js → chunk-chunk-XCC25CZZ.module.min.js} +1 -1
  33. package/dist/{chunk-chunk-AF53TBSN.module.min.js → chunk-chunk-XECNOUZY.module.min.js} +1 -1
  34. package/dist/{chunk-chunk-FC3NZWYR.module.min.js → chunk-chunk-XYZDTYAF.module.min.js} +1 -1
  35. package/dist/components/Tooltip/Tooltip.d.ts +54 -1
  36. package/dist/components/charts/physics/chainReactionTypes.d.ts +1 -0
  37. package/dist/components/charts/physics/physicsHocUtils.d.ts +1 -1
  38. package/dist/components/charts/realtime/RealtimeHeatmap.d.ts +2 -0
  39. package/dist/components/charts/realtime/RealtimeHistogram.d.ts +2 -0
  40. package/dist/components/charts/realtime/RealtimeLineChart.d.ts +2 -0
  41. package/dist/components/charts/realtime/RealtimeSwarmChart.d.ts +2 -0
  42. package/dist/components/charts/realtime/RealtimeWaterfallChart.d.ts +2 -0
  43. package/dist/components/charts/shared/formatUtils.d.ts +40 -9
  44. package/dist/components/charts/shared/streamPropsHelpers.d.ts +1 -0
  45. package/dist/components/charts/shared/types.d.ts +8 -1
  46. package/dist/components/semiotic-utils-core.d.ts +1 -0
  47. package/dist/components/semiotic.d.ts +4 -3
  48. package/dist/components/stream/GeoTileRenderer.d.ts +1 -0
  49. package/dist/components/stream/canvasSetup.d.ts +15 -4
  50. package/dist/components/stream/geoTypes.d.ts +2 -0
  51. package/dist/components/stream/networkFramePaint.d.ts +8 -0
  52. package/dist/components/stream/networkTypes.d.ts +2 -0
  53. package/dist/components/stream/ordinalTypes.d.ts +2 -0
  54. package/dist/components/stream/physics/StreamPhysicsTypes.d.ts +2 -0
  55. package/dist/components/stream/pipelineConfig.d.ts +2 -0
  56. package/dist/components/stream/pipelineDomainResolution.d.ts +1 -1
  57. package/dist/components/stream/types.d.ts +8 -1
  58. package/dist/components/stream/useCanvasFrameHost.d.ts +9 -0
  59. package/dist/components/stream/xyFrameAxisTypes.d.ts +5 -0
  60. package/dist/geo.min.js +1 -1
  61. package/dist/geo.module.min.js +1 -1
  62. package/dist/network.min.js +1 -1
  63. package/dist/network.module.min.js +1 -1
  64. package/dist/ordinal.min.js +1 -1
  65. package/dist/ordinal.module.min.js +1 -1
  66. package/dist/physics.min.js +1 -1
  67. package/dist/physics.module.min.js +1 -1
  68. package/dist/realtime.min.js +1 -1
  69. package/dist/realtime.module.min.js +1 -1
  70. package/dist/semiotic-ai-core.min.js +1 -1
  71. package/dist/semiotic-ai-core.module.min.js +1 -1
  72. package/dist/semiotic-ai.min.js +1 -1
  73. package/dist/semiotic-ai.module.min.js +1 -1
  74. package/dist/semiotic-experimental.min.js +1 -1
  75. package/dist/semiotic-experimental.module.min.js +1 -1
  76. package/dist/semiotic-realtime-core.min.js +1 -1
  77. package/dist/semiotic-realtime-core.module.min.js +1 -1
  78. package/dist/semiotic-server-edge.min.js +1 -1
  79. package/dist/semiotic-server-edge.module.min.js +1 -1
  80. package/dist/semiotic-server-node.min.js +1 -1
  81. package/dist/semiotic-server-node.module.min.js +1 -1
  82. package/dist/semiotic-utils-core.d.ts +1 -0
  83. package/dist/semiotic-utils-core.min.js +1 -1
  84. package/dist/semiotic-utils-core.module.min.js +1 -1
  85. package/dist/semiotic-utils.min.js +1 -1
  86. package/dist/semiotic-utils.module.min.js +1 -1
  87. package/dist/semiotic.d.ts +4 -3
  88. package/dist/semiotic.min.js +1 -1
  89. package/dist/semiotic.module.min.js +1 -1
  90. package/dist/server.min.js +1 -1
  91. package/dist/server.module.min.js +1 -1
  92. package/dist/xy.min.js +1 -1
  93. package/dist/xy.module.min.js +1 -1
  94. package/package.json +1 -1
  95. package/dist/chunk-chunk-3GCILWPB.module.min.js +0 -2
  96. package/dist/chunk-chunk-46KRGJQP.module.min.js +0 -1
  97. package/dist/chunk-chunk-7T25U75Z.module.min.js +0 -2
  98. package/dist/chunk-chunk-BTZYH2IE.module.min.js +0 -1
  99. package/dist/chunk-chunk-FRGBMTZR.module.min.js +0 -1
  100. package/dist/chunk-chunk-HCNDE26Q.module.min.js +0 -2
  101. package/dist/chunk-chunk-JJ4BSUYL.module.min.js +0 -2
  102. package/dist/chunk-chunk-N3Q33XCB.module.min.js +0 -2
  103. package/dist/chunk-chunk-RGJ6TKAH.module.min.js +0 -2
  104. package/dist/chunk-chunk-WGROBM3I.module.min.js +0 -2
@@ -20,7 +20,7 @@ import { ContextLayout } from "./ContextLayout";
20
20
  import { CircularBrush } from "./CircularBrush";
21
21
  import { DirectManipulationControl, VISUALIZATION_CONTROL_TYPES } from "./DirectManipulationControl";
22
22
  import { DetailsPanel } from "./DetailsPanel";
23
- import { Tooltip, MultiLineTooltip, normalizeTooltip } from "./Tooltip/Tooltip";
23
+ import { Tooltip, MultiLineTooltip, MultiPointTooltip, normalizeTooltip, resolveMultiCapableTooltip, isMultiTooltip } from "./Tooltip/Tooltip";
24
24
  import { RingBuffer } from "./realtime/RingBuffer";
25
25
  import { IncrementalExtent } from "./realtime/IncrementalExtent";
26
26
  import { RealtimeLineChart } from "./charts/realtime/RealtimeLineChart";
@@ -28,7 +28,7 @@ import { RealtimeTemporalHistogram, RealtimeHistogram, TemporalHistogram } from
28
28
  import { RealtimeSwarmChart } from "./charts/realtime/RealtimeSwarmChart";
29
29
  import { RealtimeWaterfallChart } from "./charts/realtime/RealtimeWaterfallChart";
30
30
  import { RealtimeHeatmap } from "./charts/realtime/RealtimeHeatmap";
31
- export { StreamXYFrame, StreamOrdinalFrame, StreamNetworkFrame, Scatterplot, ConnectedScatterplot, LineChart, BumpChart, rankBumpData, AreaChart, DifferenceChart, StackedAreaChart, Heatmap, BubbleChart, BarChart, StackedBarChart, LikertChart, SwarmPlot, BoxPlot, Histogram, ViolinPlot, RidgelinePlot, DotPlot, ForceDirectedGraph, ChordDiagram, SankeyDiagram, ProcessSankey, TreeDiagram, PieChart, DonutChart, GaugeChart, FunnelChart, GroupedBarChart, SwimlaneChart, Treemap, CirclePack, OrbitDiagram, ScatterplotMatrix, MinimapChart, QuadrantChart, MultiAxisLineChart, CandlestickChart, XYCustomChart, NetworkCustomChart, OrdinalCustomChart, LinkedCharts, ThemeProvider, useTheme, exportChart, toConfig, fromConfig, toURL, fromURL, copyConfig, configToJSX, serializeSelections, deserializeSelections, fromVegaLite, ChartErrorBoundary, ChartContainer, MobileChartContainer, SmallMultipleChart, MobileStandardControls, clampMobileRange, useMobileRangeControls, zoomMobileRange, ChartGrid, CategoryColorProvider, useCategoryColors, ContextLayout, CircularBrush, DirectManipulationControl, VISUALIZATION_CONTROL_TYPES, DetailsPanel, Tooltip, MultiLineTooltip, normalizeTooltip, RingBuffer, IncrementalExtent, RealtimeLineChart, RealtimeTemporalHistogram, RealtimeHistogram, TemporalHistogram, RealtimeSwarmChart, RealtimeWaterfallChart, RealtimeHeatmap, createHatchPattern, responsiveRuleMatches, resolveResponsiveRules };
31
+ export { StreamXYFrame, StreamOrdinalFrame, StreamNetworkFrame, Scatterplot, ConnectedScatterplot, LineChart, BumpChart, rankBumpData, AreaChart, DifferenceChart, StackedAreaChart, Heatmap, BubbleChart, BarChart, StackedBarChart, LikertChart, SwarmPlot, BoxPlot, Histogram, ViolinPlot, RidgelinePlot, DotPlot, ForceDirectedGraph, ChordDiagram, SankeyDiagram, ProcessSankey, TreeDiagram, PieChart, DonutChart, GaugeChart, FunnelChart, GroupedBarChart, SwimlaneChart, Treemap, CirclePack, OrbitDiagram, ScatterplotMatrix, MinimapChart, QuadrantChart, MultiAxisLineChart, CandlestickChart, XYCustomChart, NetworkCustomChart, OrdinalCustomChart, LinkedCharts, ThemeProvider, useTheme, exportChart, toConfig, fromConfig, toURL, fromURL, copyConfig, configToJSX, serializeSelections, deserializeSelections, fromVegaLite, ChartErrorBoundary, ChartContainer, MobileChartContainer, SmallMultipleChart, MobileStandardControls, clampMobileRange, useMobileRangeControls, zoomMobileRange, ChartGrid, CategoryColorProvider, useCategoryColors, ContextLayout, CircularBrush, DirectManipulationControl, VISUALIZATION_CONTROL_TYPES, DetailsPanel, Tooltip, MultiLineTooltip, MultiPointTooltip, normalizeTooltip, resolveMultiCapableTooltip, isMultiTooltip, RingBuffer, IncrementalExtent, RealtimeLineChart, RealtimeTemporalHistogram, RealtimeHistogram, TemporalHistogram, RealtimeSwarmChart, RealtimeWaterfallChart, RealtimeHeatmap, createHatchPattern, responsiveRuleMatches, resolveResponsiveRules };
32
32
  export type { CategoricalLegendConfig, GradientLegendConfig, GradientLegendValue, LegendGroup, LegendItem, LegendLayout, LegendValue, } from "./types/legendTypes";
33
33
  export type { DirectManipulationControlProps, VisualizationControlType } from "./DirectManipulationControl";
34
34
  export { createControlObservationAdapter, } from "./controls/controlContract";
@@ -94,8 +94,9 @@ export type { StyleRule, StyleRuleStyle, StyleRuleThreshold, StyleRuleContext, S
94
94
  export { AnnotationLabel, estimateLabelWidth } from "./charts/shared/AnnotationLabel";
95
95
  export type { AnnotationLabelBackground, AnnotationLabelBackgroundConfig, AnnotationLabelProps } from "./charts/shared/AnnotationLabel";
96
96
  export { smartTickFormat, adaptiveTimeTicks } from "./charts/shared/formatUtils";
97
+ export type { AdaptiveTimeTickOptions, TimeGranularity, } from "./charts/shared/formatUtils";
97
98
  export { darkenColor, lightenColor } from "./charts/shared/colorManipulation";
98
- export type { TooltipProp, TooltipConfig, TooltipField, MultiLineTooltipConfig } from "./Tooltip/Tooltip";
99
+ export type { TooltipProp, TooltipConfig, TooltipField, MultiLineTooltipConfig, MultiTooltipConfig, } from "./Tooltip/Tooltip";
99
100
  export { smartTooltipEntries } from "./charts/shared/tooltipUtils";
100
101
  export type { SmartTooltipEntry, SmartTooltipResult } from "./charts/shared/tooltipUtils";
101
102
  export type { ArrowOfTime, WindowMode, ThresholdType, LineStyle, BarStyle, WaterfallStyle, SwarmStyle, AnnotationContext, AnnotationAnchorMode, CrosshairStyle, HoverAnnotationConfig, HoverData } from "./realtime/types";
@@ -36,6 +36,7 @@ export interface TileRenderOptions {
36
36
  height: number;
37
37
  tileCache: TileCache;
38
38
  onTileLoad?: () => void;
39
+ maxDevicePixelRatio?: number;
39
40
  }
40
41
  /**
41
42
  * Render visible tiles onto a canvas context.
@@ -22,8 +22,19 @@ export interface CanvasMargin {
22
22
  export declare function prepareCanvas(canvas: HTMLCanvasElement, size: [number, number], margin: CanvasMargin, dpr: number): CanvasRenderingContext2D | null;
23
23
  /**
24
24
  * Get the effective canvas devicePixelRatio, defaulting to 1 in non-browser
25
- * environments. Mobile/coarse-pointer screens are capped at 2x to avoid
26
- * allocating very large backing stores on high-density phones; desktop stays
27
- * crisper but still caps pathological DPR values at 3x.
25
+ * environments. By default, mobile/coarse-pointer screens are capped at 2x to
26
+ * avoid allocating very large backing stores on high-density phones and
27
+ * desktop is capped at 3x. `maxDevicePixelRatio` overrides that ceiling.
28
28
  */
29
- export declare function getDevicePixelRatio(): number;
29
+ export declare function getDevicePixelRatio(maxDevicePixelRatio?: number): number;
30
+ /**
31
+ * Subscribe to browser pixel-density changes (page zoom, display migration,
32
+ * or OS display-scale changes). A normal ResizeObserver is insufficient:
33
+ * browsers can update `devicePixelRatio` without changing an element's CSS
34
+ * dimensions.
35
+ *
36
+ * The media query is re-created after every change because it watches the
37
+ * *current* resolution. Once that query stops matching, the next query must
38
+ * be armed for the browser's new DPR.
39
+ */
40
+ export declare function subscribeToDevicePixelRatioChange(listener: () => void): () => void;
@@ -205,6 +205,8 @@ export interface StreamGeoFrameProps<T = Datum> {
205
205
  };
206
206
  className?: string;
207
207
  background?: string;
208
+ /** Maximum canvas backing-store DPR; defaults to the environment cap. */
209
+ maxDevicePixelRatio?: number;
208
210
  runtimeMode?: "bounded" | "streaming";
209
211
  /** Maximum retained points and lines after imperative streaming begins. @default 500 */
210
212
  windowSize?: number;
@@ -12,12 +12,20 @@ export interface NetworkFramePaintContext {
12
12
  adjustedWidth: number;
13
13
  adjustedHeight: number;
14
14
  background?: string;
15
+ maxDevicePixelRatio?: number;
15
16
  renderMode?: SceneRenderMode<NetworkSceneNode | NetworkSceneEdge>;
16
17
  /** Skip opaque canvas fill when an SVG backgroundGraphics layer is present. */
17
18
  hasBackgroundGraphics?: boolean;
18
19
  dirtyRef: {
19
20
  current: boolean;
20
21
  };
22
+ /**
23
+ * Browser zoom / maxDevicePixelRatio — re-rasterize only, do not rebuild
24
+ * the network scene. Cleared by this paint function after consumption.
25
+ */
26
+ resolutionDirtyRef?: {
27
+ current: boolean;
28
+ };
21
29
  lastFrameTimeRef: {
22
30
  current: number;
23
31
  };
@@ -618,6 +618,8 @@ export interface StreamNetworkFrameProps<T = Datum> extends StreamNetworkInterac
618
618
  };
619
619
  className?: string;
620
620
  background?: string;
621
+ /** Maximum canvas backing-store DPR; defaults to the environment cap. */
622
+ maxDevicePixelRatio?: number;
621
623
  legend?: LegendValue;
622
624
  legendPosition?: "right" | "left" | "top" | "bottom";
623
625
  legendLayout?: LegendLayout;
@@ -326,6 +326,8 @@ export interface StreamOrdinalFrameProps<T = Datum> {
326
326
  bottom?: number;
327
327
  left?: number;
328
328
  };
329
+ /** Maximum canvas backing-store DPR; defaults to the environment cap. */
330
+ maxDevicePixelRatio?: number;
329
331
  barPadding?: number;
330
332
  roundedTop?: number;
331
333
  /** Gradient fill for bar rects. Offset 0 is the tip; offset 1 is the base. */
@@ -171,6 +171,8 @@ export interface StreamPhysicsFrameProps {
171
171
  * to composite over siblings (same contract as StreamXYFrame).
172
172
  */
173
173
  background?: string;
174
+ /** Maximum canvas backing-store DPR; defaults to the environment cap. */
175
+ maxDevicePixelRatio?: number;
174
176
  backgroundGraphics?: FrameGraphicsProp;
175
177
  /**
176
178
  * Optional rAF seam for deterministic frame-loop scheduling in tests.
@@ -25,6 +25,8 @@ export interface PipelineConfig {
25
25
  * read as the actual data bounds. Default `"nice"` keeps the existing
26
26
  * padded domain so glyphs at the extremes don't clip the plot edge. */
27
27
  axisExtent?: import("../charts/shared/axisExtent").AxisExtentMode;
28
+ /** Resolved y-axis mode. Falls back to `axisExtent` when omitted. */
29
+ yAxisExtent?: import("../charts/shared/axisExtent").AxisExtentMode;
28
30
  /**
29
31
  * Hard cap for `windowMode: "growing"`. Defaults to
30
32
  * {@link DEFAULT_GROWING_MAX_CAPACITY} (100_000). Canvas scene graphs
@@ -20,7 +20,7 @@ export declare function isFullySpecifiedExtent(extent: [number | undefined, numb
20
20
  * normalized). Mirrors buildStackedAreaNodes order for wiggle offsets.
21
21
  */
22
22
  export declare function resolveStackedAreaYDomain(options: {
23
- config: Pick<PipelineConfig, "normalize" | "baseline" | "stackOrder" | "extentPadding" | "axisExtent">;
23
+ config: Pick<PipelineConfig, "normalize" | "baseline" | "stackOrder" | "extentPadding" | "axisExtent" | "yAxisExtent">;
24
24
  groups: {
25
25
  key: string;
26
26
  data: Datum[];
@@ -698,6 +698,12 @@ export interface StreamXYFrameProps<T = Datum> extends StreamSemanticInteraction
698
698
  };
699
699
  className?: string;
700
700
  background?: string;
701
+ /**
702
+ * Maximum canvas backing-store pixel ratio. Defaults to 3 on desktop and 2
703
+ * on coarse-pointer/small-screen devices. Increase this when mark crispness
704
+ * at high browser zoom is more important than canvas memory/paint cost.
705
+ */
706
+ maxDevicePixelRatio?: number;
701
707
  /** Optional scene paint backend. Exact scene geometry remains interactive. */
702
708
  renderMode?: SceneRenderMode<SceneNode>;
703
709
  lineStyle?: LineStyle | ((d: T, group?: string) => Style);
@@ -728,7 +734,8 @@ export interface StreamXYFrameProps<T = Datum> extends StreamSemanticInteraction
728
734
  * tick generator — round tick labels at the cost of ticks not
729
735
  * reaching the exact data min/max. `"exact"` pins the first
730
736
  * and last tick to the data domain and spaces intermediate
731
- * ticks equidistantly. Applies to both x and y axes. */
737
+ * ticks equidistantly. Applies to both x and y axes unless an entry in
738
+ * `axes` supplies its own `extent` override. */
732
739
  axisExtent?: import("../charts/shared/axisExtent").AxisExtentMode;
733
740
  tickFormatTime?: (value: number) => string;
734
741
  tickFormatValue?: (value: number) => string;
@@ -27,6 +27,8 @@ export interface UseCanvasFrameHostInput<TStore extends object> {
27
27
  manageFrameRuntime?: boolean;
28
28
  hydrated: boolean;
29
29
  wasHydratingFromSSR: boolean;
30
+ /** Consumer override for the canvas backing-store DPR ceiling. */
31
+ maxDevicePixelRatio?: number;
30
32
  /** Family-specific teardown such as clearing a streaming data adapter. */
31
33
  cleanup?: () => void;
32
34
  /**
@@ -53,6 +55,13 @@ export interface CanvasFrameHostResult {
53
55
  canvasRef: RefObject<HTMLCanvasElement | null>;
54
56
  /** Optional family use for hover/crosshair/highlight canvas content. */
55
57
  interactionCanvasRef: RefObject<HTMLCanvasElement | null>;
58
+ /**
59
+ * Set when only the canvas backing store must re-rasterize retained
60
+ * geometry (browser zoom / display DPR / maxDevicePixelRatio). Families
61
+ * should OR this into the paint gate but **not** into scene rebuild so a
62
+ * zoom does not re-run layout or scale construction.
63
+ */
64
+ resolutionDirtyRef: MutableRefObject<boolean>;
56
65
  }
57
66
  type FrameCanvasHost = Pick<UseFrameResult, "renderFnRef" | "scheduleRender" | "cancelRender" | "frameRuntime">;
58
67
  type FrameCanvasHostInput<TStore extends object> = Omit<UseCanvasFrameHostInput<TStore>, "renderFnRef" | "scheduleRender" | "cancelRender" | "frameRuntime">;
@@ -18,6 +18,11 @@ export interface XYFrameAxisConfig {
18
18
  orient: "left" | "right" | "top" | "bottom";
19
19
  label?: string;
20
20
  ticks?: number;
21
+ /**
22
+ * Override the chart-level `axisExtent` mode for this axis. Horizontal
23
+ * (`top`/`bottom`) and vertical (`left`/`right`) axes resolve independently.
24
+ */
25
+ extent?: import("../charts/shared/axisExtent").AxisExtentMode;
21
26
  /** Per-axis tick label formatter. ReactNode return is supported and
22
27
  * renders inside a `<foreignObject>`. */
23
28
  tickFormat?: AxisTickFormatter;