Commit graph

14 commits

Author SHA1 Message Date
Rico
1288c8d48d
fix: respect user defined legend style paddings
Prior to this commit the paddings passed within the style struct for the different legend objects were ignored. This commit fixes that behavior.
2022-08-28 02:27:42 +02:00
Rico
901d2bb313
fix: use fixed length for left stroked legend
The stroke length was just way too long, so I first tried to decrease the length by subtracting the padding from it, but it was not a big difference.
I ended up using a hardcoded value because it gave the best visual results on different resolutions.
2022-08-28 02:10:53 +02:00
Rico
f0b283349e
fix: use padding in legend from passed style
Prior to this commit we simply defined a hardcoded padding. This commit respects the passed style and inherits from a default padding defined in legendDefaults.
2022-08-28 02:10:48 +02:00
Rico
bbad84f537
feat: implement legend type with fixed length line on the left side
fixes #185
2022-08-28 02:10:32 +02:00
Will Charczuk
c1468e8ae4
Adds support for go mod (finally) (#164) 2020-11-22 16:45:10 -08: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
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
1edf6193b2 slight tweak to legend (adds a new style) and example 2017-02-13 00:27:02 -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
6fbc6caa9c axes label example and thin legend. 2016-08-27 13:45:38 -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