react-trend v1.2.2 Release Notes

Release Date: 2017-03-10 // about 7 years ago
  • โž• Add support for same-value lines

    ๐Ÿ›  Fixes a bug where same-value datasets (eg. [0, 0, 0, 0, 0]) would crash.

    ๐Ÿ‘€ The fix assumes that if all values are the same, the line will run along the bottom of the available space. This is not an ideal fix for all cases; a future version will allow for greater customization. See the discussion in #9 for more information.

    Special thanks to @Mattasher for discovering this bug!