chart
examples
Installation
chart
Most of the components are interchangeable so feel free to crib whatever you want.
Output ExamplesSpark Lines:
Single axis:
Two axis:
Other Chart TypesPie Chart:
examples/pie_chart/main.go
Stacked Bar:
examples/stacked_bar/main.go
Code Examples
./examples/output.pnggo generate
Usage
chart.Chart
chartSeriesSeries
io.WriterRender(...)io.Writer
API Overview
chart.Chart
./_examples/
Design Philosophy
I wanted to make a charting library that used only native golang, that could be stood up on a server (i.e. it had built in fonts).
The goal with the API itself is to have the "zero value be useful", and to require the user to not code more than they absolutely needed.
ContributionsContributions are welcome though this library is in a holding pattern for the forseable future.