# Support tickets by priority (stacked area chart)

> A year of support tickets stacked by priority: the total load climbing while the high-priority band shrinks.

This chart is one Chart-Output API request. Send the request below to `POST https://www.chart-output.com/api/v1/render` with an `Authorization: Bearer <API key>` header and the response is the image. The free plan includes 1,000 renders a month, no card.

- Page: https://www.chart-output.com/gallery/tickets-by-priority
- Request as JSON: https://www.chart-output.com/gallery/tickets-by-priority/spec.json
- Get a free API key: https://www.chart-output.com/auth/sign-up?ref=gallery-tickets-by-priority-md

## When to pick it

Use it to show a total and its parts over time when the shape of the total matters.

## The data it takes

Columns: Month, High, Medium, Low. 2 to 24 rows.

## The request

Change the content (title, labels, numbers, KPI values, annotations) and keep the rest.

```json
{
  "type": "line",
  "width": 560,
  "height": 640,
  "textScale": 1.8,
  "format": "png",
  "devicePixelRatio": 2,
  "legend": {
    "display": true,
    "position": "top",
    "style": "square",
    "fontSize": 13
  },
  "data": {
    "labels": ["Dec 25", "Jan 26", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov"],
    "datasets": [
      {
        "label": "High",
        "data": [38, 41, 36, 34, 33, 31, 29, 27, 28, 24, 22, 21],
        "fill": "origin",
        "backgroundColor": "#e0602a",
        "borderColor": "#e0602a",
        "borderWidth": 2,
        "borderDash": [],
        "tension": 0.25,
        "pointRadius": 0
      },
      {
        "label": "Medium",
        "data": [52, 56, 61, 66, 70, 78, 86, 94, 101, 112, 121, 133],
        "fill": "-1",
        "backgroundColor": "#3c5cdd",
        "borderColor": "#3c5cdd",
        "borderWidth": 2,
        "borderDash": [],
        "tension": 0.25,
        "pointRadius": 0
      },
      {
        "label": "Low",
        "data": [98, 112, 131, 149, 168, 190, 216, 240, 262, 281, 293, 301],
        "fill": "-1",
        "backgroundColor": "#cdd9fa",
        "borderColor": "#cdd9fa",
        "borderWidth": 2,
        "borderDash": [],
        "tension": 0.25,
        "pointRadius": 0
      }
    ]
  },
  "annotations": [
    {
      "x": "Jun",
      "label": "New onboarding",
      "color": "#1d2640"
    }
  ],
  "options": {
    "plugins": {
      "tooltip": {
        "enabled": false
      }
    },
    "scales": {
      "x": {
        "stacked": true,
        "grid": {
          "display": false
        },
        "border": {
          "color": "#e3e7ef"
        },
        "ticks": {
          "color": "#4a5368",
          "maxRotation": 0,
          "autoSkip": true,
          "maxTicksLimit": 6
        }
      },
      "y": {
        "stacked": true,
        "beginAtZero": true,
        "border": {
          "display": false
        },
        "grid": {
          "color": "#e3e7ef",
          "drawTicks": false
        },
        "ticks": {
          "color": "#4a5368",
          "padding": 8,
          "maxTicksLimit": 5
        }
      }
    }
  },
  "kpiStrip": [
    {
      "label": "Tickets, Nov",
      "value": "455",
      "color": "#1d2640"
    },
    {
      "label": "High priority",
      "value": "4.6%",
      "color": "#1d2640"
    },
    {
      "label": "High, vs Dec",
      "value": "-44.7%",
      "color": "#13703f"
    }
  ],
  "footer": {
    "left": "Source: help desk",
    "borderTop": true
  },
  "header": {
    "title": "Support tickets",
    "subtitle": "Opened per month, by priority",
    "logoUrl": "https://www.chart-output.com/gallery/acme-logo.png",
    "logoHeight": 22
  },
  "theme": {
    "backgroundColor": "#ffffff",
    "textPrimary": "#1d2640",
    "textSecondary": "#4a5368",
    "gridColor": "#e3e7ef",
    "mode": "light"
  }
}
```

## Questions

### How do I make this support tickets by priority chart with my own data?

Paste your numbers into the box on this page and the chart and its request update. To make it from your own workflow, send that request to POST https://www.chart-output.com/api/v1/render with a free API key; the response is the image.

### What data does it take?

Columns: Month, High, Medium, Low. 2 to 24 rows.

### Can ChatGPT or Claude make this chart?

Yes. Add https://www.chart-output.com/mcp as a custom connector and ask for the chart; its render_chart tool takes this page's request and returns the image, with no API key. Or use "Copy prompt for your AI" on this page.

### What does it cost?

The free plan includes 1,000 renders a month, with no card. Paid plans add more renders and remove the watermark.

### What do I get back?

A finished image: PNG by default, or SVG, WebP or JPEG, and PDF on Pro. Set "format" in the request.
