Skip to content

Area Chart

Chart style
type: "chart"

Filled area charts emphasize the volume under a trend — send new data on every API call and render straight to an image. Generate area charts free.

Edit it — this is the actual editor panel
Design JSON — “Area” variant
{
  "title": "Chart sample",
  "description": "A dynamic bar chart",
  "dimensions": {
    "width": 800,
    "height": 420
  },
  "background": {
    "color": "#ffffff"
  },
  "components": [
    {
      "id": "sample-chart",
      "key": "sales",
      "type": "chart",
      "position": {
        "x": 140,
        "y": 60
      },
      "rotation": 0,
      "size": {
        "width": 520,
        "height": 300
      },
      "dynamic": true,
      "properties": {
        "chartType": "area",
        "data": [
          12,
          28,
          20,
          34,
          26
        ],
        "labels": [
          "Mon",
          "Tue",
          "Wed",
          "Thu",
          "Fri"
        ],
        "colors": [],
        "orientation": "vertical",
        "showAxis": true,
        "showGrid": true,
        "showValues": false,
        "valueFormat": "number",
        "opacity": 1
      }
    }
  ]
}

Chart examples

Real renders of the area chart — each one is the same component with different property values, and the API payload below each preview reproduces it exactly.

Cumulative signups

Running total of signups — the filled area emphasizes accumulated growth.

API overrides for this example
{
  "sales.chartType": "area",
  "sales.data": [
    120,
    310,
    540,
    890,
    1350,
    1980
  ],
  "sales.labels": [
    "Jan",
    "Feb",
    "Mar",
    "Apr",
    "May",
    "Jun"
  ],
  "sales.colors": [
    "#8B5CF6"
  ],
  "sales.valueFormat": "compact"
}

Bandwidth usage report

Daily GB transferred for an infra status email, grid kept for readability.

API overrides for this example
{
  "sales.chartType": "area",
  "sales.data": [
    42,
    55,
    49,
    71,
    64,
    82,
    76
  ],
  "sales.labels": [
    "Mon",
    "Tue",
    "Wed",
    "Thu",
    "Fri",
    "Sat",
    "Sun"
  ],
  "sales.colors": [
    "#F59E0B"
  ],
  "sales.yAxisLabel": "GB"
}

When to use the area style

  • Cumulative signup or revenue visuals
  • Bandwidth and usage-over-time reports
  • Volume-weighted trend stories

Use it dynamically via the API

Feed fresh numbers via '<key>.data' (or '<key>.series' for multi-series), and swap '<key>.labels' or '<key>.chartType' per render.

Full API request with this variant's current values — the playground above sends only the properties you change
curl --location 'https://render.imejis.io/v1/{{YOUR_DESIGN_ID}}' \
--header 'dma-api-key: {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data '{
    "sales.chartType": "area",
    "sales.data": [
        12,
        28,
        20,
        34,
        26
    ],
    "sales.labels": [
        "Mon",
        "Tue",
        "Wed",
        "Thu",
        "Fri"
    ],
    "sales.colors": [],
    "sales.orientation": "vertical",
    "sales.showAxis": true,
    "sales.showGrid": true,
    "sales.showValues": false,
    "sales.valueFormat": "number",
    "sales.opacity": 1
}'

Only send the properties you want to change — everything else keeps its design value. See the API documentation for all languages.

Other chart styles

See the chart component page for the full property reference and FAQs.

We use cookies to run the site and, depending on your region and your choice here, for analytics and marketing. See our Cookie Policy. You can change this any time from “Cookie settings” in the footer.