Changelog
What's new?
0.2.0
New- Revamped labeling system:
- dataLabels: 'literal' or 'percentage' for automatic value / percentage labels on bars
- imageLabels: supply images (with optional topText / bottomText) for bar and line charts
- Support for combining normal labels, dataLabels, and imageLabels simultaneously
- Improved docs with styling guidance (labelClass, image label grouping classes)
- Website updated
0.1.9
Fixes- Fixed issue with linear gradients being incorrectly set for
barchart - Fixed an issue where
maxfor barcharts was not being properly allowed
- Few new parameters that are on the more advanced in usage
all chart typesvWidthtied to resultingviewBoxwidthvHeighttied to resultingviewBoxheight
linechartminallows for themin-yofviewBox
linechartcan now properly handle negative values
0.1.8
Fixes- Removed some console logs from
linechart
0.1.7
Fixes- Fixed
lineType: "smooth"- All lines now perfectly smooth, regardless of the amount of datapoints!
- Fixed issue with incorrect automatic y-values for linecharts
0.1.6
We've got linecharts! That's right this update introduces the linechart function.
0.1.1
This update notably includes the new barchartStacked function, along with some new options.
- New chart:
barchartStacked - New option for
barchartandbarchartStackedlabelColorsallows for coloring the labels separately- not required
textClassis nowlabelClasstextGroupClassis nowlabelGroupClass