Will Charczuk
26eaa1d898
snapshot
2019-02-13 16:09:26 -08: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
nptrx
865ff54ab9
unification of sample and test coding styles will improve visibility ( #67 )
...
* "Style{Show: true}" to "StyleShow()"
* "Box{IsSet: true}" to "BoxZero"
2018-10-11 17:20:44 -07:00
Will Charczuk
0fb4aa53e9
adds a rerender example
2018-10-11 17:18:46 -07:00
Will Charczuk
872b97b99f
removing example
2018-09-10 13:14:46 -07:00
Will Charczuk
1a09989055
fixing issues
2018-09-07 15:25:58 -07:00
Yuji Yaginuma
4ed65028e4
Fix func name typo in examples ( #91 )
...
It seems that `RandomValuesWithMax` is correct.
9e3a080aa3/seq/random.go (L15)
2018-09-05 08:45:45 -07:00
David Mis
3edccc4758
Added BaseValue funtionality to bar chart ( #94 )
2018-09-05 08:44:49 -07:00
Michael Bruce
d667b8c983
spelling correction ( #98 )
2018-09-05 08:43:52 -07:00
Andrew Poydence
0506f74600
Fix typo in example ( #100 )
2018-09-05 08:43:35 -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
f72f7fd57b
fix for issues/56
2017-10-12 13:29:55 -07:00
Will Charczuk
a0ea012903
fixing styling issues w/ the stack bar chart.
2017-06-11 11:38:10 -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
0cbbd0887a
parameterize by index.
2017-04-19 15:27:31 -07:00
Will Charczuk
a211e88530
Adds matrix
sub package & adds polynomial regression series ( #36 )
...
* updates
* updates
* tests.
* test coverage
* fixing test
* stride not rows + cols
* lu decomp implementation.
* poly regression!
* poly regression works.
* typo.
2017-04-18 20:20:29 -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
Didip Kerabat
e53554fb04
Benchmarking the performance of drawing line charts. ( #30 )
...
* Another example for benchmarking the performance of drawing line charts.
* Cleanup the code a bit.
2017-04-16 10:37:39 -07:00
Will Charczuk
3f046bbba1
adding jet as a generator
2017-04-15 09:59:37 -07:00
Will Charczuk
c599f1a2a2
removing color translator
2017-04-15 09:43:59 -07:00
Will Charczuk
03ac305951
just passing the full range.
2017-04-15 09:07:59 -07:00
Will Charczuk
079c471daf
updated example
2017-04-14 17:46:53 -07:00
Will Charczuk
fdb1b191b2
color maps
2017-04-14 17:43:52 -07:00
Will Charczuk
66b99eb8e3
fixing svg circles
2017-03-05 23:52:13 -08:00
Will Charczuk
8e91a3446f
wiring up pprof.
2017-03-05 23:37:30 -08:00
Will Charczuk
182d5a199b
potential fix for issue with large deltas rounding the y axis
2017-03-05 23:20:58 -08: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
d88ba0ead3
removing exception dep, saving blank canvas on checkRanges err
2017-02-22 17:15:13 -08:00
Will Charczuk
a3605addc2
adding output.
2017-02-13 00:28:23 -08:00
Will Charczuk
6db18d540d
snapshot.
2017-02-13 00:27:33 -08:00
Will Charczuk
1edf6193b2
slight tweak to legend (adds a new style) and example
2017-02-13 00:27:02 -08:00
Will Charczuk
841f21921e
example tweaks.
2017-02-06 14:26:37 -08:00
Will Charczuk
9b804502c0
tweaks
2017-02-06 14:25:09 -08:00
Will Charczuk
e735797037
adding validation.
2017-02-03 11:26:53 -08:00
Will Charczuk
3ea3c9ac10
example tweak.
2017-02-03 10:47:48 -08:00
Will Charczuk
7163f89845
comment.
2017-01-10 13:54:57 -08:00
Will Charczuk
98d3996b47
descending
2017-01-10 13:50:17 -08:00
Will Charczuk
21986dbce7
fixing output.
2016-12-15 18:07:07 -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
2e8d196621
works, ish.
2016-10-21 12:50:40 -07:00
Will Charczuk
f800bc387b
text rotation works, ish.
2016-10-21 12:44:37 -07:00
Will Charczuk
53280b9258
finalizing work on text rotation.
2016-10-20 15:21:52 -07:00
Will Charczuk
8595962d99
snapshot.
2016-09-11 09:13:57 -07:00
Will Charczuk
cd4bbc6503
tweaks
2016-09-05 17:31:29 -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
6fbc6caa9c
axes label example and thin legend.
2016-08-27 13:45:38 -07:00