Commit Graph

34 Commits (v3.0.2)

Author SHA1 Message Date
gutmet 3e6f54fa68 fix paths from git.gutmet.org to fireandbrimst.one/aw 2023-09-21 21:33:55 +02:00
Alexander Weinhold ee46aad5c1 change import paths 2018-12-06 16:38:58 +01:00
Justin Kromlinger f97f94425f Add ability to set CSS classes instead of inline styles (#103)
* Add ability to set CSS classes instead of inline styles

This allows to set a `ClassName` field in `Style` structs. Setting this
field to anything but "" will cause all other styles to be ignored. The
element will then have a `class=` tag instead with the corresponding name.

Possible reasons to use this:
* Including multiple SVGs on the same webside, using the same styles
* Desire to use strict CSP headers

* Add warning that setting `ClassName` will drop all other inline styles
2018-10-11 17:21:46 -07:00
Will Charczuk 7d28470055 removing dep on go-util from blend 2018-04-04 22:06:34 -07: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
Chris Redford b3dc3fef3c Separation of DotColorProvider and ColorProvider Interfaces (#34)
* fully functioning Viridis

* pure functions
2017-04-17 16:21:02 -07:00
Will Charczuk fdb1b191b2 color maps 2017-04-14 17:43:52 -07:00
Will Charczuk a44401b5ca adding helper 2017-03-26 16:21:52 -07:00
Will Charczuk 66e49377ce adding helper 2017-03-26 16:19:25 -07:00
Will Charczuk b713ff85cc Adds the ability to draw an XY scatter plot. (#27)
* works more or less

* updating comment

* removing debugging printf

* adding output

* tweaks

* missed a couple series validations

* testing auto coloring

* updated output.png

* color tests etc.

* sanity check tests.

* should not use unkeyed fields anyway.
2017-03-05 16:54:40 -08:00
Will Charczuk 8f56e5939b snapshot. 2016-09-05 13:26:12 -07:00
Will Charczuk b78f2327aa text rotation is sucky. 2016-08-31 22:11:52 -07:00
Will Charczuk c3a066aecd tweaks to make ticks not be terrible 2016-07-31 16:54:09 -07:00
Will Charczuk a008ebe30e tweaks. 2016-07-29 18:40:43 -07:00
Will Charczuk cbc0002d2a big api overhauls. 2016-07-29 18:24:25 -07:00
Will Charczuk d84d6790c0 text options! 2016-07-29 16:36:29 -07:00
Will Charczuk c17c9a4bb4 pie charts! 2016-07-28 02:34:44 -07:00
Will Charczuk b0934ee2e3 introduces the `Range` interface (instead of a concrete type). 2016-07-21 14:11:27 -07:00
Will Charczuk 8edf6a5e8a adding style.String() 2016-07-18 11:43:41 -07:00
Will Charczuk 9ad15b3288 fixing dash arrays and style handling in vector renderer. 2016-07-15 18:19:29 -07:00
Will Charczuk 205a7284a9 missed font size 2016-07-14 19:45:23 -07:00
Will Charczuk 96e957daaf moving averages! dashes! 2016-07-14 09:27:23 -07:00
Will Charczuk 9a5138b21d ??? 2016-07-11 18:48:51 -07:00
Will Charczuk 56da554741 inching up coverage. 2016-07-10 23:06:14 -07:00
Will Charczuk 1e62f7ce3b fixing svg renderer 2016-07-10 18:09:41 -07:00
Will Charczuk e9a36274ac snapshot. 2016-07-10 01:11:47 -07:00
Will Charczuk 1357950324 a color type that actually works. 2016-07-09 11:23:35 -07:00
Will Charczuk 0da2b41a9d you can now fill series. 2016-07-09 10:27:47 -07:00
Will Charczuk 8bc8b1087c removing 3rd party deps. 2016-07-08 17:57:14 -07:00
Will Charczuk f843d124d6 SVG! 2016-07-07 22:18:53 -07:00
Will Charczuk b10ead7cc1 tweaks. 2016-07-07 17:50:16 -07:00
Will Charczuk 04bef9cad8 things work more or less, added a testing service. 2016-07-07 17:14:25 -07:00
Will Charczuk cbc4672f1e updates. 2016-07-07 14:44:03 -07:00
Will Charczuk 2dd44d3675 initial commit. 2016-07-06 18:54:00 -07:00