chartjs-plugin-trend
v1.1.0
Published
Trend line for Chart.js
Downloads
2
Readme
chartjs-plugin-trend
Forked from https://github.com/Makanz/chartjs-plugin-trendline
This plugin draws an linear trendline in your Chart. Made for Chart.js 2.X
Configuration
To configure the trendline plugin you simply add new config options to your chart config.
{
trendlineLinear: {
style: "rgba(255,105,180, .8)",
width: 2
}
}
Supported chart types
- bar
License
chartjs-plugin-trend.js is available under the MIT license.