Zach Panzarino
abfbdd5f31
Remove unneeded trailing commas
2016-08-10 01:35:34 +00:00
Zach Panzarino
6e9ee1f137
Merge 'Documentation updates' #3110
2016-08-10 00:12:56 +00:00
Zach Panzarino
57f2d7de58
Update docs and add plugin section (suggested by @simonbrunel)
2016-08-09 14:34:59 +00:00
MatthieuRivaud
7635ab4a4e
Calling |helpers.sign| instead of |Math.sign| directly for IE and Safari compatibility.
2016-08-09 09:32:10 +02:00
MatthieuRivaud
3869dd110a
Fix spanGaps probing in updateBezierControlPoints
2016-08-09 09:28:09 +02:00
Evert Timberg
88371521d7
Merge pull request #3114 from ashiguruma/master
...
Added section on using patterns to fill datasets
2016-08-08 16:34:12 -04:00
Tom Loudon
9d055720ab
Added section on using patterns to fill datasets chartjs/Chart.js#1323
2016-08-08 17:39:36 +01:00
MatthieuRivaud
566ede1ecd
Fixed splineCurveMonotone unit test (for real this time)
2016-08-08 17:02:58 +02:00
MatthieuRivaud
ef66bf5e6d
Fixed splineCurveMonotone unit test
2016-08-08 16:33:32 +02:00
MatthieuRivaud
4aabc0cb82
Recovered a fix lost when branching.
2016-08-08 15:56:53 +02:00
MatthieuRivaud
d06fbc772f
- Added dataset option |cubicInterpolationMode| to allow for curves with different interpolation modes on the same graph (updated doc accordingly)
...
- Added new sample file to demonstrate the monotone cubic interpolation mode
- Fixed a typo in a comment in updateBezierControlPoints
2016-08-08 15:35:46 +02:00
MatthieuRivaud
2409908027
Implement monotone cubic interpolation (see issue #3086 ).
2016-08-08 14:01:30 +02:00
Zach Panzarino
52667a3d0c
Update link pattern for popular extensions
2016-08-08 03:31:15 +00:00
Zach Panzarino
660c3850d7
Documentation updates
...
Adds a lot of new information to the docs that will help developers better utilize the entire Chart.js library
List of implemented changes:
- Reverse option for legends (resolves #3102 )
- Information about chart resizing (resolves #3023 )
- Mixed chart types (resolves #2825 ) (resolves #2431 )
- Chart library comparison table (resolves #2605 )
- getDetasetMeta function information (resolves #2521 )
- Popular Extensions (resolves #2365 )
2016-08-08 03:08:13 +00:00
Evert Timberg
ab340bd2cd
Merge pull request #3103 from laviniaclare/master
...
changed 'chart there are' to 'charts there are'
2016-08-05 16:59:05 -04:00
laviniaclare
ad17f9a1bf
changed 'chart there are' to 'charts there are'
2016-08-05 11:51:55 -07:00
Evert Timberg
554f31a1bb
Make the iframe not focusable by using tabIndex of -1
2016-08-04 18:55:32 -04:00
Evert Timberg
8a161a3bef
Merge pull request #3088 from djhuistra/patch-1
...
Chart.pluginService -> Chart.plugins in documentation
2016-08-03 16:10:37 -04:00
djhuistra
67634b081a
Chart.pluginService -> Chart.plugins in documentation
...
Apparently Chart.pluginService is deprecated, but this name is still used in the documentation. I suggest to update it :)
2016-08-03 21:06:21 +02:00
Evert Timberg
cd23b99f0c
Merge pull request #3070 from sibennayak/fix/3046
...
Docs: Apply a recommendation (fixes #3046 )
2016-08-01 07:39:00 -04:00
Siben Nayak
71ede8d52c
Docs: Apply a recommendation ( fixes #3046 )
2016-08-01 15:26:46 +05:30
Evert Timberg
0ea6a9245e
Merge pull request #3067 from chartjs/fix/3066
...
Handle the case where all points are skipped in a line
2016-07-31 15:19:23 -04:00
Evert Timberg
d47ef17736
Handle the case where all points are skipped in a line
2016-07-30 14:46:28 -04:00
Evert Timberg
ab66146013
Prep for a v2.2.1 release
2016-07-30 13:01:31 -04:00
Evert Timberg
cec8d8b7d5
Merge pull request #3064 from chartjs/fix/2560
...
Recalculate the size of the scale in units when the end point is chan…
2016-07-30 12:59:59 -04:00
Evert Timberg
17316202b7
Merge pull request #3065 from chartjs/fix/3056
...
Fix 2 line drawing issues and add new tests for these cases
2016-07-30 12:59:52 -04:00
Evert Timberg
eb6124fea8
Fix 2 line drawing issues and add new tests for these cases
2016-07-30 12:55:42 -04:00
Evert Timberg
b86e42f2ae
Fix JS Hint warning
2016-07-30 11:33:59 -04:00
Evert Timberg
0bb2e478db
Recalculate the size of the scale in units when the end point is changed.
2016-07-30 11:06:13 -04:00
Evert Timberg
7628d4c8f2
Merge pull request #3063 from chartjs/fix/2631
...
Handle possibility of a undefined arc element in the doughnut chart
2016-07-30 09:52:46 -04:00
Evert Timberg
51518a7149
Handle possibility of a undefined arc element in the doughnut chart
2016-07-30 09:41:35 -04:00
Evert Timberg
a0edfb6859
Merge pull request #3062 from chartjs/fix/3030
...
Fix docs typo
2016-07-30 09:06:30 -04:00
Evert Timberg
8e3abe10aa
Fix docs typo
2016-07-30 09:02:40 -04:00
Evert Timberg
4279b202f4
Merge pull request #3058 from benpdavison/patch-1
...
small typo
2016-07-29 07:29:27 -04:00
Ben Davison
5e69ecc309
small typo
...
This should either be "rgb(0, 0, 0)" or "rgba(0, 0, 0, 0.1)". However, based on the default value it should be the latter.
2016-07-29 10:56:59 +01:00
Tanner Linsley
dfba30bdc7
Create thankyou.md
2016-07-28 23:44:22 -06:00
Evert Timberg
b92387c845
Version bump for v2.2.0
2016-07-28 18:23:32 -04:00
Evert Timberg
7b1ce01aec
Merge pull request #3052 from chartjs/fix/3043
...
Fix line controller stacking with multiple axes and add a test
2016-07-28 18:15:44 -04:00
Evert Timberg
f60344dfdb
Fix line controller stacking with multiple axes and add a test
2016-07-28 18:10:07 -04:00
Evert Timberg
7ebc533cdc
Merge pull request #3028 from chartjs/fix/span-gaps
...
Refactoring of the line drawing function to make `spanGaps` work correctly
2016-07-28 18:02:56 -04:00
Evert Timberg
23ca08184e
Merge pull request #3045 from IonutLaceanu/master
...
getElementAtEvent: enforce one element limit
2016-07-28 18:02:31 -04:00
Evert Timberg
5ed508bd00
Merge pull request #3048 from mdewilde/master
...
Correct duplicate error
2016-07-28 09:16:58 -04:00
mdewilde
548f07e9cd
Correct probable copy paste issue
2016-07-28 13:20:18 +02:00
mdewilde
08451ce95e
Correct duplicate error
2016-07-28 13:16:21 +02:00
Jeff Esp
1e5cdc6188
Fix #2922 Make the XAxis based hover/tooltip pick the item at the same x-axis value
2016-07-27 21:09:13 +02:00
Ionut Laceanu
f46a9472b5
getElementAtEvent: enforce one element limit
2016-07-27 19:27:08 +03:00
Evert Timberg
8e2deede5b
Merge pull request #3039 from ianks/getLabelMoment-fix
...
Fix out of bounds index access in getLabelMoment
2016-07-26 20:57:34 -04:00
Ian Ker-Seymer
e4dd158b24
Fix out of bounds index access in getLabelMoment
...
Previously, calling getLabelMoment with an out of bound index would cause an
error such as this:
```
Uncaught TypeError: Cannot read property 'null' of undefined
```
This happens because there is not always guaranteed to be a labelMoment on
at the current datasetIndex.
One example of this is practice comes from a this function call:
```js
// since the are not always guaranteed to be at least two labelMoments
// \ / this index can be out of bounds
// |
var tickWidth = me.getPixelForTick(1) - me.getPixelForTick(0) - 6;
```
This patch simply ensures that the `labelMoments` for the `datasetIndex` are
defined before accessing properties on it.
2016-07-26 14:45:05 -04:00
Evert Timberg
a0d8554117
Merge pull request #3032 from Neabfi/patch-1
...
Correction of spelling mistakes
2016-07-25 11:20:11 -04:00
Neabfi
29a1ba10e4
Correction of spelling mistake
2016-07-25 10:53:28 -04:00