Fork of gionkunz/chartist-js. Stripped down for simple, responsive trend charts with a built-in tooltip plugin.
- 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
npm install @sector-labs/chartist-trends
MIT OR WTFPL