Will Charczuk
b46667ea80
Update README.md ( #230 )
2024-08-23 08:50:22 -07:00
Will Charczuk
218e744a87
narrow fix for CVE-2024-40060
2024-08-23 08:41:44 -07:00
dependabot[bot]
a334e8e43a
Bump golang.org/x/image from 0.12.0 to 0.18.0 ( #225 )
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.12.0 to 0.18.0.
- [Commits](https://github.com/golang/image/compare/v0.12.0...v0.18.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-26 12:37:07 -07:00
Will Charczuk
c9c9042154
add transparent
2023-11-04 15:44:23 -07:00
Will Charczuk
2f3402adfb
getting ready to add extended colors but stopping at basic colors for now
2023-11-04 13:30:06 -07:00
Will Charczuk
dd823617d9
color from hex handles # now
2023-11-04 09:44:19 -07:00
Will Charczuk
7281bbdfa8
tweaking how svg renders itself
2023-10-03 08:43:15 -07:00
Will Charczuk
b3fc6cba9f
make it not impossible to set a transparent background color
2023-10-03 08:23:15 -07:00
Will Charczuk
0d3588f719
updates to readme
2023-09-11 16:19:37 -04:00
Will Charczuk
d9bba03c8f
status badge
2023-09-11 16:17:58 -04:00
Will Charczuk
c6416e0757
updates to ci, fixing busts in examples
2023-09-11 16:10:03 -04:00
Will Charczuk
f6d9d1edca
fixing some issues with examples
2023-09-11 12:27:27 -04:00
Will Charczuk
2c2fb0651b
removing go-sdk
2023-09-11 12:21:40 -04:00
Will Charczuk
2ff54048b8
Update README.md ( #212 )
2023-07-13 10:08:18 -07:00
guangwu
e781e0cd22
chore: unnecessary use of fmt.Sprintf ( #211 )
2023-07-10 08:53:10 -07:00
Thomas Lambert
54fc699377
fix(bar_charts): use YAxis.Render ( #209 )
2023-06-12 16:04:52 +02:00
twessling-icas
1ccfbb0172
add logarithmic axes support, with tests. Supports positive Y-values only. ( #141 )
...
Co-authored-by: Ton Wessling <twessling@ebay.com>
2023-05-22 08:37:57 -07:00
Will Charczuk
c1468e8ae4
Adds support for go mod
(finally) ( #164 )
2020-11-22 16:45:10 -08:00
Jamie Isaacs
962b9abdec
Add stacked bar chart value labels ( #60 ) and a horizontal stacked bar chart ( #39 ) ( #114 )
...
* Add stacked bar chart value labels (#60 )
* Add horizontal render option to stacked bar chart (#39 )
* Pulling 100% inside the canvasBox to remain visible.
* Use correct margins for YAxis.TextHorizontalAlign: chart.TextHorizontalAlignRight
* Fixed Show to Hidden due to 5f42a580a9
2019-12-06 11:22:51 -08:00
Will Charczuk
3a7bc55431
updates
2019-09-09 21:05:48 -07:00
Will Charczuk
60baf17927
updates
2019-09-09 21:04:05 -07:00
Will Charczuk
45fad0cfb8
switching to generators
2019-09-09 21:02:48 -07:00
Will Charczuk
2d5aeaf824
merging master
2019-09-09 20:24:15 -07:00
Will Charczuk
6d57cf4533
additions
2019-09-09 20:21:51 -07:00
Will Charczuk
602ff901f7
adds percent change series
2019-09-09 19:57:56 -07:00
Will Charczuk
fed210cc81
tweaks
2019-04-24 13:00:46 -07:00
Will Charczuk
762b314e86
removing go-sdk completely
2019-04-24 13:00:09 -07:00
Will Charczuk
07a9cdf513
removing go-sdk stuff
2019-04-24 12:58:05 -07:00
Alessandro
9852fce5a1
adding donut type chart, like a pie chart with a blank circle on the center and little trick for label position ( #111 )
...
(some way of improvement)
2019-02-19 10:52:03 -08:00
Justin Kromlinger
59451fbeb4
Add type classes on class output ( #106 )
...
* Add type classes on class output
Without this it is quite difficult to differentiate between fill and
stroke elements, f.e. with basic charts with fillings or legends
generally:
`svg path:nth-last-of-type(2).legend`
Text elements needed to be accessed with text.classname which
isn't really best practise.
This way they can be accessed easier:
`svg .legend.fill`
* Add type classes to examples
* Fix import in custom_stylesheets example
2019-02-19 10:51:41 -08:00
Will Charczuk
0576aba75e
removing debugging file
2019-02-16 11:17:53 -08:00
Will Charczuk
781a45d770
tests pass
2019-02-16 11:17:39 -08:00
Will Charczuk
fa93bd8abb
updates
2019-02-13 19:13:29 -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
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
Will Charczuk
96acfc6a9f
switching the build badge
2018-10-12 09:35:03 -07:00
Will Charczuk
31d235310c
removing travis references
2018-10-12 09:28:44 -07:00
Will Charczuk
70d5b73afd
fixing build
2018-10-12 09:26:46 -07:00
Will Charczuk
f5889c93ae
copy pasta
2018-10-12 09:24:20 -07:00
Will Charczuk
4e6c06ca87
removing coverage artifact
2018-10-12 09:23:56 -07:00
Will Charczuk
3e352f140b
adds circle ci
2018-10-12 09:23: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
Bernhard Reisenberger
6735e8990a
draw circle if single value; do not position text on negative coordinates ( #82 )
2018-10-11 17:21:06 -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
MinJae Kwon
828d1952d8
Put a space between the badges ( #101 )
2018-10-04 23:57:51 -07:00
Will Charczuk
872b97b99f
removing example
2018-09-10 13:14:46 -07:00
Will Charczuk
a7ff82d63f
lots of changes
2018-09-10 13:11:25 -07:00
Will Charczuk
0e849b11bb
sequence tweaks, removing market hours anything
2018-09-10 13:08:20 -07:00