Composants → bpm.linechart

bpm.linechart

Graphique en courbes (ligne). Données : liste de { x, y }.

Graphiques
bpm.linechart(data=[{"x": "Jan", "y": 10}, {"x": "Fév", "y": 20}, ...])
PropTypeDéfaut
dataArray<{ x: string | number, y: number }>
widthnumber400
heightnumber200
colorstringvar(--bpm-accent-cyan)

Exemple

bpm.linechart("Jan,10;Fév,20;Mar,15;Avr,28;Mai,22")  # format sandbox