Simon Brunel
1f67e54d79
Remove unused npm packages
2016-09-03 18:09:57 +02:00
courchef
6269e2c437
Error possible when using the plugin Chart.Zoom.js used with time scale ( #3194 )
...
Zooming in can cause the params `datasetIndex` and `index` to be null in method `getLabelMoment`. This happens when no ticks are visible on scale. It also throws an error and the chart becomes broken.
2016-09-03 18:06:09 +02:00
Simon Brunel
4cbff0278e
Merge pull request #3223 from simonbrunel/bower_release
...
Deploy dist files in release tags (bower support)
2016-09-03 18:02:38 +02:00
Evert Timberg
2268bef321
Merge pull request #3242 from Pikamander2/new_branch
...
Fix zero border width not working (issue #3241 )
2016-09-02 18:46:16 -04:00
Ekaterina Dontsova
6408ba426c
Fix #3022 Multi-lines label alignment ( #3239 )
2016-09-03 00:26:02 +02:00
Zach Panzarino
a42f3e786e
Update link to slack automation in Contributing.md
2016-09-01 15:20:18 +00:00
Pikamander2
f3c51fc624
Fix zero border width not working (issue #3241 )
2016-09-01 02:28:10 -04:00
Pikamander2
2002ca058b
Fix zero border width not working (issue #3241 )
2016-09-01 02:18:42 -04:00
Tanner Linsley
e35df050fb
Update README.md
2016-08-30 09:04:16 -06:00
Simon Brunel
594605c5c4
Remove deprecated gulp tasks and dependencies
2016-08-30 00:04:40 +02:00
Simon Brunel
6d5638e415
Describe the release process
2016-08-30 00:04:39 +02:00
Simon Brunel
f12fbbc6cc
Remove encrypted data from .travis.yml
...
Secure values are now read from environment variables defined in the repository settings: https://docs.travis-ci.com/user/environment-variables/#Defining-Variables-in-Repository-Settings
2016-08-28 18:21:13 +02:00
Simon Brunel
e8a51d80c8
#3033 Deploy dist files and bower.json (tags)
...
Add a new Travis deploy task to push dist/*.js and bower.json files into tag sources:
- requires Travis GITHUB_AUTH_TOKEN and GITHUB_AUTH_EMAIL environment variables
- skipped if not built from the "release" branch
- release.sh must be executable (see comment)
- reads tag version from package.json
- fails if tag already exists
2016-08-28 18:21:12 +02:00
Simon Brunel
cd50edbc84
#3182 Gulp task to generate bower.json file
2016-08-28 18:21:10 +02:00
etimberg
0ebe388611
Update version for v2.2.2 release
2016-08-27 08:29:09 -04:00
Ekaterina Dontsova
4a4dccd6c1
Fix #3044 Line chart single data point centering ( #3166 )
...
In line charts, when there is only one label and data point, both are now horizontally centered.
2016-08-25 18:52:12 +02:00
Evert Timberg
8afac7bd3c
Merge pull request #3191 from chartjs/fix/2994
...
Fix issues with repeated labels in the category scale and added a tes…
2016-08-23 17:09:31 -04:00
Evert Timberg
016f070a32
Merge pull request #3192 from chartjs/fix/2872
...
When drawTicks is false, we should not include their size in the size…
2016-08-23 17:09:18 -04:00
etimberg
904f19fb7e
When drawTicks is false, we should not include their size in the size of the axis
2016-08-22 20:09:09 -04:00
Evert Timberg
1749d90faf
Fix issues with repeated labels in the category scale and added a test to cover this case.
2016-08-22 18:03:56 -04:00
Evert Timberg
b33aff2091
Merge pull request #3131 from Lighnat0r/master
...
Use parser options in getPixelForValue for time scale
2016-08-22 17:53:55 -04:00
Evert Timberg
89531c6b93
Merge pull request #3112 from MatthieuRivaud/MonotoneCubicInterpolation
...
Monotone cubic interpolation
2016-08-22 17:53:31 -04:00
Evert Timberg
c94673e55a
Merge pull request #3128 from vermeeca/3127-tooltip-sort
...
Accept chart data to itemSort callback for Tooltips
2016-08-22 17:53:11 -04:00
Tomasz Moń
c283867f73
Remove smallestLabelSeparation from TimeScale ( #3186 )
...
In case of charts with over 4000 points, smallestLabelSeparation
calculation contributes significantly to total cpu usage (about 25% according
to built-in Chrome profiler). Important thing to note is that result
of this calculation is not used at all.
Related commits:
* 677c249b61
introduced smallestLabelSeparation. It was used in calculateBaseWidth
function.
* d198157fb8
removed last use of smallestLabelSeparation. Since then the calculated
value was never used.
2016-08-22 14:50:48 -04:00
mdewilde
e1995473f0
Document possible options for animation.easing ( #3111 )
...
List all possible values for animation.easing and reference URL with more information (taken from code comment).
2016-08-21 23:00:29 +02:00
Karthik Iyengar
349a8a33ea
Added borderDash support for grid lines ( #3136 ) ( #3142 )
...
* Added borderDash support for grid lines (#3136 )
* Save and restore context to prevent border dash being applied to other elements
* Adds support for borderDashOffset, checks for setLineDash (IE9/IE10)
* Fixes tests
2016-08-12 12:31:54 -04:00
Ekaterina Dontsova
31197978b7
Fix #2966 : 0 values in logarithmic scale for line and vertical bar charts ( #3016 )
2016-08-11 21:40:25 +02:00
Lighnat0r
ff0e8eadab
Use parser options in getPixelForValue for time scale
2016-08-10 19:14:02 +02:00
Craig Vermeer
88de438c0e
3127 - Modify the itemSort callback for tooltips to accept a third parameter of the data object passed to the chart
2016-08-10 09:54:21 -04:00
Evert Timberg
5fea5a1156
Merge pull request #3094 from chartjs/fix/3090
...
Make the iframe not focusable by using tabIndex of -1
2016-08-09 23:00:50 -04:00
Zach Panzarino
c20d391b49
Remove empty if statement in element.line.js
2016-08-10 01:39:03 +00:00
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