Skip to content

2.5.0

Latest

Choose a tag to compare

@davaxi davaxi released this 08 Oct 07:02
93e7fa6

Added

  • setLineStyle('solid'|'dashed', $seriesIndex): per-series line style (#41)
  • deactivateLine($seriesIndex): hide the line of a series (#42)
  • setOriginValue() now accepts per-series arrays of floor values to render a range (#42)

Fixed

  • Sparkline no longer truncated at smaller sizes (rounding error accumulation)
  • Division by zero protection when max value is 0

Changed

  • With a scalar setOriginValue(), the chart is now scaled on max - origin and uses the full height (rendering may differ from 2.4.0)
  • README updated for PHP >= 8.0; grumphp config removed