Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 934 Bytes

README.md

File metadata and controls

31 lines (19 loc) · 934 Bytes

SVG Charts

license github

Simple charts using SVG

Core functionality includes:

  • Multiple series
  • Min/Max/Average series
  • Gradient series
  • Regions of indeterminacy
  • Variable sample durations

Example:

Example

See the tests for more examples: https://dslik.github.io/svg-chart/mmatests.html

An example of how to generate charts from Prometheus is also provided.

Note: This code has only been tested with Safari and Firefox. Bugs may exist when used in other browsers.

Gradients contained in the "rgb" directory are copyright Peter Kovesi, licensed under CC-BY-4.0.

Good Colour Maps: How to Design Them. arXiv:1509.03700 [cs.GR] 2015