Skip to content

Commit 74a96e4

Browse files
authored
Merge branch 'master' into issue-5621
2 parents b410288 + 4b6e53a commit 74a96e4

File tree

217 files changed

+7133
-3335
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

217 files changed

+7133
-3335
lines changed

.editorconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# http://editorconfig.org
1+
# https://editorconfig.org
22
root = true
33

44
[*]
@@ -7,7 +7,7 @@ indent_size = 4
77
end_of_line = lf
88
charset = utf-8
99
trim_trailing_whitespace = true
10-
insert_final_newline = false
10+
insert_final_newline = true
1111

1212
[gulpfile.js]
1313
indent_style = space

.github/ISSUE_TEMPLATE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Please consider the following before submitting an issue:
44
- Ask questions and get support on StackOverflow: https://stackoverflow.com/questions/tagged/chart.js
55
- DO NOT create issues for questions or support requests.
66
- Issues are reserved for BUG reports and FEATURE requests.
7-
- Most features should start as plugins outside of Chart.js (http://www.chartjs.org/docs/#advanced-usage-creating-plugins).
8-
- Bug reports MUST be submitted with an interactive example (http://codepen.io/pen?template=JXVYzq).
7+
- Most features should start as plugins outside of Chart.js (https://www.chartjs.org/docs/#advanced-usage-creating-plugins).
8+
- Bug reports MUST be submitted with an interactive example (https://codepen.io/pen?template=JXVYzq).
99
- Chart.js 1.x is NOT supported anymore, new issues will be disregarded.
1010
-->
1111

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Please consider the following before submitting a pull request:
44
Guidelines for contributing: https://github.com/chartjs/Chart.js/blob/master/docs/developers/contributing.md
55
66
Example of changes on an interactive website such as the following:
7-
- http://jsbin.com/
8-
- http://jsfiddle.net/
9-
- http://codepen.io/pen/
10-
- Premade template: http://codepen.io/pen?template=JXVYzq
7+
- https://jsbin.com/
8+
- https://jsfiddle.net/
9+
- https://codepen.io/pen/
10+
- Premade template: https://codepen.io/pen?template=JXVYzq
1111
-->

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: node_js
22
node_js:
3-
- "6"
3+
- lts/*
44

55
before_install:
66
- "export CHROME_BIN=/usr/bin/google-chrome"

MAINTAINING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Chart.js relies on [Travis CI](https://travis-ci.org/) to automate the library [
55
### Releasing a New Version
66

77
1. draft release notes on [GitHub](https://github.com/chartjs/Chart.js/releases/new) for the upcoming tag
8-
1. update `master` `package.json` version using [semver](http://semver.org/) semantic
8+
1. update `master` `package.json` version using [semver](https://semver.org/) semantic
99
1. merge `master` into the `release` branch
1010
1. follow the build process on [Travis CI](https://travis-ci.org/chartjs/Chart.js)
1111

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![travis](https://img.shields.io/travis/chartjs/Chart.js.svg?style=flat-square&maxAge=60)](https://travis-ci.org/chartjs/Chart.js) [![coveralls](https://img.shields.io/coveralls/chartjs/Chart.js.svg?style=flat-square&maxAge=600)](https://coveralls.io/github/chartjs/Chart.js?branch=master) [![codeclimate](https://img.shields.io/codeclimate/maintainability/chartjs/Chart.js.svg?style=flat-square&maxAge=600)](https://codeclimate.com/github/chartjs/Chart.js) [![slack](https://img.shields.io/badge/slack-chartjs-blue.svg?style=flat-square&maxAge=3600)](https://chartjs-slack.herokuapp.com/)
44

5-
*Simple HTML5 Charts using the canvas element* [chartjs.org](http://www.chartjs.org)
5+
*Simple HTML5 Charts using the canvas element* [chartjs.org](https://www.chartjs.org)
66

77
## Installation
88

@@ -28,7 +28,7 @@ Files:
2828
* `dist/Chart.js`
2929
* `dist/Chart.min.js`
3030

31-
The stand-alone build includes Chart.js as well as the color parsing library. If this version is used, you are required to include [Moment.js](http://momentjs.com/) before Chart.js for the functionality of the time axis.
31+
The stand-alone build includes Chart.js as well as the color parsing library. If this version is used, you are required to include [Moment.js](https://momentjs.com/) before Chart.js for the functionality of the time axis.
3232

3333
#### Bundled Build
3434
Files:
@@ -39,11 +39,11 @@ The bundled build includes Moment.js in a single file. You should use this versi
3939

4040
## Documentation
4141

42-
You can find documentation at [www.chartjs.org/docs](http://www.chartjs.org/docs). The markdown files that build the site are available under `/docs`. Previous version documentation is available at [www.chartjs.org/docs/latest/developers/#previous-versions](http://www.chartjs.org/docs/latest/developers/#previous-versions).
42+
You can find documentation at [www.chartjs.org/docs](https://www.chartjs.org/docs). The markdown files that build the site are available under `/docs`. Previous version documentation is available at [www.chartjs.org/docs/latest/developers/#previous-versions](https://www.chartjs.org/docs/latest/developers/#previous-versions).
4343

4444
## Contributing
4545

46-
Before submitting an issue or a pull request, please take a moment to look over the [contributing guidelines](https://github.com/chartjs/Chart.js/blob/master/docs/developers/contributing.md) first. For support using Chart.js, please post questions with the [`chartjs` tag on Stack Overflow](http://stackoverflow.com/questions/tagged/chartjs).
46+
Before submitting an issue or a pull request, please take a moment to look over the [contributing guidelines](https://github.com/chartjs/Chart.js/blob/master/docs/developers/contributing.md) first. For support using Chart.js, please post questions with the [`chartjs` tag on Stack Overflow](https://stackoverflow.com/questions/tagged/chartjs).
4747

4848
## Building
4949
Instructions on building and testing Chart.js can be found in [the documentation](https://github.com/chartjs/Chart.js/blob/master/docs/developers/contributing.md#building-and-testing).
@@ -54,4 +54,4 @@ Instructions on building and testing Chart.js can be found in [the documentation
5454

5555
## License
5656

57-
Chart.js is available under the [MIT license](http://opensource.org/licenses/MIT).
57+
Chart.js is available under the [MIT license](https://opensource.org/licenses/MIT).

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"chart",
77
"js"
88
],
9-
"homepage": "http://www.chartjs.org/",
9+
"homepage": "https://www.chartjs.org/",
1010
"license": "MIT",
1111
"authors": [
1212
{

docs/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ You can download the latest version of Chart.js from the [GitHub releases](https
1010

1111
It's easy to get started with Chart.js. All that's required is the script included in your page along with a single `<canvas>` node to render the chart.
1212

13-
In this example, we create a bar chart for a single dataset and render that in our page. You can see all the ways to use Chart.js in the [usage documentation](./getting-started/usage.md)
13+
In this example, we create a bar chart for a single dataset and render that in our page. You can see all the ways to use Chart.js in the [usage documentation](./getting-started/usage.md).
1414
```html
1515
<canvas id="myChart" width="400" height="400"></canvas>
1616
<script>
@@ -58,8 +58,8 @@ var myChart = new Chart(ctx, {
5858

5959
Before submitting an issue or a pull request to the project, please take a moment to look over the [contributing guidelines](https://github.com/chartjs/Chart.js/blob/master/docs/developers/contributing.md) first.
6060

61-
For support using Chart.js, please post questions with the [`chartjs` tag on Stack Overflow](http://stackoverflow.com/questions/tagged/chartjs).
61+
For support using Chart.js, please post questions with the [`chartjs` tag on Stack Overflow](https://stackoverflow.com/questions/tagged/chartjs).
6262

6363
## License
6464

65-
Chart.js is available under the [MIT license](http://opensource.org/licenses/MIT).
65+
Chart.js is available under the [MIT license](https://opensource.org/licenses/MIT).

docs/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* [Integration](getting-started/integration.md)
77
* [Usage](getting-started/usage.md)
88
* [General](general/README.md)
9+
* [Accessibility](general/accessibility.md)
910
* [Responsive](general/responsive.md)
1011
* [Pixel Ratio](general/device-pixel-ratio.md)
1112
* [Interactions](general/interactions/README.md)

docs/axes/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ Axes are an integral part of a chart. They are used to determine how data maps t
44

55
In a radial chart, such as a radar chart or a polar area chart, there is a single axis that maps points in the angular and radial directions. These are known as ['radial axes'](./radial/README.md#radial-axes).
66

7-
Scales in Chart.js >V2.0 are significantly more powerful, but also different than those of v1.0.
7+
Scales in Chart.js >v2.0 are significantly more powerful, but also different than those of v1.0.
88
* Multiple X & Y axes are supported.
99
* A built-in label auto-skip feature detects would-be overlapping ticks and labels and removes every nth label to keep things displaying normally.
10-
* Scale titles are supported
11-
* New scale types can be extended without writing an entirely new chart type
10+
* Scale titles are supported.
11+
* New scale types can be extended without writing an entirely new chart type.
1212

1313
# Common Configuration
1414

15-
The following properties are common to all axes provided by Chart.js
15+
The following properties are common to all axes provided by Chart.js.
1616

1717
| Name | Type | Default | Description
1818
| ---- | ---- | ------- | -----------
19-
| `display` | `Boolean` | `true` | If set to `false` the axis is hidden from view. Overrides *gridLines.display*, *scaleLabel.display*, and *ticks.display*.
19+
| `display` | `Boolean`/`String` | `true` | Controls the axis global visibility (visible when `true`, hidden when `false`). When `display: 'auto'`, the axis is visible only if at least one associated dataset is visible.
2020
| `callbacks` | `Object` | | Callback functions to hook into the axis lifecycle. [more...](#callbacks)
2121
| `weight` | `Number` | `0` | The weight used to sort the axis. Higher weights are further away from the chart area.
2222

0 commit comments

Comments
 (0)