Commit Graph

31 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
075ec865cb change import paths 2018-12-06 16:57:29 +01:00
Alexander Weinhold
ee46aad5c1 change import paths 2018-12-06 16:38:58 +01:00
Justin Kromlinger
3cb33d48d3 Add ability to set custom stylesheets for SVG renderer (#105)
* Add ability to set custom stylesheets for SVG renderer

This allow to set custom inline CSS and a optional CSP nonce. This
solves the problem mentioned in #103 and is best used with it, as seen
in the added examples. Without this one would have to write a custom
renderer.

* Add note with link to the custom_stylesheets example
2018-10-12 09:43:30 -07: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
f72f7fd57b fix for issues/56 2017-10-12 13:29:55 -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
4f15ced303 adding helper 2017-03-26 16:29:24 -07:00
Will Charczuk
fec5be6506 adding helper 2017-03-26 16:27:15 -07:00
Will Charczuk
66b99eb8e3 fixing svg circles 2017-03-05 23:52:13 -08: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
718678b421 can rotate text + add y axis names 2016-08-06 21:59:46 -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
3d9cf0da0c vector renderer works 2016-07-28 13:22:18 -07:00
Will Charczuk
c17c9a4bb4 pie charts! 2016-07-28 02:34:44 -07:00
Will Charczuk
9ad15b3288 fixing dash arrays and style handling in vector renderer. 2016-07-15 18:19:29 -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
ee12481644 also fixing svg 2016-07-11 00:23:31 -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
b336065b86 build bust 2016-07-07 21:16:34 -07:00
Will Charczuk
f71ffc98a5 whoopsie. 2016-07-07 21:07:47 -07:00