Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 2.8.0 #6092

Merged
merged 137 commits into from Mar 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
137 commits
Select commit Hold shift + click to select a range
dfbb574
Add 'parser' instead of deprecated 'format' in samples (#5769)
Niladri24dutta Oct 16, 2018
f815dd5
Ensure that when the time axis accesses `data.labels` it actually exi…
etimberg Oct 18, 2018
5816770
Introduce the 'minBarLength' bar option (#5741)
adube Oct 18, 2018
2dbf1cd
Add support for *.js test fixture config (#5777)
simonbrunel Oct 20, 2018
81b4b87
Radar code cleanup (#5624)
benmccann Oct 21, 2018
b3b5c7d
Ensure that when we check typeof x == 'number' we also check instance…
etimberg Oct 22, 2018
cb14217
Add error margin for detecting if a point or line is in the chartArea…
nagix Oct 27, 2018
820d289
Remove dead and broken code from gulpfile (#5794)
HendrikRoehm Nov 1, 2018
6bea6ab
Document padding option for ticks configuration (#5795)
JEphron Nov 1, 2018
f74699a
Fix offsetGridLine behavior with a single data point (#5609)
nagix Nov 2, 2018
f40abe9
Consistent use of punctuation and quick review in docs (#5796)
bartdeslagmulder Nov 2, 2018
9140ef7
Add a link to chartjs-plugin-colorschemes to extensions.md (#5813)
nagix Nov 5, 2018
e730f87
Fix legend item layout issue (#5816)
nagix Nov 12, 2018
7e62913
Change .editorconfig to include final newlines (#5827)
jtagscherer Nov 12, 2018
637c217
Support decimal stepSize (#5786)
nagix Nov 12, 2018
ae80e14
Make bar styling options scriptable (#5780)
simonbrunel Nov 12, 2018
56b30e1
Check pixel values using the pixel proximity matcher (#5833)
jtagscherer Nov 14, 2018
3ea93a0
Add regression test for legend layout issue (#5776)
jtagscherer Nov 14, 2018
ecf64d3
Correct spelling mistake. (#5831)
bakert Nov 15, 2018
75aa44e
Upgrade dev dependencies to reduce vulnerabilities (#5840)
simonbrunel Nov 18, 2018
ab06831
Is node shadow root check improved (#5828)
karaxuna Nov 18, 2018
f6d9a39
Fix axis line width when option is an array (#5751)
etimberg Nov 18, 2018
bc494e0
Use empty labels for tests so as not to be affected by the font width…
nagix Nov 21, 2018
b68341d
Correct calculation of padding in percent (#5846)
chtheis Nov 21, 2018
0351a88
Add support for gridLines/angleLines borderDash for polarArea/radar c…
nagix Nov 26, 2018
08447e9
Draw radial scale angle lines before tick labels (#5855)
fhp Nov 27, 2018
f5437fe
Fix nearest interaction mode to return all items (#5857)
kurkle Nov 27, 2018
241499d
Make getHoverColor() return the original value if it is CanvasGradien…
nagix Nov 28, 2018
1f2fa5c
Adjust the size of rectRounded/rectRot point to fit pointRadius (#5858)
nagix Nov 28, 2018
bbca2fc
Enhance documentation for bar specific scale options (#5854)
jedrekdomanski Nov 28, 2018
d6ac7d8
Fix cut off tick labels in radial scale (#5848)
nagix Nov 28, 2018
aa652df
Deprecate Chart.{Type} classes (#5868)
simonbrunel Nov 29, 2018
ecfa7b2
Add support for CanvasPattern and CanvasGradient in tooltip (#5869)
nagix Nov 29, 2018
c84d249
Fix test failures on Windows (#5872)
nagix Nov 29, 2018
be8d78a
Make Chart.controllers.* importable (#5871)
simonbrunel Nov 29, 2018
3cb2d70
Remove gulp-connect and add jsdelivr/unpkg paths (#5875)
simonbrunel Dec 1, 2018
5797e03
Refactor data generation in scatter basic example (#5877)
generic-github-user Dec 4, 2018
bfa635e
Fix docs about bar chart indexable options (#5876)
nagix Dec 4, 2018
7c45fda
Remove gaps on the left and right when the axis offset is true (#5884)
nagix Dec 5, 2018
40495ec
Fix the rounding issue of floating point numbers in category scale (#…
nagix Dec 9, 2018
69fcba0
Remove autoSkip logic to always display last tick (#5891)
sgray Dec 9, 2018
f2a9e66
Remove `innerHTML` usage from our DOM platform (#5909)
simonbrunel Dec 14, 2018
2a97ec2
Migrate from Browserify to rollup (#5904)
simonbrunel Dec 14, 2018
3a29b99
Use HTTPS in documentation links where possible (#5915)
benmccann Dec 15, 2018
2388eea
Add omi-chart to extensions.md (#5912)
Dec 15, 2018
52b9793
Use HTTPS instead of HTTP for URLs supporting it
simonbrunel Dec 16, 2018
4fb259e
Add support for hiding axis when all linked datasets are hidden (#5885)
davesalomon Dec 18, 2018
db8f6c3
Add support for 'inner' border for arc elements (#5841)
nagix Dec 18, 2018
7e429a8
Add 'middle' interpolation to stepped plots (#5908)
veggiesaurus Dec 18, 2018
c8ce3d2
Add support for typed arrays (#5905)
kurkle Dec 18, 2018
d29ec5a
Add scale.pointLabels.lineHeight and scale.ticks.lineHeight options (…
nagix Dec 20, 2018
d7e8b73
Add `reverse` support to time scale (#5927)
kurkle Dec 20, 2018
4b6e53a
Properly calculate space needed by tick label on autoSkip (#5922)
kurkle Dec 21, 2018
a8920f6
Fix RangeError exception when merging too many labels (#5936)
ckyycc Dec 31, 2018
aae05a0
Improve tick generation for linear scales (#5938)
nagix Jan 1, 2019
918e2c0
Cast getRightValue to number in the bar controller (#5947)
kurkle Jan 2, 2019
39b4d61
Fix time scale ticks.reverse issue (#5933)
nagix Jan 2, 2019
c51ac8a
Make animation duration consistent across browsers (#5331)
serhii-yakymuk Jan 2, 2019
26b7375
Prevent bezier points from being capped when a data point is off the …
nagix Jan 5, 2019
87e44fa
Cleanup scales export for better import strategy (#5953)
simonbrunel Jan 5, 2019
b7139db
Use `Chart.min.js` in samples (#5958)
simonbrunel Jan 6, 2019
934ce24
Fix fitWithPointLabels calculation in radialLinear scale (#5963)
nagix Jan 7, 2019
dd3564a
Fix title, body and footer alignment inside tooltip (#5925)
kurkle Jan 8, 2019
820debf
Refactoring using helpers.options.resolve (#5965)
nagix Jan 8, 2019
9d7eacd
Fix generateTicks when working with tiny numbers (#5948)
kurkle Jan 9, 2019
f342299
Fix contribution docs about gulp-cli (#5968)
mojoaxel Jan 9, 2019
9ecae7c
Test default tooltip callbacks for scatter charts (#5967)
darless Jan 9, 2019
6c49140
Remove unused parameter in removeResizeListener invocation (#5970)
DanielRuf Jan 9, 2019
e03d8d8
Make the main controller importable (#5969)
simonbrunel Jan 9, 2019
e1ed26f
Implement scriptable options for doughnut charts (#5966)
etimberg Jan 10, 2019
20c748f
Fix modifying ticks in afterBuildTicks (#5913)
kurkle Jan 11, 2019
b50a1c2
Fix typo / grammar in the responsive docs (#5975)
benmccann Jan 11, 2019
8a3eb85
Implement adapter to abstract date/time features (#5960)
simonbrunel Jan 11, 2019
9d1d202
Fix labelOffset description (#5979)
nagix Jan 12, 2019
f3dd967
Implement scriptable options for polar area charts (#5976)
etimberg Jan 13, 2019
352e53a
Update the responsive docs about resizing the parent node (#5974)
janelledement Jan 13, 2019
a655da0
Implement scriptable options for points in line charts (#5973)
etimberg Jan 15, 2019
740e087
Update contributors guide and issue templates (#5962)
benmccann Jan 16, 2019
69b4a4c
Faster date operations (#5982)
benmccann Jan 17, 2019
7bbf3ca
Return correct label for value type axis (#5920)
kurkle Jan 17, 2019
d9012d9
Trigger mouse events at the center of arc (#5991)
kurkle Jan 18, 2019
8b110fd
Handle any element in triggerMouseEvent in tests (#5994)
kurkle Jan 20, 2019
7c0ad5a
Stop drawing radialLinear scale twice (#6007)
kurkle Jan 23, 2019
05e9627
Supply correct start param for insertElements in onDataPush (#6008)
kurkle Jan 25, 2019
e6a0c86
Fix pointBackgroundColor in radar sample (#6013)
kurkle Jan 25, 2019
72b7a61
Fix typo in test utils comment (#6017)
benmccann Jan 28, 2019
0d01bcf
Fix typos and make the docs consistent (#6020)
nagix Jan 29, 2019
17f6fd2
Common logic for resolving line element options (#6005)
benmccann Jan 29, 2019
0697d0d
Deprecate configMerge and scaleMerge helpers (#6022)
simonbrunel Jan 29, 2019
e07c5d0
Make moment optional from our UMD builds (#5978)
simonbrunel Jan 29, 2019
fee44cf
Omit inconsistent note about scriptable options (#6026)
janelledement Jan 30, 2019
29f7fa2
Replace tooltip item xLabel and yLabel with label and value (#5996)
kurkle Jan 30, 2019
97da221
Prevent infinite resize when vertical scrollbar appears (#6011)
kurkle Jan 30, 2019
80a159e
Enforce tooltip item `label` and `value` to be strings (#6030)
nagix Feb 1, 2019
a2521e5
Replace deprecated gulp-util and remove unused watchify (#6032)
benmccann Feb 2, 2019
6e9e52a
Fix padding of horizontal axes when labels are rotated (#6021)
kurkle Feb 2, 2019
93d5ac9
Remove unused eslint directive (#6040)
benmccann Feb 4, 2019
945d91a
Provide a rectangle getArea implementation for horizontal bars (#6027)
etimberg Feb 4, 2019
765c432
Fix duplicate anchor (#6038)
benmccann Feb 5, 2019
cbb7ff7
Rename addEventListener and removeEventListener (#6046)
kurkle Feb 6, 2019
7c11c81
Fix broken markdown link in 'line' docs (#6053)
janelledement Feb 8, 2019
c6c4db7
Simplify and cleanup the scale _autoskip method (#6043)
benmccann Feb 8, 2019
55128f7
Move CSS in a separate file to be CSP-compliant (#6048)
simonbrunel Feb 8, 2019
0ed652b
Fix typo in radial linear scale docs (#6054)
jameesy Feb 9, 2019
8b07cc2
Implement scriptable options for points in radar charts (#6041)
nagix Feb 9, 2019
409fdde
Fix randomly failing tooltip test (#6061)
kurkle Feb 10, 2019
af464f8
Enhance legend label color point when usePointStyle is true (#6006)
Feb 10, 2019
2f874fd
Use lowercase for primitives in jsdocs (#6033)
benmccann Feb 11, 2019
ef507e1
Handle inextensible `dataset.data` array (#6060)
etimberg Feb 11, 2019
5fc934e
Fix responsive resize on rtl page (#6063)
kurkle Feb 13, 2019
58d7891
Add examples of scriptable charts (#6042)
janelledement Feb 14, 2019
32aeeac
Add crosshair plugin to extensions page (#6070)
AbelHeinsbroek Feb 18, 2019
3e18708
Use `datetime` as default time scale tooltip format (#6019)
benmccann Feb 18, 2019
1c01272
Improve autoSkip documentation (#6079)
benmccann Feb 20, 2019
20c2645
Add a link to chartjs-plugin-rough to extensions.md (#6081)
nagix Feb 20, 2019
f2b099b
Initialize date adapter with chart options (#6016)
benmccann Feb 21, 2019
f3b1837
Add onLeave callback to legend (#6059)
jonrimmer Feb 24, 2019
317cae1
Ignore invalid log scale min and max (#6058)
benmccann Feb 24, 2019
b36d55d
Add onLeave to legend config docs (#6088)
jonrimmer Feb 25, 2019
0ec3f55
Add support for per side border width for rectangle (#6077)
kurkle Feb 25, 2019
79fc340
Add instructions for image-based tests to the contributors guide (#6073)
benmccann Feb 25, 2019
93f4e6e
New weight option for pie and doughnut charts (#5951)
Vincent-Ip Feb 27, 2019
b2f7adc
Revamp the README.md and add link to the awesome list (#6096)
simonbrunel Mar 1, 2019
946c6d0
Fix document errors related to ticks (#6099)
nagix Mar 1, 2019
653e9a9
Add a note about how to include an example against master (#6107)
benmccann Mar 3, 2019
0ac215b
Improve financial sample tooltips and interactions (#6089)
benmccann Mar 3, 2019
35273ee
Optimize the npm package by removing useless files (#6105)
simonbrunel Mar 3, 2019
344628b
Fix animation regression introduced by #5331 (#6108)
kurkle Mar 4, 2019
858cc80
Properly initialize variables if ticks aren't being displayed (#6100)
benmccann Mar 4, 2019
31aebf3
Include generated CSS in the GitHub releases
simonbrunel Mar 4, 2019
f9f048a
Bump version to 2.8.0-rc.1
simonbrunel Mar 4, 2019
d3b7559
Tighten check for detecting if Moment is installed (#6113)
jonrimmer Mar 6, 2019
87a74f9
Fix missing Chart.Chart (deprecated) alias (#6112)
simonbrunel Mar 6, 2019
f5ff456
Correct typo in a comment in test/index.js (#6122)
Starmordar Mar 11, 2019
eddd1f1
Keep the previous extensions page link alive (#6127)
simonbrunel Mar 12, 2019
152f1d9
Bump version to 2.8.0
simonbrunel Mar 12, 2019
75e76cf
Make decimalPlaces private and update CDN links (#6131)
kurkle Mar 13, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .editorconfig
@@ -1,4 +1,4 @@
# http://editorconfig.org
# https://editorconfig.org
root = true

[*]
Expand All @@ -7,7 +7,7 @@ indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = false
insert_final_newline = true

[gulpfile.js]
indent_style = space
Expand Down
48 changes: 10 additions & 38 deletions .github/ISSUE_TEMPLATE.md
@@ -1,42 +1,14 @@
<!--
Please consider the following before submitting an issue:
Need help or support? Don't open an issue!
Head to https://stackoverflow.com/questions/tagged/chart.js

- Ask questions and get support on StackOverflow: https://stackoverflow.com/questions/tagged/chart.js
- DO NOT create issues for questions or support requests.
- Issues are reserved for BUG reports and FEATURE requests.
- Most features should start as plugins outside of Chart.js (http://www.chartjs.org/docs/#advanced-usage-creating-plugins).
- Bug reports MUST be submitted with an interactive example (http://codepen.io/pen?template=JXVYzq).
- Chart.js 1.x is NOT supported anymore, new issues will be disregarded.
-->

<!--- Provide a general summary of the issue in the Title above prefixed by [BUG] or [FEATURE] -->

## Expected Behavior
<!--- If you're describing a bug, tell us what should happen -->
<!--- If you're suggesting a change/improvement, tell us how it should work -->

## Current Behavior
<!--- If describing a bug, tell us what happens instead of the expected behavior -->
<!--- If suggesting a change/improvement, explain the difference from current behavior -->
Ahoy!

## Possible Solution
<!--- Not obligatory, but suggest a fix/reason for the bug, -->
<!--- or ideas how to implement the addition or change -->
You're seeing this because you felt none of the other options fit the type of
issue you'd like to create. Please use this opportunity to tell us about the
type of issue you were looking for, so we can try to accommodate similar
issues in the future.

## Steps to Reproduce (for bugs)
<!--- Provide a link to a live example, or an unambiguous set of steps to -->
<!--- reproduce this bug. Include code to reproduce, if relevant -->
1.
2.
3.
4.

## Context
<!--- How has this issue affected you? What are you trying to accomplish? -->
<!--- Providing context helps us come up with a solution that is most useful in the real world -->

## Environment
<!--- Include as many relevant details about the environment you experienced the bug in -->
* Chart.js version:
* Browser name and version:
* Link to your project:
If you're using this template to report an issue covered by an existing issue
type, we'll close it as invalid faster than you can spell 'Mississippi'.
-->
50 changes: 50 additions & 0 deletions .github/ISSUE_TEMPLATE/BUG.md
@@ -0,0 +1,50 @@
---
name: Bug Report
about: Something went awry
labels: 'type: bug'
---

<!--
Need help or support? Please don't open an issue!
Head to https://stackoverflow.com/questions/tagged/chart.js

Bug reports MUST be submitted with an interactive example:
https://codepen.io/pen?template=JXVYzq

Chart.js 1.x is NOT supported anymore, new issues will be disregarded.
-->

## Expected Behavior
<!-- Tell us what should happen -->

## Current Behavior
<!-- Tell us what happens instead of the expected behavior -->

## Possible Solution
<!--
Not obligatory, but suggest a fix/reason for the bug,
or ideas how to implement the addition or change
-->

## Steps to Reproduce (for bugs)
<!--
Provide a link to a live example. Bug reports MUST be submitted with an
interactive example (https://codepen.io/pen?template=JXVYzq).

If filing a bug against `master`, you may reference the latest code via
https://www.chartjs.org/dist/master/Chart.min.js (changing the filename to
point at the file you need as appropriate). Do not rely on these files for
production purposes as they may be removed at any time.
-->

## Context
<!--
How has this issue affected you? What are you trying to accomplish? Providing
context helps us come up with a solution that is most useful in the real world
-->

## Environment
<!-- Include as many relevant details about the environment you experienced the bug in -->
* Chart.js version:
* Browser name and version:
* Link to your project:
25 changes: 25 additions & 0 deletions .github/ISSUE_TEMPLATE/DOCS.md
@@ -0,0 +1,25 @@
---
name: Documentation
about: Are the docs lacking or missing something?
labels: 'type: documentation'
---

Documentation Is:

<!-- Please place an x (no spaces!) in all [ ] that apply -->

- [ ] Missing or needed
- [ ] Confusing
- [ ] Not Sure?

### Please Explain in Detail...


### Your Proposal for Changes


### Example
<!--
Provide a link to a live example demonstrating the issue or feature to be documented:
https://codepen.io/pen?template=JXVYzq
-->
25 changes: 25 additions & 0 deletions .github/ISSUE_TEMPLATE/FEATURE.md
@@ -0,0 +1,25 @@
---
name: Feature Request
about: Suggest an idea
labels: 'type: enhancement'
---

<!--
Most features should start as plugins outside of Chart.js
(https://www.chartjs.org/docs/#advanced-usage-creating-plugins).
Please consider whether your changes are useful for all users, or if this is
specific to your usecase and a Chart.js plugin would be more appropriate.

Need help or tech support? Please don't open an issue!
Head to https://stackoverflow.com/questions/tagged/chart.js
-->

### Feature Proposal
<!-- Tell us how it should work -->

### Feature Use Case
<!-- What are you trying to accomplish? -->
<!-- Providing context helps us come up with a solution that is most useful in the real world -->

## Possible Implementation
<!-- Not obligatory, but suggest ideas for how to implement the addition or change -->
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/SUPPORT.md
@@ -0,0 +1,27 @@
---
name: Support, Help, and Advice
about: Need help or support? Head to https://stackoverflow.com/questions/tagged/chart.js
labels: 'type: support'
---

<!--
Hey there!

If you need help or tech support then this is not the place to ask. Please post
a question to https://stackoverflow.com/questions/tagged/chart.js or head over
to our Slack workspace at https://chartjs-slack.herokuapp.com/.

You maximize your chances of having your question answered if you follow
StackOverflow's guidelines: https://stackoverflow.com/help/how-to-ask.
If your question was not answered on StackOverflow, that does not mean you
should post it here. If you do, it will be immediately closed.

Chart.js users vastly outnumber our small number of volunteer maintainers and
we try to help as many users as we can, but we may not get to every question.
Chart.js is a community project. You can contribute towards the goal of helping
every user by asking good questions, answering questions on StackOverflow
or Slack, creating an issue or pull request for the documentation, or otherwise
contributing to the project:

https://www.chartjs.org/docs/latest/developers/contributing.html
-->
8 changes: 4 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Expand Up @@ -4,8 +4,8 @@ Please consider the following before submitting a pull request:
Guidelines for contributing: https://github.com/chartjs/Chart.js/blob/master/docs/developers/contributing.md

Example of changes on an interactive website such as the following:
- http://jsbin.com/
- http://jsfiddle.net/
- http://codepen.io/pen/
- Premade template: http://codepen.io/pen?template=JXVYzq
- https://jsbin.com/
- https://jsfiddle.net/
- https://codepen.io/pen/
- Premade template: https://codepen.io/pen?template=JXVYzq
-->
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -9,6 +9,8 @@
/package-lock.json
.DS_Store
.idea
.project
.settings
.vscode
bower.json
*.log
Expand Down
13 changes: 0 additions & 13 deletions .npmignore

This file was deleted.

13 changes: 6 additions & 7 deletions .travis.yml
@@ -1,6 +1,6 @@
language: node_js
node_js:
- "6"
- lts/*

before_install:
- "export CHROME_BIN=/usr/bin/google-chrome"
Expand Down Expand Up @@ -42,13 +42,12 @@ deploy:
branch: release
- provider: releases
api_key: $GITHUB_AUTH_TOKEN
file:
- "./dist/Chart.bundle.js"
- "./dist/Chart.bundle.min.js"
- "./dist/Chart.js"
- "./dist/Chart.min.js"
- "./dist/Chart.js.zip"
skip_cleanup: true
file_glob: true
file:
- ./dist/*.css
- ./dist/*.js
- ./dist/*.zip
on:
tags: true
- provider: npm
Expand Down
2 changes: 1 addition & 1 deletion MAINTAINING.md
Expand Up @@ -5,7 +5,7 @@ Chart.js relies on [Travis CI](https://travis-ci.org/) to automate the library [
### Releasing a New Version

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

Expand Down
71 changes: 23 additions & 48 deletions README.md
@@ -1,57 +1,32 @@
# Chart.js

[![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/)

*Simple HTML5 Charts using the canvas element* [chartjs.org](http://www.chartjs.org)

## Installation

You can download the latest version of Chart.js from the [GitHub releases](https://github.com/chartjs/Chart.js/releases/latest) or use a [Chart.js CDN](https://cdnjs.com/libraries/Chart.js).

To install via npm:

```bash
npm install chart.js --save
```

To install via bower:
```bash
bower install chart.js --save
```

### Selecting the Correct Build

Chart.js provides two different builds for you to choose: `Stand-Alone Build`, `Bundled Build`.

#### Stand-Alone Build
Files:
* `dist/Chart.js`
* `dist/Chart.min.js`

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.

#### Bundled Build
Files:
* `dist/Chart.bundle.js`
* `dist/Chart.bundle.min.js`

The bundled build includes Moment.js in a single file. You should use this version if you require time axes and want to include a single file. You should not use this build if your application already included Moment.js. Otherwise, Moment.js will be included twice which results in increasing page load time and possible version compatibility issues. The Moment.js version in the bundled build is private to Chart.js so if you want to use Moment.js yourself, it's better to use Chart.js (non bundled) and import Moment.js manually.
<p align="center">
<img src="https://www.chartjs.org/media/logo-title.svg"><br/>
Simple yet flexible JavaScript charting for designers & developers
</p>

<p align="center">
<a href="https://www.chartjs.org/docs/latest/getting-started/installation.html"><img src="https://img.shields.io/github/release/chartjs/Chart.js.svg?style=flat-square&maxAge=600" alt="Downloads"></a>
<a href="https://travis-ci.org/chartjs/Chart.js"><img src="https://img.shields.io/travis/chartjs/Chart.js.svg?style=flat-square&maxAge=600" alt="Builds"></a>
<a href="https://coveralls.io/github/chartjs/Chart.js?branch=master"><img src="https://img.shields.io/coveralls/chartjs/Chart.js.svg?style=flat-square&maxAge=600" alt="Coverage"></a>
<a href="https://github.com/chartjs/awesome"><img src="https://awesome.re/badge-flat2.svg" alt="Awesome"></a>
<a href="https://chartjs-slack.herokuapp.com/"><img src="https://img.shields.io/badge/slack-chartjs-blue.svg?style=flat-square&maxAge=3600" alt="Slack"></a>
</p>

## Documentation

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).
- [Introduction](https://www.chartjs.org/docs/latest/)
- [Getting Started](https://www.chartjs.org/docs/latest/getting-started/)
- [General](https://www.chartjs.org/docs/latest/general/)
- [Configuration](https://www.chartjs.org/docs/latest/configuration/)
- [Charts](https://www.chartjs.org/docs/latest/charts/)
- [Axes](https://www.chartjs.org/docs/latest/axes/)
- [Developers](https://www.chartjs.org/docs/latest/developers/)
- [Popular Extensions](https://github.com/chartjs/awesome)
- [Samples](https://www.chartjs.org/samples/)

## Contributing

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).

## Building
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).

## Thanks
- [BrowserStack](https://browserstack.com) for allowing our team to test on thousands of browsers.
- [@n8agrin](https://twitter.com/n8agrin) for the Twitter handle donation.
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). 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, please post questions on [Stack Overflow](https://stackoverflow.com/questions/tagged/chartjs) with the `chartjs` tag.

## License

Chart.js is available under the [MIT license](http://opensource.org/licenses/MIT).
Chart.js is available under the [MIT license](https://opensource.org/licenses/MIT).
10 changes: 9 additions & 1 deletion book.json
Expand Up @@ -3,7 +3,15 @@
"title": "Chart.js documentation",
"author": "chartjs",
"gitbook": "3.2.2",
"plugins": ["-lunr", "-search", "search-plus", "anchorjs", "chartjs", "ga"],
"plugins": [
"-lunr",
"-search",
"search-plus",
"anchorjs",
"chartjs",
"ga",
"redirect"
],
"pluginsConfig": {
"anchorjs": {
"icon": "#",
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -6,7 +6,7 @@
"chart",
"js"
],
"homepage": "http://www.chartjs.org/",
"homepage": "https://www.chartjs.org/",
"license": "MIT",
"authors": [
{
Expand Down