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 max for barcharts was not being properly allowed
New
  • Few new parameters that are on the more advanced in usage
    • all chart types
      • vWidth tied to resulting viewBox width
      • vHeight tied to resulting viewBox height
    • linechart
      • min allows for the min-y of viewBox
  • linechart can 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.

New

0.1.1

This update notably includes the new barchartStacked function, along with some new options.

New
  • New chart: barchartStacked
  • New option for barchart and barchartStacked
    • labelColors allows for coloring the labels separately
    • not required
Breaking Changes
  • textClass is now labelClass
  • textGroupClass is nowlabelGroupClass