https://github.com/filhodanuvem/pizzeria
🍕Chart generator as a service
https://github.com/filhodanuvem/pizzeria
chart chart-generator go
Last synced: 5 months ago
JSON representation
🍕Chart generator as a service
- Host: GitHub
- URL: https://github.com/filhodanuvem/pizzeria
- Owner: filhodanuvem
- License: mit
- Created: 2016-08-12T21:56:25.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-25T22:33:08.000Z (almost 10 years ago)
- Last Synced: 2025-03-18T02:51:32.163Z (over 1 year ago)
- Topics: chart, chart-generator, go
- Language: Go
- Homepage:
- Size: 107 KB
- Stars: 90
- Watchers: 9
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Pizzeria [](https://travis-ci.org/cloudson/pizzeria)
=========
Pizzeria is a chart generator as a service
### What is it?
The main inspiration of Pizzeria was
[Google deprecated chart api](https://developers.google.com/chart/image).
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](https://github.com/cloudson/pizzeria/releases)
```bash
# 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](./doc/index.md)