Features · mark

Point marker shapes

native

Circle, square, triangle, custom symbols

Matrix status native. Verification runtime · strong. ChartKit option: ChartKitChartSpecV1.mark.pointShape.

circle, square, diamond, triangle, cross, or none. A y series may set pointShape, pointSize, and pointFill. The legend swatch uses the marker. Drawn on createRenderer([line]).

Source: packages/core/src/glyphs.ts:15

ChartKit spec

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

Y peaks at 22.Y peaks at 22.x 16, y 3x 22, y 534516182022
{
  "version": "1",
  "type": "scatter",
  "data": [
    {
      "x": 16,
      "y": 3
    },
    {
      "x": 22,
      "y": 5
    }
  ],
  "encoding": {
    "x": "x",
    "y": "y"
  },
  "a11y": {
    "alt": "Y peaks at 22."
  },
  "size": {
    "width": 640,
    "height": 260
  },
  "mark": {
    "pointShape": "diamond"
  }
}

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: mark.point.shape.md.

LibraryStatusOptionVerificationSource
Chart.jsnativeChartConfiguration.data.datasets.pointStyletypes · strongchart.js/dist/types/index.d.ts:2074
RechartsnativeLine.dot, Scatter.shapetypes · strongrecharts/types/cartesian/Line.d.ts:120
Apache EChartsnativeseries.symboltypes · strongecharts/types/dist/shared.d.ts:7754
HighchartsnativeplotOptions.series.marker.symboltypes · stronghighcharts/highcharts.d.ts:97668
Plotly.jsnativetrace.marker.symboltypes · strongplot-schema.json#traces.{box,scatter,scatter3d,scattercarpet,scattergeo,scattergl,…}.attributes.marker.symbol
NivonativeLine.pointSymboltypes · strong@nivo/line/dist/types/types.d.ts:140
VictorynativeVictoryScatter.symboltypes · strongvictory-scatter/lib/victory-scatter.d.ts:15
visxnativeGlyphSquare, GlyphTriangletypes · strong@visx/glyph/lib/glyphs/GlyphSquare.d.ts:17
ApexChartsnativemarkers.shapetypes · strongapexcharts/types/apexcharts.d.ts:4660
Tremor (npm)none—absence · absence—
Observable Plotnativegrep: symbolsymbol channelgrep · weak@observablehq/plot/src/symbol.d.ts:1
Vega-Litenativegrep: shapegrep · weak422: "description"
AG Chartsnativeseries.marker.shapetypes · strongag-charts-types/dist/types/src/series/markerOptions.d.ts:9
amCharts 5nativegrep: Starbullets with any spritegrep · weak@amcharts/amcharts5/.internal/plugins/json/Serializer.d.ts:40
Google ChartsnativeLineChartOptions.pointShapetypes · strong@types/google.visualization/index.d.ts:807
uPlotpartialOptions.series.pointscustom points pathtypes · stronguplot/dist/uPlot.d.ts:923
TradingView Lightweight Chartsnativegrep: SeriesMarkerShapeseries markers circle/square/arrowUp/arrowDowngrep · weak3959: shape
MUI X Chartsnativegrep: shapescatter/line marker shapegrep · weak@mui/x-charts/ChartsXAxis/useAxisTicksProps.d.ts:4128
Mermaid (chart-ish diagrams only)none—absence · absence—
AntV G2nativegrep: shapegrep · weak@antv/g2/lib/component/utils.d.ts:27