Version: @tanstack/charts 0.16.0. Evidence for the open friction entry F-260 "Static guides cannot express stroke treatment" in API-FRICTION.md; filing it here because there is no tracking issue for it.
gridX/gridY and the axis line expose colour and opacity only. Migrating a component library whose grid default is strokeDasharray="4,4" on every cartesian chart, with axis line width themed per chart, loses the dash and the width: the only route is a stylesheet rule keyed on the rendered guide nodes, which the export path does not carry.
Would it be possible to expose strokeDasharray, strokeWidth and strokeLinecap on the grid and axis guide options (or a style object like the marks take), emitted by the SVG renderer and the export path alike? Dashed grids are the default in Recharts (CartesianGrid strokeDasharray), Chart.js (borderDash) and ECharts (lineStyle.type).
Version:
@tanstack/charts0.16.0. Evidence for the open friction entry F-260 "Static guides cannot express stroke treatment" inAPI-FRICTION.md; filing it here because there is no tracking issue for it.gridX/gridYand the axis line expose colour and opacity only. Migrating a component library whose grid default isstrokeDasharray="4,4"on every cartesian chart, with axis line width themed per chart, loses the dash and the width: the only route is a stylesheet rule keyed on the rendered guide nodes, which the export path does not carry.Would it be possible to expose
strokeDasharray,strokeWidthandstrokeLinecapon the grid and axis guide options (or astyleobject like the marks take), emitted by the SVG renderer and the export path alike? Dashed grids are the default in Recharts (CartesianGrid strokeDasharray), Chart.js (borderDash) and ECharts (lineStyle.type).