Skip to content

Documentation / @ripl/charts / ScatterChartOptions

Interface: ScatterChartOptions<TData>

Defined in: charts/src/charts/scatter.ts:98

Options for configuring a ScatterChart.

Extends

Type Parameters

Type ParameterDefault type
TDataunknown

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
animation?boolean | Partial<ChartAnimationOptions>Animation configuration, or a boolean toggling all transitions. See ChartAnimationOptions.-CartesianChartOptions.animationcharts/src/core/chart.ts:89
autoRender?booleanWhether the chart renders automatically on construction and after every Chart.update. Defaults to true.-CartesianChartOptions.autoRendercharts/src/core/chart.ts:83
axis?ChartAxisInput<TData>Axis configuration (labels, ticks, titles).CartesianChartOptions.axis-charts/src/charts/scatter.ts:114
crosshair?ChartCrosshairInputCrosshair overlay configuration.CartesianChartOptions.crosshair-charts/src/charts/scatter.ts:108
dataTData[]The dataset plotted across all series.--charts/src/charts/scatter.ts:100
format?ValueFormatInputFormat applied to bubble values shown as text (tooltips and labels).--charts/src/charts/scatter.ts:118
grid?ChartGridInputBackground grid line configuration.CartesianChartOptions.grid-charts/src/charts/scatter.ts:106
keykeyof TData | ((item) => string)Accessor for each item's unique key, used to match bubbles across data updates.--charts/src/charts/scatter.ts:104
labels?ChartDataLabelsInputShow value labels next to each bubble. true uses the default anchor; a string sets the anchor side.--charts/src/charts/scatter.ts:116
legend?ChartLegendInputSeries legend configuration.CartesianChartOptions.legend-charts/src/charts/scatter.ts:112
navigator?boolean | NavigatorInteractionsEnables pan/zoom (and optionally brush) navigation on the plot. true turns on wheel-zoom and click-drag pan; an object configures each interaction individually. The chart auto-creates a DOMNavigator on its context and rescales the axis domains as the view changes — no data rebuild. Access the underlying controller via chart.navigator for imperative framing (centerOn/fitBounds) or brush-and-link.-CartesianChartOptions.navigatorcharts/src/core/cartesian.ts:137
padding?Partial<ChartPadding>Space reserved around the chart, per edge, in pixels.-CartesianChartOptions.paddingcharts/src/core/chart.ts:85
seriesScatterChartSeriesOptions<TData>[]The series to render, each mapping the data to x/y (and optional size) positions.--charts/src/charts/scatter.ts:102
title?string | Partial<ChartTitleOptions>Chart title as plain text, or a ChartTitleOptions object for full control.-CartesianChartOptions.titlecharts/src/core/chart.ts:87
tooltip?ChartTooltipInputHover tooltip configuration.CartesianChartOptions.tooltip-charts/src/charts/scatter.ts:110