Skip to content

Commit f9ddebf

Browse files
committed
Fix dead external links (Chart.js & GitHub stats)
1 parent af8e79b commit f9ddebf

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
## Overview
1313

14-
Highly customizable [Chart.js](http://www.chartjs.org/) plugin that displays labels on data for any type of charts.
14+
Highly customizable [Chart.js](https://www.chartjs.org/) plugin that displays labels on data for any type of charts.
1515

1616
Requires [Chart.js](https://github.com/chartjs/Chart.js/releases) **3.x**.
1717

docs/guide/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Introduction
22

3-
Highly customizable [Chart.js](http://www.chartjs.org/) plugin that displays labels on data for any type of charts.
3+
Highly customizable [Chart.js](https://www.chartjs.org/) plugin that displays labels on data for any type of charts.
44

55
::: warning COMPATIBILITY NOTE
66
Requires [Chart.js](https://github.com/chartjs/Chart.js/releases) **3.x**

docs/guide/events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This plugin currently supports the following label events:
99
| `click` | `click` | the mouse's primary button is pressed and released on a label
1010

1111
::: tip
12-
<sup>1</sup> [Chart.js events](http://www.chartjs.org/docs/latest/general/interactions/events.html) that need to be enabled in order to get the associated label event working. Note that by default Chart.js enables `"mousemove", "mouseout", "click", "touchstart", "touchmove", "touchend"`, meaning that label events work out-of-the-box.
12+
<sup>1</sup> [Chart.js events](https://www.chartjs.org/docs/latest/configuration/interactions.html#events) that need to be enabled in order to get the associated label event working. Note that by default Chart.js enables `"mousemove", "mouseout", "click", "touchstart", "touchmove", "touchend"`, meaning that label events work out-of-the-box.
1313
:::
1414

1515
## Listeners

docs/guide/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ https://cdn.jsdelivr.net/npm/chartjs-plugin-datalabels@2.0.0 // exact version
2525
https://cdn.jsdelivr.net/npm/chartjs-plugin-datalabels@2 // latest 2.x.x
2626
```
2727

28-
Read more about jsDeliver versioning on their [website](http://www.jsdelivr.com/).
28+
Read more about jsDeliver versioning on their [website](https://www.jsdelivr.com/).
2929

3030
### Download
3131

32-
[![github](https://img.shields.io/github/release/chartjs/chartjs-plugin-datalabels.svg?style=flat-square&maxAge=600)](https://github.com/chartjs/chartjs-plugin-datalabels/releases/latest) [![github downloads](https://img.shields.io/github/downloads/chartjs/chartjs-plugin-datalabels/total.svg?style=flat-square&maxAge=600)](http://www.somsubhra.com/github-release-stats/?username=chartjs&repository=chartjs-plugin-datalabels)
32+
[![github](https://img.shields.io/github/release/chartjs/chartjs-plugin-datalabels.svg?style=flat-square&maxAge=600)](https://github.com/chartjs/chartjs-plugin-datalabels/releases/latest) [![github downloads](https://img.shields.io/github/downloads/chartjs/chartjs-plugin-datalabels/total.svg?style=flat-square&maxAge=600)](https://somsubhra.github.io/github-release-stats/?username=chartjs&repository=chartjs-plugin-datalabels)
3333

3434
You can download the latest version of `chartjs-plugin-datalabels` from the [GitHub releases](https://github.com/chartjs/chartjs-plugin-datalabels/releases/latest):
3535

docs/guide/options.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ The following table lists all available options:
1212
| `borderWidth` | `number` | Yes | Yes | `0`
1313
| [`clamp`](positioning.md#clamping) | `boolean` | Yes | Yes | `false`
1414
| [`clip`](positioning.md#clipping) | `boolean` | Yes | Yes | `false`
15-
| `color` | [`Style`](#style-options) | Yes | Yes | [`color`](http://www.chartjs.org/docs/latest/general/fonts.html)
15+
| `color` | [`Style`](#style-options) | Yes | Yes | [`color`](https://www.chartjs.org/docs/latest/general/fonts.html)
1616
| [`display`](positioning.md#visibility) | `boolean` \| `string` | Yes | Yes | `true`
1717
| `font` | `object` | Yes | Yes | -
18-
| `font.family` | `string` | - | - | [`font.family`](http://www.chartjs.org/docs/latest/general/fonts.html)
19-
| `font.size` | `string` | - | - | [`font.size`](http://www.chartjs.org/docs/latest/general/fonts.html)
20-
| `font.style` | `string` | - | - | [`font.style`](http://www.chartjs.org/docs/latest/general/fonts.html)
18+
| `font.family` | `string` | - | - | [`font.family`](https://www.chartjs.org/docs/latest/general/fonts.html)
19+
| `font.size` | `string` | - | - | [`font.size`](https://www.chartjs.org/docs/latest/general/fonts.html)
20+
| `font.style` | `string` | - | - | [`font.style`](https://www.chartjs.org/docs/latest/general/fonts.html)
2121
| `font.weight` | `string` | - | - | `'normal'`
2222
| [`font.lineHeight`](formatting.md#multiline-labels) | `number` \| `string` | - | - | `1.2`
2323
| [`formatter`](formatting.md#data-transformation) | `function` \| `null` | - | - | -
@@ -65,7 +65,7 @@ The context object contains the following properties:
6565

6666
| Property | Type | Description
6767
| -------- | ---- | -----------
68-
| `active` | `bool` | Whether the associated element is hovered ([see interactions](http://www.chartjs.org/docs/latest/general/interactions/)).
68+
| `active` | `bool` | Whether the associated element is hovered ([see interactions](https://www.chartjs.org/docs/latest/configuration/interactions.html)).
6969
| `chart` | `Chart` | The associated chart.
7070
| `dataIndex` | `number` | The index of the associated data.
7171
| `dataset` | `object` | The dataset at index `datasetIndex`.

test/.eslintrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ env:
44
globals:
55
__karma__: true
66

7-
# http://eslint.org/docs/rules/
7+
# https://eslint.org/docs/rules/
88
rules:
99
# Best Practices
1010
complexity: 0

types/context.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {Chart, ChartDataset} from 'chart.js';
77
export interface Context {
88
/**
99
* Whether the associated element is hovered by the user.
10-
* @see http://www.chartjs.org/docs/latest/general/interactions
10+
* @see https://www.chartjs.org/docs/latest/configuration/interactions.html
1111
* @since 0.3.0
1212
*/
1313
active: boolean;

0 commit comments

Comments
 (0)