apiverve / chartgenerator
Chart Generator is a chart API that turns your data into chart and graph images. Supports bar, line, pie, doughnut, radar, polar area, scatter and bubble charts with customizable styling.
Package info
github.com/apiverve/chartgenerator-api
Language:C#
pkg:composer/apiverve/chartgenerator
Requires
- php: >=7.4
- guzzlehttp/guzzle: ^7.0
Requires (Dev)
- phpunit/phpunit: ^9.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Chart Generator is a chart API that turns your data into chart and graph images. Supports bar, line, pie, doughnut, radar, polar area, scatter and bubble charts with customizable styling.
The Chart Generator API provides a simple, reliable way to integrate chart generator functionality into your applications. Built for developers who need production-ready chart generator capabilities without the complexity of building from scratch.
Quick Start
Using JavaScript
async function callChartGeneratorAPI() { try { const requestBody = { "type": "bar", "labels": [ "Q1", "Q2", "Q3", "Q4" ], "datasets": [ { "name": "Sales", "values": [ 50, 60, 70, 180 ] }, { "name": "Revenue", "values": [ 100, 200, 300, 400 ] } ], "title": "Quarterly Report" }; const response = await fetch('https://api.apiverve.com/v1/chartgenerator', { method: 'POST', headers: { 'x-api-key': 'YOUR_API_KEY_HERE', 'Content-Type': 'application/json' }, body: JSON.stringify(requestBody) }); const data = await response.json(); console.log(data); } catch (error) { console.error('Error:', error); } } callChartGeneratorAPI();
Using cURL
curl -X POST "https://api.apiverve.com/v1/chartgenerator" \ -H "x-api-key: YOUR_API_KEY_HERE" \ -H "Content-Type: application/json" \ -d '{ "type": "bar", "labels": [ "Q1", "Q2", "Q3", "Q4" ], "datasets": [ { "name": "Sales", "values": [ 50, 60, 70, 180 ] }, { "name": "Revenue", "values": [ 100, 200, 300, 400 ] } ], "title": "Quarterly Report" }'
Get your API key: https://apiverve.com
📁 For more examples, see the examples folder
Installation
Choose your preferred programming language:
📦 NPM (JavaScript/Node.js)
npm install @apiverve/chartgenerator
View NPM Package → | Package Code →
🔷 NuGet (.NET/C#)
dotnet add package APIVerve.API.ChartGenerator
View NuGet Package → | Package Code →
🐍 Python (PyPI)
pip install apiverve-chartgenerator
View PyPI Package → | Package Code →
💎 Ruby (RubyGems)
gem install apiverve_chartgenerator
View RubyGems Package → | Package Code →
🐘 PHP (Packagist)
composer require apiverve/chartgenerator
View Packagist Package → | Package Code →
🎯 Dart (pub.dev)
dart pub add apiverve_chartgenerator
View pub.dev Package → | Package Code →
🤖 Android (JitPack)
implementation 'com.github.apiverve:chartgenerator-api:1.0.0'
🐹 Go
go get github.com/apiverve/chartgenerator-api/go
Why Use This API?
| Feature | Benefit |
|---|---|
| Multi-language SDKs | Native packages for JavaScript, Python, C#, Go, and Android |
| Simple Integration | Single API key authentication, consistent response format |
| Production Ready | 99.9% uptime SLA, served from 24 global regions |
| Comprehensive Docs | Full examples, OpenAPI spec, and dedicated support |
Documentation
- 🏠 API Home: Chart Generator API
- 📚 API Reference: docs.apiverve.com/ref/chartgenerator
- 📖 OpenAPI Spec: openapi.yaml
- 💡 Examples: examples/
What Can You Build?
The Chart Generator API is commonly used for:
- Web Applications - Add chart generator features to your frontend or backend
- Mobile Apps - Native SDKs for Android development
- Automation - Integrate with n8n, Zapier, or custom workflows
- SaaS Products - Enhance your product with chart generator capabilities
- Data Pipelines - Process and analyze data at scale
API Reference
Authentication
All requests require an API key in the header:
x-api-key: YOUR_API_KEY_HERE
Get your API key: https://apiverve.com
Response Format
Every APIVerve endpoint returns the same envelope — check status, then read data:
{
"status": "ok",
"error": null,
"data": { ... }
}
Example Response
A real response from the Chart Generator API:
{
"status": "ok",
"error": null,
"data": {
"id": "6a783c9c-f959-4a88-80cb-84580b8c788d",
"format": ".png",
"expires": 1766010059346,
"type": "bar",
"downloadURL": "https://storage.googleapis.com/apiverve/APIData/chartgenerator/6a783c9c-f959-4a88-80cb-84580b8c788d.png?GoogleAccessId=635500398038-compute%40developer.gserviceaccount.com&Expires=1766010059&Signature=Iud%2B7hoPRtPbWoJXQAAnhN9nqUHObHQ7PaiJCtkWQzEzpMexPMRR3BIPKkwOUMAwT6YcNbvywgnLvU2SV7498rbp%2FZbktuAR3Ok1E3O6p4ZJJ4s%2FpW8HAZgIBJpDlPUQt%2FjulQLtwP2I2GUPVmgWheXitnWsWq1S3E2k4viysXwS8H2%2B8BBdxjS%2Bv1ruGXbqd4RpdzdLst4e9YtHGWNZuiaL8zX8%2FHA1zreyrewY2fpB4g0pHnh%2B3IDE48eIohb4HQoDc9vXy4s8sIoqLScmTLyxyq1pPYlak1n1PWdbLcz4TBr41JnLELzF%2BBwCkyrLts9dhisSseaIB7d4g4JQnw%3D%3D"
}
}
Support & Community
- 🏠 API Home: Chart Generator API
- 💬 Support: https://apiverve.com/contact
- 🐛 Issues: GitHub Issues
- 📖 Documentation: https://docs.apiverve.com
- 🌐 Website: https://apiverve.com
Contributing
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
Security
For security concerns, please review our Security Policy.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
Built with ❤️ by APIVerve
Copyright © 2026 APIVerve. All rights reserved.