Composants → bpm.areachart

bpm.areachart

Graphique en aires (courbe remplie). Données : liste de { x, y }. Démo : utilisateurs actifs hebdomadaires sur 12 semaines.

Graphiques
bpm.areachart(data=[{"x": "S1", "y": 1240}, {"x": "S2", "y": 1310}, ..., {"x": "S12", "y": 2050}])  # utilisateurs actifs hebdo
PropTypeDéfaut
dataArray<{ x: string | number, y: number }>
widthnumber400
heightnumber200
colorstringvar(--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