Skip to content

Commit

Permalink
Updated to the latest chartjs version 4.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Makanz committed Jun 23, 2024
1 parent f0440e1 commit 08c5832
Show file tree
Hide file tree
Showing 7 changed files with 375 additions and 299 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# chartjs-plugin-trendline

This plugin draws an linear trendline in your Chart.
It has been tested with Chart.js version 4.4.0.
It has been tested with Chart.js version 4.4.3.

## Installation

Expand All @@ -10,7 +10,7 @@ It has been tested with Chart.js version 4.4.0.
Load Chart.js first, then the plugin which will automatically register itself with Chart.js

```html
<script src="https://cdn.jsdelivr.net/npm/[email protected].0/dist/chart.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].3/dist/chart.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/chartjs-plugin-trendline"></script>
```

Expand Down
2 changes: 1 addition & 1 deletion example/barChart.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>BarChart Example</title>
<script src="https://cdn.jsdelivr.net/npm/[email protected].0/dist/chart.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].3/dist/chart.umd.js"></script>
<script src="./../src/chartjs-plugin-trendline.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function(event) {
Expand Down
2 changes: 1 addition & 1 deletion example/barChartWithNullValues.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>BarChart Example</title>
<script src="https://cdn.jsdelivr.net/npm/[email protected].0/dist/chart.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].3/dist/chart.umd.js"></script>
<script src="./../src/chartjs-plugin-trendline.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function(event) {
Expand Down
2 changes: 1 addition & 1 deletion example/lineChart.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>LineChart Example</title>
<script src="https://cdn.jsdelivr.net/npm/[email protected].0/dist/chart.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].3/dist/chart.umd.js"></script>
<script src="./../src/chartjs-plugin-trendline.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function(event) {
Expand Down
2 changes: 1 addition & 1 deletion example/lineChartProjection.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>XYlineChart Projection Example</title>
<script src="https://cdn.jsdelivr.net/npm/[email protected].0/dist/chart.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].3/dist/chart.umd.js"></script>
<script src="./../src/chartjs-plugin-trendline.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function(event) {
Expand Down
Loading

0 comments on commit 08c5832

Please sign in to comment.