Skip to content

dslik/svg-chart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published