Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/titaniumbones/chartist-segmented-line
Segmented Line Chart Type for Chartist.js
https://github.com/titaniumbones/chartist-segmented-line
Last synced: 4 days ago
JSON representation
Segmented Line Chart Type for Chartist.js
- Host: GitHub
- URL: https://github.com/titaniumbones/chartist-segmented-line
- Owner: titaniumbones
- Created: 2019-12-06T16:30:49.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-10T00:21:09.000Z (almost 5 years ago)
- Last Synced: 2024-10-22T04:28:41.978Z (29 days ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
* Segmented Line Chart Type for Chartist.js
I needed to be able to address *line segments* in a chart, rather than just set a threshold as in the threshold plugin. It seemed easiest to make a new chart type.
What I have here is just proof of concept code; several values are hard-coded, and also the line segments should probably be proper instantiations of ~Chartist.series~ rather than just ad-hoc objects that happen to work with Chartist as-is. I'm not sure yet whether this is of any use to anyone else, so am just temporarily putting here in its own repo while I see whther anyone else would want such a tool, & therefore make the work of adding to Chartist or providing as some kind of a plugin worthwhile.