chartjs-plugin-trendline
chartjs-plugin-trendline copied to clipboard
This plugin draws an linear trendline in your Chart. Made for Chart.js > 3.0
I have added the trendline, but the most interesting information for me is its slope/gradient. Could it possible to make this information available so I can not only draw the...
My code is this: ` let testing; async function myFunction() { let each = new Array(); let test = await fetch( "https://api.corona-zahlen.org/districts/09462/history/incidence/7" ); /*.then((res) => res.json()) .then((data) => { console.log(data.data["09472"].history);...
I attach two screenshots. Is there a work around to the problem? First case, all data is defined: works  Second case, one y value is zero. 
I followed the instructions to install the plugin in my Angular 12.1.2 application using - npm i chartjs-plugin-trendline On importing chartTrendLine, using this command - import {Chart, ChartConfiguration, ChartDataset, registerables}...
I tried adding it using addPlugin, or registering it to Chart plugins, both didn't work
 Picture speaks for itself. I use chartjs in combination with chartjs-plugin-zoom. Any solution for this?
 I have a problem with z-index of trendline. It covers my tooltip and there is no way of chaning z- index of it (same as for trendline). Is there...
 ## Case I only want use data from 00 until 12 to create trendline, so the trendline will not include the latest data. How to implement this case? Note:...
First of all thank you for the amazing plugin :) But i have an issue: i have a graph with multiple datasets and only the first dataset uses the trendline....
The trend line for a second Y axis is plotted on the first Y axis therefore it does not match the scale of the datapoint it represents. Is there a...