Commit graph

12 commits

Author SHA1 Message Date
Richard Pickering
f131def079 Zero data range bar chart now returns custom error
Previously, in the case of no range between the data values,
`fmt.Errorf` was called (without format arguments), making the resulting
error difficult to compare by downstream users.  This has been replaced
with a custom error, and its test updated.

The `testutil` package does not appear to have a function allowing
assertion using `errors.Is` and therefore the `errors.Is` check is
performed in the test itself.
2021-03-13 20:08:10 +00:00
Will Charczuk
5f42a580a9 mostly working 2019-02-13 18:55:13 -08:00
Will Charczuk
26eaa1d898 snapshot 2019-02-13 16:09:26 -08:00
David Mis
3edccc4758 Added BaseValue funtionality to bar chart (#94) 2018-09-05 08:44:49 -07:00
oneumyvakin
11e380634b Port changes 'fixing styling issues w/ the stack bar chart.' from commit a0ea012903 (#66) 2018-01-24 09:43:24 -08:00
Will Charczuk
03708a90ef Helper API refactor (#40)
* api cleaup

* updates

* wtf

* updates

* snapshot.

* tweaks

* snapshot

* api tweaks.

* updates

* updates

* updates

* changes.

* updates

* updates

* sequence => seq

* dont need to use curl, just using wget

* fixing examples
2017-05-12 17:12:23 -07:00
Will Charczuk
fdb1b191b2 color maps 2017-04-14 17:43:52 -07:00
Will Charczuk
e4cd38f602 handle zero values 2017-01-13 14:37:08 -08:00
Jason Kingsbury
83016634b0 min instead of max height for bar xaxis height 2017-01-09 16:59:45 +00:00
Will Charczuk
129cbad0fa tests. 2016-08-05 21:25:56 -07:00
Will Charczuk
95d0bcca4b tests 2016-08-05 20:08:24 -07:00
Will Charczuk
7bb3fbf810 bar charts! 2016-08-05 16:55:55 -07:00