Skip to content

Releases: louisdecharson/Grapher.js

v.0.1.0

01 Dec 11:40
Compare
Choose a tag to compare
v.0.1.0 Pre-release
Pre-release

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

22 Jul 22:53
Compare
Choose a tag to compare
Version 0.0.4b Pre-release
Pre-release

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

19 Jul 22:15
Compare
Choose a tag to compare
Version 0.0.4 Pre-release
Pre-release

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

24 Apr 09:45
Compare
Choose a tag to compare
Pre-release
  • 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

22 Apr 17:41
Compare
Choose a tag to compare

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