rc-chartjs
rc-chartjs copied to clipboard
Update chart.js to version 2.2.0 π
Hello lovely humans,
chart.js just published its new version 2.2.0.
State | Update :rocket: |
---|---|
Dependency | chart.js |
New version | 2.2.0 |
Type | devDependency |
This version is not covered by your current version range.
Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.
I recommend you look into these changes and try to get onto the latest version of chart.js. Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.
Do you have any ideas how I could improve these pull requests? Did I report anything you think isnβt right? Are you unsure about how things are supposed to work?
There is a collection of frequently asked questions and while Iβm just a bot, there is a group of people who are happy to teach me new things. Let them know.
Good luck with your project :sparkles:
You rock!
:palm_tree:
New Build System
Starting with v2.2.0-rc.1 Chart.js uses a new build system. We no longer include the checked in files (dist folder) in the repository. When a tagged release is made, a build will occur and will be published on NPM automatically. A huge thanks to @simonbrunel for getting this set up and working.
This change means that installing via bower needs to use the bower npm resolver. Detailed instructions can be found in the docs
Enhancements
- New build system #2555
- Adds a new tooltip and hover mode that replicates the
label
mode of Chart.js V1. #2299 Thanks @Mesonyx - Allow stacked scatter charts #2878 Thanks @mtanda
- Can now manually configure the thickness of a bar in a bar chart. Use a new
barThickness
option on the correct axis to set the thickness of a bar. #2910 Thanks @Joshuabaker2 - You can now configure the starting angle for radar charts #1012 Thanks @slinhart
- You can now configure the starting angle for polar area charts #524
Issues Fixed
- Fixed JSHint warnings #2734 Thanks @simonbrunel
- Fixed the tooltip average position calculation #2826
- Allow passing the value property to the time scale
getPixelForValue
function #2604 #2916 - If no config is passed to the chart, gracefully fail. #2526
-
spanGaps
option for line chart can now be specified per chart instead of only per dataset - Polar area charts used to be off center #2708
- Fixed typo in tooltip section of docs #2839
- Fixed scale title display in samples #2848 Thanks @ronaldgrn
- Fixed an issue when the time scale had only one point #2741 Thanks @duerahan
- Fixed an issue with tooltip display when one dataset does not have a value. #2789 Thanks @awallat
- Scale docs linked to wrong session #2859 Thanks @azranel
- Default to a 0 starting point for polar area graphs #2809
- Fixed an issue with pie and doughnut chart hover border clipping #2844 Thanks @neilmacintyre
- Fixed a typo in the docs #2888
- Fixed a typo in the bar chart docs #2897 Thanks @jimkring
- Improve documentation regarding
offsetGridLines
option #2894 Thanks @moberwasserlechner - Fix an issue when clicking on the label of a category scale #2802
- Tooltip
xAlign
andyAlign
were swapped. #2923 Thanks @jeffesp - Fix typo in the docs #2936 Thanks @gitname
- Add wikipedia link for DRY acronym #2905 Thanks @shuson
- Fix
null
labels affecting tooltips #2875 Thanks @Mesonyx - Fix docs typo #2961 Thanks @moberwasserlechner
- Fixed an issue with numerical data sent to the chart as strings when the axis was stacked #2915
- Fix an issue when hovering a point on the chart where not all datasets have data. #2990 Thanks @tiagoroldao
- Fix an issue in the docs where the pie chart was difficult to click on #2983 Thanks @sibennayak
- Removed an unused property from the radar chart sample #3027 Thanks @moberwasserlechner
- Correct doc spelling mistakes #3032 Thanks @Neabfi
- Prevent the time scale
getLabelMoment
method from going out of bounds #3039 Thanks @ianks - Duplicate
stepSize
property in docs #3048 Thanks @mdewilde -
getElementAtEvent
could return more than 1 item #2981, #2884 Thanks @IonutLaceanu - Fixed
spanGaps
option to work with bezier curves #2812
The new version differs by 1836 commits .
-
b92387c
Version bump for v2.2.0
-
7b1ce01
Merge pull request #3052 from chartjs/fix/3043
-
f60344d
Fix line controller stacking with multiple axes and add a test
-
7ebc533
Merge pull request #3028 from chartjs/fix/span-gaps
-
23ca081
Merge pull request #3045 from IonutLaceanu/master
-
5ed508b
Merge pull request #3048 from mdewilde/master
-
548f07e
Correct probable copy paste issue
-
08451ce
Correct duplicate error
-
1e5cdc6
Fix #2922 Make the XAxis based hover/tooltip pick the item at the same x-axis value
-
f46a947
getElementAtEvent: enforce one element limit
-
8e2deed
Merge pull request #3039 from ianks/getLabelMoment-fix
-
e4dd158
Fix out of bounds index access in getLabelMoment
-
a0d8554
Merge pull request #3032 from Neabfi/patch-1
-
29a1ba1
Correction of spelling mistake
-
a2977ec
Correction of spelling mistake
There are 250 commits in total. See the full diff.
This pull request was created by greenkeeper.io.
Tired of seeing this sponsor message? :zap: greenkeeper upgrade