Skip to content

Releases: simeydotme/donutty

2.4.0 - Inverted Donut Origins

18 Oct 16:23
Compare
Choose a tag to compare

Thanks to @tobie we now have the ability to start the Donut's filling from the Top instead of always from the Bottom.
Check the Readme for the new option (anchor)

2.0.0 Responsive Update

03 Nov 14:56
8d0d969
Compare
Choose a tag to compare

I've bumped the version to 2.0.0 with some security updates, and also fixing #7 and #8 .. I had to bump version to a major as there's potentially breaking changes when enabling the responsive mode.

I had to trade-off some code which worked with document-fragments to use innerHTML as it seemed browsers were not updating the layer tree when the preserveAspectRatio attribute was modified programatically.

I also updated the build to gulp4

Fix width/height on Firefox

27 Jun 15:35
Compare
Choose a tag to compare

Cherry picked @ivan-compucorp commit regarding adding px to the width/height for standards compliance. This should resolve issues with browsers not rendering the size correctly.

Refer to #5 for original commit.

Fix bug with Text feature

29 May 20:23
Compare
Choose a tag to compare

No longer throws error about styling an non-existing text element.

Thanks to @i1group for their contribution in resolving this long-standing issue.

Add "text" property

15 Jul 10:38
Compare
Choose a tag to compare

This release allows the options to be passed with text as a Function.

  • add text function option
  • refactor some code

see the `Readme.md for more information


note; text function will only work if the donut chart is explicitly created in Javascript, it's not possible to declare a function in the <div data-x /> html style.

Initialise on Dom Ready

15 Jul 10:40
Compare
Choose a tag to compare

This release allows the donuts to be initialised when the DOM is ready.

  • add a dom-ready wrapper for jQuery
  • add a dom-ready listener for vanilla