Area Chart

GET /chart/area

Request

Parameter Description Type Required Default
labels Comma separated labels for x axis string yes
values Comma separated values for y axis, use | to separate multiple series string yes
titles Comma separated titles for series string no
colors Comma separated colors for series string no
title Chart title string no
x_title Chart x axis title string no
y_title Chart y axis title string no
dpi Controls chart size string no 150

Response

Description Type
Chart image file

Example

https://api.labstack.com/chart/area?values=1000,1170,660,1030,800|400,460,1120,540,700&labels=2011,2012,2013,2014,2015&titles=Sales,Expenses&colors=lightseagreen,orangered&title=Company Performance&x_title=Year

© 2018 LabStack. All Rights Reserved.