项目
在 GitHub 查看
vdobler/chart
关于
使用 Go 提供基础图表
数据与分析可以做什么
- Axis can be linear, logarithmical, categorical or time/date axis.
- Autoscaling with lots of options
- Fine control of tics and labels
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Charts for Go
Basic charts in go.
This package focuses more on autoscaling, error bars, and logarithmic plots than on beautifull or marketing ready charts.
Examples

Chart Types
The following chart types are implemented:
- Strip Charts
- Scatter / Function-Plot Charts
- Histograms
- Bar and Categorical Bar Charts
- Pie/Ring Charts
- Boxplots
Some Features
- Axis can be linear, logarithmical, categorical or time/date axis.
- Autoscaling with lots of options
- Fine control of tics and labels
Output / Graphic Formats
Package chart itself provideds the charts/plots itself, the charts/plots can be output to different graphic drivers. Currently
- txtg: ASCII art charts
- svgg: scalable vector graphics (via github.com/ajstarks/svgo), and
- imgg: Go image.RGBA (via code.google.com/p/draw2d/draw2d/ and code.google.com/p/freetype-go) are implemented.
For a quick overview save as xbestof.{png,svg,txt} run
$ example/example -best
A fuller overview can be generated by
$ example/example -All
Quirks
- Style handling (especialy colour) is a bit of a mess .
- Text based charts are cute. But the general graphics would be much easier without.
- Time handling code dates back to pre Go1, it should be reworked.
探索相关项目
加载中…