bpm.linechart
Graphique en courbes (ligne). Données : liste de { x, y }. Démo : chiffre d'affaires mensuel 2025 (k€).
bpm.linechart(data=[{"x": "Jan", "y": 82}, {"x": "Fév", "y": 85}, ..., {"x": "Déc", "y": 138}]) # CA 2025 (k€)| Prop | Type | Défaut |
|---|---|---|
| data | Array<{ x: string | number, y: number }> | — |
| width | number | 400 |
| height | number | 200 |
| color | string | var(--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