@sector-labs/chartist-trends
v1.0.1
Published
Simple, responsive trends
Readme
chartist-trends
Fork of gionkunz/chartist-js. Stripped down for simple, responsive trend charts with a built-in tooltip plugin.
Changes from upstream
- Reduced Chartist core by removing unneeded functionality
- Built-in tooltip plugin (
chartist-plugin-tooltip2) with improvements - Plugin system accepts objects with name and options
axisYformat function used as default value formatter in tooltips- Tooltips positioned relative to the chart instead of the page
- Axis markers in tooltip plugin
- Custom autoscale via
getBoundsoption on axis ct-areasupportct-pointdrawing re-enabled- Tooltip plugin updated for recent Node compatibility
valueaccepted as an object, providing thexposition- Option to only render tooltips where required
Install
npm install @sector-labs/chartist-trendsLicense
MIT OR WTFPL
