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.
{
"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.
| Library | Status | Option | Verification | Source |
|---|---|---|---|---|
| Chart.js | native | ChartConfiguration.data.datasets.pointStyle | types · strong | chart.js/dist/types/index.d.ts:2074 |
| Recharts | native | Line.dot, Scatter.shape | types · strong | recharts/types/cartesian/Line.d.ts:120 |
| Apache ECharts | native | series.symbol | types · strong | echarts/types/dist/shared.d.ts:7754 |
| Highcharts | native | plotOptions.series.marker.symbol | types · strong | highcharts/highcharts.d.ts:97668 |
| Plotly.js | native | trace.marker.symbol | types · strong | plot-schema.json#traces.{box,scatter,scatter3d,scattercarpet,scattergeo,scattergl,…}.attributes.marker.symbol |
| Nivo | native | Line.pointSymbol | types · strong | @nivo/line/dist/types/types.d.ts:140 |
| Victory | native | VictoryScatter.symbol | types · strong | victory-scatter/lib/victory-scatter.d.ts:15 |
| visx | native | GlyphSquare, GlyphTriangle | types · strong | @visx/glyph/lib/glyphs/GlyphSquare.d.ts:17 |
| ApexCharts | native | markers.shape | types · strong | apexcharts/types/apexcharts.d.ts:4660 |
| Tremor (npm) | none | — | absence · absence | — |
| Observable Plot | native | grep: symbolsymbol channel | grep · weak | @observablehq/plot/src/symbol.d.ts:1 |
| Vega-Lite | native | grep: shape | grep · weak | 422: "description" |
| AG Charts | native | series.marker.shape | types · strong | ag-charts-types/dist/types/src/series/markerOptions.d.ts:9 |
| amCharts 5 | native | grep: Starbullets with any sprite | grep · weak | @amcharts/amcharts5/.internal/plugins/json/Serializer.d.ts:40 |
| Google Charts | native | LineChartOptions.pointShape | types · strong | @types/google.visualization/index.d.ts:807 |
| uPlot | partial | Options.series.pointscustom points path | types · strong | uplot/dist/uPlot.d.ts:923 |
| TradingView Lightweight Charts | native | grep: SeriesMarkerShapeseries markers circle/square/arrowUp/arrowDown | grep · weak | 3959: shape |
| MUI X Charts | native | grep: shapescatter/line marker shape | grep · weak | @mui/x-charts/ChartsXAxis/useAxisTicksProps.d.ts:4128 |
| Mermaid (chart-ish diagrams only) | none | — | absence · absence | — |
| AntV G2 | native | grep: shape | grep · weak | @antv/g2/lib/component/utils.d.ts:27 |