There is now a way to allow gaps in charts due to missing
measurements. A style setting (StrokeMaxSpanGap) determines
whether a gap is stroked or not.
An example is included in examples/custom_styles.
* 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
* 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
* 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
* 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