chart

Provide basic charts in go

  • Owner: vdobler/chart
  • Platform:
  • License:: BSD 3-Clause "New" or "Revised" License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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

Some nice charts

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.

Main metrics

Overview
Name With Ownervdobler/chart
Primary LanguageGo
Program languageGo (Language Count: 2)
Platform
License:BSD 3-Clause "New" or "Revised" License
所有者活动
Created At2011-06-27 12:19:42
Pushed At2021-06-03 05:17:13
Last Commit At2021-06-03 07:17:13
Release Count1
Last Release Namev1.0.0 (Posted on 2018-11-01 09:49:06)
First Release Namev1.0.0 (Posted on 2018-11-01 09:49:06)
用户参与
Stargazers Count773
Watchers Count42
Fork Count107
Commits Count157
Has Issues Enabled
Issues Count16
Issue Open Count4
Pull Requests Count8
Pull Requests Open Count2
Pull Requests Close Count6
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private