Features · interaction

Pan

native

Drag to move the visible range

Matrix status native. Verification types · strong. ChartKit option: ChartKitChartSpecV1.interaction.pan.

Source: chartkit:packages/core/src/generated/schema.ts:1153

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": {
    "pan": 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.pan.md.

LibraryStatusOptionVerificationSource
Chart.jsplugin—npm · weak—
Rechartsunknown—conflict · unknown—
Apache EChartsnativedataZoominside dataZoom moveOnMouseMovetypes · strongecharts/types/dist/shared.d.ts:12589
Highchartsnativechart.panningtypes · stronghighcharts/highcharts.d.ts:6454
Plotly.jsnativelayout.dragmode=pantypes · strongplot-schema.json#layout.layoutAttributes.dragmode
Nivounknown—conflict · unknown—
VictorynativeVictoryZoomContainer.allowPantypes · strongvictory-zoom-container/lib/victory-zoom-container.d.ts:9
visxnativeZoomtypes · strong@visx/zoom/lib/Zoom.d.ts:60
ApexChartsnativechart.toolbar.tools.pantypes · strongapexcharts/types/apexcharts.d.ts:2187
Tremor (npm)unknown—conflict · unknown—
Observable Plotnone—absence · absence—
Vega-Litenativegrep: bindgrep · weak524: "description"
AG Chartsnative entgrep: panKeygrep · weakag-charts-community/dist/types/src/core/eventsHub.d.ts:239
amCharts 5nativegrep: panXgrep · weak@amcharts/amcharts5/.internal/charts/xy/XYChart.d.ts:49
Google Chartsunknowngrep: dragToPanunverified · unknown—
uPlotmanualOptions.hooksdemosmechanism · weakuplot/dist/uPlot.d.ts:394
TradingView Lightweight Chartsnativegrep: handleScrollgrep · weak993: handleScroll
MUI X Chartsnative progrep: zoomgrep · weak@mui/x-charts/locales/svSE.d.ts:10
Mermaid (chart-ish diagrams only)unknown—conflict · unknown—
AntV G2nativegrep: scrollbargrep · weak@antv/g2/lib/index.d.ts:118