Skip to main content
Stacked Revenue
DarkBarReport

Stacked Revenue

Multi-product stacked bar on a dark canvas. Shows revenue composition at a glance.

Theme tokens

Background
#111827
Font
Inter / 12px
Mode
dark

API snippet

POST this to /api/v1/render to render this template programmatically.

POST /api/v1/render HTTP/1.1 Content-Type: application/json Authorization: Bearer YOUR_API_KEY { "type": "bar", "width": 800, "height": 420, "format": "png", "devicePixelRatio": 4, "theme": { "palette": [ "#818cf8", "#a78bfa", "#c084fc", "#e879f9", "#fb7185", "#f472b6" ], "backgroundColor": "#111827", "fontFamily": "Inter", "fontSize": 16, "gridColor": "rgba(148, 163, 184, 0.18)", "mode": "dark" }, "data": { "labels": [ "Jan", "Feb", "Mar", "Apr", "May", "Jun" ], "datasets": [ { "label": "Starter", "data": [ 48, 61, 72, 85, 97, 112 ], "backgroundColor": "#818cf8", "borderRadius": 4, "borderSkipped": false }, { "label": "Pro", "data": [ 82, 104, 129, 153, 178, 204 ], "backgroundColor": "#a78bfa", "borderRadius": 4, "borderSkipped": false }, { "label": "Business", "data": [ 34, 47, 59, 68, 82, 97 ], "backgroundColor": "#c084fc", "borderRadius": 4, "borderSkipped": false } ] }, "options": { "color": "#94a3b8", "plugins": { "legend": { "position": "top", "align": "start", "labels": { "color": "#94a3b8", "usePointStyle": true, "padding": 16 } }, "title": { "display": true, "text": "Revenue by Plan ($k)", "color": "#e2e8f0", "font": { "size": 14, "weight": "bold" } } }, "scales": { "x": { "stacked": true, "grid": { "display": false }, "border": { "display": false }, "ticks": { "color": "#64748b" } }, "y": { "stacked": true, "grid": { "color": "rgba(148, 163, 184, 0.18)" }, "border": { "display": false }, "ticks": { "color": "#64748b" } } } } }

More Bar templates