Releases: louisdecharson/Grapher.js
Releases · louisdecharson/Grapher.js
v.0.1.0
Version 0.1.0
- Add widen closest line from cursor option. It's increase stroke-width by 1 of the line closest to the mouse cursor.
- Add
sparklines
type to draw multiple sparklines.
Version 0.0.4b
Version 0.0.4b
- Corrected bug 🐛 on tooltip
- Added new static method
Grapher.wideToLong()
to transform wide data into long data - Added new method
.wipe()
to wipe svg elements from a graph while preserving the core structure so the methdo.draw()
can still be called afterwards
Version 0.0.4
Version 0.0.4
This release is mainly about correcting bug in sparklines
Sparklines
- Correct the bug on text and last data point value being outside of the svg and not being overwritten when updated
- Adjust width of svg so that width of the svg + width of label + width of last point = width of the sparkline element
- New static method to compute the width and height of a string based on font size.
Code style
- All private methods' name start by an underscore.
v0.0.3 - New features & less bugs
- Add .nice() options for axis
- Storing parsed data in Grapher.data and leaving Grapher.options.data
untouched - Correct bugs when categories are set manually
- Only parse data when required
- Add advanced options to add additional columns to parsed data
- Correct bug on js sorting
- Correcting bug on optimal precision and exposing new static method for
tickFormatting - Correct bug for downloading data (missing method to transform to csv
now added) - Change the number of ticks on y axis if logscale
Version 0.0.2 - ES6 + Grid support + JSDoc
Since initial version (v0.0.1)
- Move the code to ES6 (using Class & constructor)
- adding grid support (to add labelled horizontal and vertical lines)
- Effort to document the code with JSDoc