ProjectActivityChart.svelte view source
accepts children
import ProjectActivityChart from '@fuzdev/fuz_ui/ProjectActivityChart.svelte'; width?
Width of the svg's coordinate space in px; rendering stretches to the container.
number800height?
Height of the svg's coordinate space in px.
number160scale?
Vertical scale for the lines' geometry — see SparklineScale.
1 / 3stroke_width?
number2alpha_floor?
Stroke alpha at a value of 0, scaling linearly to 1 at the shared max.
number0.4label?
Accessible label for the chart.
string'weekly commit activity for all projects, drawn over one another at a shared scale'external types
OmitStrict<SvelteHTMLElements['svg'], 'width' | 'height' | 'scale'>