/pizzeria

Pizzeria is a chart generator as a service

Primary LanguageGoMIT LicenseMIT

Pizzeria Build Status

Pizzeria is a chart generator as a service

What is it?

The main inspiration of Pizzeria was Google deprecated chart api. We believe that sometimes developers need to have a simple way to generate image charts. A http api could be a good tool to solve this problem.

Requirements

Golang 1.6

How to install and run it ?

Prefer always a stable release found here

# Install Go compiler on https://golang.org/dl
# Download the project on some $path
cd $path
go get 
go run main.go

Examples

Pie chart

http://localhost:8080/pie?h=200&w=200&dt=1,2,3&lb=cash,credit,debit

Bar chart

http://localhost:8080/bar?h=200&w=200&dt=1,2,3&lb=cash,credit,debit

Line chart

http://localhost:8080/line?h=200&w=200&dtx=1,2,3&dty=2,4,6

Documentation

Read more about the possibilities on Doc page