bpm.areachart
Graphique en aires (courbe remplie). Données : liste de { x, y }. Démo : utilisateurs actifs hebdomadaires sur 12 semaines.
bpm.areachart(data=[{"x": "S1", "y": 1240}, {"x": "S2", "y": 1310}, ..., {"x": "S12", "y": 2050}]) # utilisateurs actifs hebdo| 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.areachart("S1,1240;S2,1310;S3,1295;S4,1420;S5,1505;S6,1480;S7,1610;S8,1720;S9,1695;S10,1840;S11,1930;S12,2050") # utilisateurs actifs hebdo, format sandbox