Features · interaction

Overview navigator / range slider

native

Mini-chart or slider to choose the visible window

Matrix status native. Verification runtime · strong. ChartKit option: interaction.navigator.

interaction.navigator is true or { height }. The client mounts an overview and a keyboard range slider. The server SVG records data-ck-nav and does not include the control. A type with no x window warns CK3034. A height outside 28 to 96 warns CK3035.

Source: packages/core/src/interact-extra.ts

ChartKit spec

Passed validate() during npm run matrix:refresh. The SVG is the server render.

Units rose in Q2.Units rose in Q2.40455055Q1Q2
{
  "version": "1",
  "type": "line",
  "data": [
    {
      "quarter": "Q1",
      "units": 40
    },
    {
      "quarter": "Q2",
      "units": 55
    }
  ],
  "encoding": {
    "x": "quarter",
    "y": "units"
  },
  "a11y": {
    "alt": "Units rose in Q2."
  },
  "size": {
    "width": 640,
    "height": 260
  },
  "interaction": {
    "navigator": true
  }
}

Other libraries

Option names are the paths recorded in the matrix. A grep-only cell names the identifier that matched, not a render test. Markdown copy: interaction.navigator.md.

LibraryStatusOptionVerificationSource
Chart.jsnone—absence · absence—
RechartsnativeBrushBrush with mini chart childrentypes · strongrecharts/types/cartesian/Brush.d.ts:111
Apache EChartsnativeSliderDataZoomComponentOptiondataZoom type slidertypes · strongecharts/types/dist/shared.d.ts:10769
Highchartsnativenavigator.enabled, rangeSelectortypes · stronghighcharts/highcharts.d.ts:90060
Plotly.jsnativelayout.xaxis.rangeslidertypes · strongplot-schema.json#layout.layoutAttributes.xaxis.rangeslider
Nivonone—absence · absence—
VictorymanualVictoryBarProps.dataComponentVictoryBrushContainer second chartmechanism · weakvictory-core/lib/victory-util/common-props.d.ts:9
visxmanualGroupmechanism · weak@visx/group/lib/Group.d.ts:15
ApexChartspartialchart.brushsynced brush charttypes · strongapexcharts/types/apexcharts.d.ts:1917
Tremor (npm)none—absence · absence—
Observable Plotnone—absence · absence—
Vega-LitemanualTopLevelSpec.layermechanism · weakvega-lite/build/spec/layer.d.ts:27
AG Chartsnativegrep: navigatorgrep · weakag-charts-types/dist/types/src/main.d.ts:31
amCharts 5nativegrep: Scrollbargrep · weak@amcharts/amcharts5/xy.d.ts:2
Google Chartsnativegrep: ChartRangeFilterdashboard ChartRangeFilter controlgrep · weak@types/google.visualization/index.d.ts:1355
uPlotmanualOptions.hooksdemomechanism · weakuplot/dist/uPlot.d.ts:394
TradingView Lightweight Chartsnone—absence · absence—
MUI X Chartsnative progrep: ChartsZoomSlidergrep · weak@mui/x-charts-pro/index.d.ts:48
Mermaid (chart-ish diagrams only)none—absence · absence—
AntV G2nativegrep: slidergrep · weak@antv/g2/lib/index.d.ts:116