Commit Graph

29 Commits

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
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 27a5efdd2d Merge pull request #13 from wcharczuk/text-rotation
Adds `TextRotationDegrees`
2016-10-21 12:53:01 -07:00
Will Charczuk f800bc387b text rotation works, ish. 2016-10-21 12:44:37 -07:00
Will Charczuk a1835a532d bounded rotate works, ish 2016-09-05 14:03:20 -07: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 ce5b36a6cb image collector. 2016-08-27 14:23:55 -07:00
Will Charczuk 718678b421 can rotate text + add y axis names 2016-08-06 21:59:46 -07:00
Will Charczuk c17c9a4bb4 pie charts! 2016-07-28 02:34:44 -07:00
Will Charczuk 312ebdd3df fixing dashes. 2016-07-14 18:53:54 -07:00
Will Charczuk 16721a5844 refactoring how the raster renderer handles styles. 2016-07-14 18:51:42 -07:00
Will Charczuk 28f01842de slightly more rigorous bounds checking and auto-fit 2016-07-12 16:47:52 -07:00
Will Charczuk 9a5138b21d ??? 2016-07-11 18:48:51 -07:00
Will Charczuk cb5c2df263 worked without scaling!! 2016-07-10 23:55:57 -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 80d6be9849 need to be very specific about points vs. pixels. 2016-07-09 09:04:30 -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 04bef9cad8 things work more or less, added a testing service. 2016-07-07 17:14:25 -07:00
Will Charczuk df67121e9c updates. 2016-07-07 14:46:52 -07:00
Will Charczuk cbc4672f1e updates. 2016-07-07 14:44:03 -07:00
Will Charczuk e09aa43a1e updates. 2016-07-06 21:12:19 -07:00
Will Charczuk 2dd44d3675 initial commit. 2016-07-06 18:54:00 -07:00