Data Visualization
Line Chart Generator
Generate customizable multi-line charts from data with various styling options
html· HTML resultOpen tool
Quick start
Call this tool from your code in three languages.
cURL
curl -X POST 'https://api.elysiatools.com/en/api/tools/line-chart-generator' \
-H 'Content-Type: application/json' \
-d '{"chartData":"Single line JSON:\n[{"label": "Jan", "value": 100},\n{"label": "Feb", "value": 150},\n{"label": "Mar", "value": 120}]\n\nMulti-line JSON:\n{\n "labels": ["Jan", "Feb", "Mar"],\n "series": [\n {"name": "Product A", "data": [100, 150, 120]},\n {"name": "Product B", "data": [80, 110, 140]}\n ]\n}\n\nor text (single line):\nJan:100\nFeb:150\nMar:120","chartTitle":"Enter chart title...","curveType":"linear","lineColors":"#3b82f6,#ef4444,#10b981","backgroundColor":"#ffffff","gridColor":"#e0e0e0","lineWidth":"3","chartHeight":"400","maxValue":0,"minValue":0,"xAxisLabel":"Category","yAxisLabel":"Value","showGrid":true,"showPoints":true,"showValues":true,"fillArea":false,"showLegend":true}'