Skip to main content
Multi-Series Line
DarkLineReport

Multi-Series Line

Side-by-side metric comparison on a dark canvas — ideal for period-over-period reports.

Open in Studio

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
Content-Type: application/json
Authorization: Bearer YOUR_API_KEY

{
  "type": "line",
  "width": 800,
  "height": 400,
  "format": "png",
  "data": {
    "labels": [
      "Jan",
      "Feb",
      "Mar",
      "Apr",
      "May",
      "Jun",
      "Jul",
      "Aug"
    ],
    "datasets": [
      {
        "label": "This Year",
        "data": [
          18200,
          21400,
          25100,
          29800,
          34200,
          39600,
          45800,
          52100
        ],
        "borderColor": "#818cf8",
        "backgroundColor": "transparent",
        "tension": 0.4,
        "borderWidth": 2,
        "pointRadius": 3,
        "pointBackgroundColor": "#818cf8"
      },
      {
        "label": "Last Year",
        "data": [
          14100,
          16800,
          19200,
          22400,
          26100,
          30200,
          34800,
          39400
        ],
        "borderColor": "#a78bfa",
        "backgroundColor": "transparent",
        "tension": 0.4,
        "borderWidth": 2,
        "borderDash": [
          5,
          4
        ],
        "pointRadius": 3,
        "pointBackgroundColor": "#a78bfa"
      }
    ]
  },
  "options": {
    "color": "#94a3b8",
    "plugins": {
      "legend": {
        "position": "top",
        "align": "start",
        "labels": {
          "color": "#94a3b8",
          "usePointStyle": true,
          "padding": 16
        }
      },
      "title": {
        "display": true,
        "text": "Revenue YoY ($)",
        "color": "#e2e8f0",
        "font": {
          "size": 14,
          "weight": "bold"
        }
      }
    },
    "scales": {
      "x": {
        "grid": {
          "display": false
        },
        "border": {
          "display": false
        },
        "ticks": {
          "color": "#64748b"
        }
      },
      "y": {
        "grid": {
          "color": "rgba(148, 163, 184, 0.18)"
        },
        "border": {
          "display": false
        },
        "ticks": {
          "color": "#64748b"
        }
      }
    }
  },
  "theme": {
    "palette": [
      "#818cf8",
      "#a78bfa",
      "#c084fc",
      "#e879f9",
      "#fb7185",
      "#f472b6"
    ],
    "backgroundColor": "#111827",
    "fontFamily": "Inter",
    "fontSize": 12,
    "gridColor": "rgba(148, 163, 184, 0.18)",
    "mode": "dark"
  }
}

More Line templates