Mixed Chart

Free Mixed Chart API

Generate mixed chart images with a single HTTP request. ChartQuery returns publication-ready PNG or SVG output that works everywhere, dashboards, emails, PDFs, print, and more. No frontend library required.

Live Preview

This image is generated in real time by the ChartQuery API, no static assets.

Free Mixed Chart API, live preview generated by ChartQuery

Quick Start

A single HTTP request is all you need. No SDK, no dependencies.

Terminal
curl -X POST https://api.chartquery.com/v1/chart \
  -H "Content-Type: application/json" \
  -d '{
  "type": "mixed",
  "title": "Mixed Chart Example",
  "data": {
    "labels": [
      "Jan",
      "Feb",
      "Mar",
      "Apr"
    ],
    "datasets": [
      {
        "label": "Series A",
        "data": [
          42,
          58,
          37,
          65
        ],
        "backgroundColor": "#6366f1"
      }
    ]
  }
}' \
  --output chart.png

How It Works

1

Send a Request

POST a JSON body or use GET with query parameters. No SDK or library needed.

2

Get Your Image

ChartQuery renders your chart, diagram, barcode, QR code, or label and returns it as PNG or SVG.

3

Use It Anywhere

Embed in emails, PDFs, dashboards, documents, or print directly. Works everywhere images work.

Features

Any Chart Type

Bar, line, area, pie, doughnut, radar, polar area, bubble, scatter, and mixed, all from one endpoint.

Pixel-Perfect Output

Get crisp PNG for emails and PDFs, or infinitely scalable SVG for web and print. Up to 4K resolution.

Full Customization

Control colors, fonts, legends, axes, tooltips, and every visual detail through a simple JSON config.

Share & Embed

Save charts with shareable URLs. Embed as images or interactive iframes, no authentication needed for viewers.

Use Cases

  • Automated email and PDF reports with embedded charts
  • Real-time dashboards and data visualization
  • AI chatbot responses with visual data
  • Social media and marketing graphics

Frequently Asked Questions

What is the ChartQuery Mixed Chart API?

The ChartQuery Mixed Chart API lets you generate mixed chart images via a simple HTTP request. Send a JSON configuration and receive a rendered PNG or SVG image in the response. No frontend library, no browser, no dependencies required.

How do I use a mixed chart with an API?

Send a POST request to the ChartQuery chart endpoint with your data as JSON. The API returns a rendered image directly. You can also use GET requests with URL parameters for simple cases. No API key is required for basic usage, anonymous access is available with 60 requests per hour.

What output formats does the Mixed Chart API support?

PNG (default) and SVG. PNG is ideal for emails, PDFs, and messaging. SVG is lossless and infinitely scalable, perfect for web and print.

Is the Mixed Chart API free to use?

Yes. The ChartQuery Mixed Chart API works without an API key. Anonymous access is rate-limited to 60 requests per hour and adds a small watermark. Authenticated users on paid plans get higher limits, no watermark, and longer chart persistence (6 months vs 3 days for shared URLs).

Can I customize the mixed chart appearance?

Yes. You have full control over colors, fonts, sizes, backgrounds, legends, and every visual property through the JSON configuration. The API uses Chart.js v4 for charts, and supports all native options for fine-grained customization.

Can I share and embed charts generated by the API?

Yes. Add "share": true to any request to get permanent URLs. The render_url is a direct image URL you can embed in emails, documents, or <img> tags. The view_url is an interactive HTML page you can embed as an iframe. No authentication needed for viewers.

Start generating charts today

No API key required to get started. Generate charts, diagrams, and more with a single HTTP request.

Get StartedView Pricing