Composants → bpm.linechart

bpm.linechart

Graphique en courbes (ligne). Données : liste de { x, y }. Démo : chiffre d'affaires mensuel 2025 (k€).

Graphiques
bpm.linechart(data=[{"x": "Jan", "y": 82}, {"x": "Fév", "y": 85}, ..., {"x": "Déc", "y": 138}])  # CA 2025 (k€)
PropTypeDéfaut
dataArray<{ x: string | number, y: number }>
widthnumber400
heightnumber200
colorstringvar(--bpm-accent-cyan)

Exemple

bpm.linechart("Jan,82;Fév,85;Mar,93;Avr,98;Mai,105;Juin,112;Juil,104;Août,88;Sep,117;Oct,124;Nov,131;Déc,138")  # CA mensuel 2025 (k€), format sandbox