]> git.ipfire.org Git - thirdparty/Chart.js.git/log
thirdparty/Chart.js.git
8 years agoAdd reset method to chart prototype
etimberg [Sun, 16 Oct 2016 13:28:27 +0000 (09:28 -0400)] 
Add reset method to chart prototype

8 years agoExtend eslint to test files (#3473)
Zach Panzarino [Sun, 16 Oct 2016 21:34:59 +0000 (17:34 -0400)] 
Extend eslint to test files (#3473)

* Add eslint to test files

* Fix mockContext for tests

* Make formatting look better for nested objects

8 years agoEnhance context acquisition on chart creation
Simon Brunel [Sat, 15 Oct 2016 21:40:22 +0000 (23:40 +0200)] 
Enhance context acquisition on chart creation

Add support for creating a chart from the canvas id and prevent exceptions, at construction time, when the given item doesn't provide a valid CanvasRenderingContext2D or when the getContext API is not accessible (e.g. undefined by add-ons to prevent fingerprinting). New jasmine matcher to verify chart validity.

8 years agoMake index mode only work with the horizontal distance to an element (#3471)
Evert Timberg [Sat, 15 Oct 2016 21:49:35 +0000 (16:49 -0500)] 
Make index mode only work with the horizontal distance to an element  (#3471)

Make index mode only work with the horizontal distance to an element if intersect is off

8 years agoConfigurable Tooltip Position Modes (#3453)
Evert Timberg [Fri, 14 Oct 2016 21:36:49 +0000 (16:36 -0500)] 
Configurable Tooltip Position Modes (#3453)

Adds new tooltip position option that allows configuring where a tooltip is displayed on the graph in relation to the elements that appear in it

8 years agoBar chart performance improvements
etimberg [Fri, 14 Oct 2016 00:43:11 +0000 (20:43 -0400)] 
Bar chart performance improvements

8 years agoNew fill modes for lines (#3460)
Evert Timberg [Fri, 14 Oct 2016 11:19:47 +0000 (06:19 -0500)] 
New fill modes for lines (#3460)

New fill modes for lines allowing the user to customize where the fill goes to

8 years agoUpdate the GitHub issue template
Simon Brunel [Sun, 9 Oct 2016 08:54:42 +0000 (10:54 +0200)] 
Update the GitHub issue template

9 years agoNo longer merge arrays during the config merge. Simply replace the property
etimberg [Sun, 9 Oct 2016 20:24:47 +0000 (16:24 -0400)] 
No longer merge arrays during the config merge. Simply replace the property

9 years agoReplaces Unicode character with HTML entity
Tieson Trowbridge [Sat, 8 Oct 2016 02:14:25 +0000 (22:14 -0400)] 
Replaces Unicode character with HTML entity

9 years agoFix/3061 (#3446)
Evert Timberg [Sun, 9 Oct 2016 16:26:59 +0000 (12:26 -0400)] 
Fix/3061 (#3446)

Solve weird animation issues with the tooltip. The optimization in Chart.Element.transition when the animation finishes to set `_view = _model` caused problems during update because we were using `helpers.extend` all over the place.

I changed to code so that we regenerate the model variable rather than continuously extending the old version. I also removed unnecessary tooltip reinitializations from the controller which should improve overall performance during interaction.

9 years agoProperly merge colors for the label colors in the tooltip. I added a private helper...
Evert Timberg [Sat, 8 Oct 2016 00:39:24 +0000 (20:39 -0400)] 
Properly merge colors for the label colors in the tooltip. I added a private helper to simplify the code in the tooltip

9 years agoFix bubble chart tooltip callback to use correct labels (#3421)
Evert Timberg [Thu, 6 Oct 2016 12:54:50 +0000 (08:54 -0400)] 
Fix bubble chart tooltip callback to use correct labels (#3421)

Fix bubble chart tooltip callback to use correct label parsed from scales. Fixes #3029

9 years agoRefactor tooltip draw function to extract drawBackground method
Mickael Jeanroy [Tue, 4 Oct 2016 15:08:55 +0000 (17:08 +0200)] 
Refactor tooltip draw function to extract drawBackground method

See issue #3416.

9 years agoIf tick options have min, max and stepSize use them to generate evenly spaced ticks
Aidan Fewster [Tue, 4 Oct 2016 10:53:55 +0000 (11:53 +0100)] 
If tick options have min, max and stepSize use them to generate evenly spaced ticks

9 years agoAdded the watchify NPM dependency to satisfy karma-browserify's peerDependency
Aidan Fewster [Tue, 4 Oct 2016 10:48:18 +0000 (11:48 +0100)] 
Added the watchify NPM dependency to satisfy karma-browserify's peerDependency

9 years agoDisplay tooltip color boxes for all tooltips. Added a new `displayColors` option...
Evert Timberg [Mon, 3 Oct 2016 23:10:54 +0000 (19:10 -0400)] 
Display tooltip color boxes for all tooltips. Added a new `displayColors` option to turn them off

9 years agoImprove Tooltip and Hover Interaction (#3400)
Evert Timberg [Mon, 3 Oct 2016 20:05:21 +0000 (16:05 -0400)] 
Improve Tooltip and Hover Interaction (#3400)

Refactored interaction modes to use lookup functions in Chart.Interaction.modes and added new modes for 'point', 'index', 'nearest', 'x', and 'y'

9 years agoBetter animation when adding or removing data
Simon Brunel [Sat, 1 Oct 2016 13:38:19 +0000 (15:38 +0200)] 
Better animation when adding or removing data

In order to simulate real-time chart updates (i.e. horizontal animation), it's necessary to distinguish a removed or added value from a simple update. The dataset controller now hooks array methods that alter the data array length to synchronize metadata accordingly. Also remove the duplicate calls of updateBezierControlPoints() for line and radar charts.

9 years agoFix config initialization and add unit tests
Simon Brunel [Thu, 29 Sep 2016 20:18:34 +0000 (22:18 +0200)] 
Fix config initialization and add unit tests

9 years agoInject iframe for responsive charts only
Simon Brunel [Sat, 24 Sep 2016 19:51:12 +0000 (21:51 +0200)] 
Inject iframe for responsive charts only

Responsiveness is currently based on the use of an iframe, however this method causes performance issues and could be troublesome when used with ad blockers. So make sure that the user is still able to create a chart without iframe when responsive is false.

9 years agoFixes HTML legend string for polar area charts to match doughnut charts. (#3361)
Evert Timberg [Sun, 25 Sep 2016 12:30:39 +0000 (08:30 -0400)] 
Fixes HTML legend string for polar area charts to match doughnut charts. (#3361)

Fixes HTML legend string for polar area charts to match doughnut charts

9 years agoBetter number -> string callback for the radial linear scale (#3281)
Evert Timberg [Sat, 24 Sep 2016 20:56:16 +0000 (16:56 -0400)] 
Better number -> string callback for the radial linear scale (#3281)

Also create a new Chart.Ticks namespace to host common tick generators and formatters.

9 years agoMerge pull request #3325 from chartjs/fix/3269
Simon Brunel [Sat, 24 Sep 2016 20:31:29 +0000 (22:31 +0200)] 
Merge pull request #3325 from chartjs/fix/3269

Improve multiline labeling for tooltips in doughnut charts

9 years agoUpdate default config tests and re-enable 3325/head
Evert Timberg [Sat, 17 Sep 2016 19:57:33 +0000 (15:57 -0400)] 
Update default config tests and re-enable

9 years agoIn the doughnut chart, specifically handle multiline strings.
Evert Timberg [Sat, 17 Sep 2016 15:06:26 +0000 (17:06 +0200)] 
In the doughnut chart, specifically handle multiline strings.

9 years agoskip non finite data points when determining scale sizes. Fixes #3125
Evert Timberg [Sat, 24 Sep 2016 16:19:49 +0000 (12:19 -0400)] 
skip non finite data points when determining scale sizes. Fixes #3125

9 years agoMerge pull request #3356 from simonbrunel/aspect-ratio
Evert Timberg [Sat, 24 Sep 2016 16:06:45 +0000 (12:06 -0400)] 
Merge pull request #3356 from simonbrunel/aspect-ratio

Fix aspect ratio and add responsive unit tests

9 years agoFix 2 minor documentation issues in the scale documentation. #3341 (#3360)
Evert Timberg [Sat, 24 Sep 2016 15:54:51 +0000 (11:54 -0400)] 
Fix 2 minor documentation issues in the scale documentation. #3341 (#3360)

9 years agoCompute correct tooltip size when there is no title present (#3324)
Evert Timberg [Sat, 24 Sep 2016 08:58:31 +0000 (04:58 -0400)] 
Compute correct tooltip size when there is no title present (#3324)

9 years agoFix the legend drawing when `labels.usePointStyle` is true (#3323)
Evert Timberg [Sat, 24 Sep 2016 08:57:33 +0000 (04:57 -0400)] 
Fix the legend drawing when `labels.usePointStyle` is true (#3323)

9 years agoMerge pull request #3358 from dylan-kerr/fix/limit-title-length
Evert Timberg [Sat, 24 Sep 2016 00:20:01 +0000 (20:20 -0400)] 
Merge pull request #3358 from dylan-kerr/fix/limit-title-length

Set maxWidth during title draw to avoid overflow

9 years agoMerge pull request #3357 from kant/patch-1
Evert Timberg [Sat, 24 Sep 2016 00:19:08 +0000 (20:19 -0400)] 
Merge pull request #3357 from kant/patch-1

Minor fixes (proposal)

9 years agoInitial core.controller.js unit tests 3356/head
Simon Brunel [Fri, 23 Sep 2016 15:44:17 +0000 (17:44 +0200)] 
Initial core.controller.js unit tests

9 years agoAdjust expected values in core.title.tests.js 3358/head
dylan-kerr [Fri, 23 Sep 2016 21:36:58 +0000 (22:36 +0100)] 
Adjust expected values in core.title.tests.js

9 years agoSet maxWidth during title draw to avoid overflow
dylan-kerr [Fri, 23 Sep 2016 21:05:54 +0000 (22:05 +0100)] 
Set maxWidth during title draw to avoid overflow

CanvasRenderingContext2D.fillText() accepts a fourth parameter called maxWidth that sets the maximum width of the drawn text, enforced by scaling the entire line.

This commit uses the title element's layout dimensions to set maxWidth and avoid overflow outside of the canvas.

9 years agoMinor fixes (proposal) 3357/head
Darío Hereñú [Fri, 23 Sep 2016 19:00:34 +0000 (16:00 -0300)] 
Minor fixes (proposal)

9 years agoFix radar default aspect ratio and samples
Simon Brunel [Fri, 23 Sep 2016 15:44:06 +0000 (17:44 +0200)] 
Fix radar default aspect ratio and samples

Now that the aspect ratio is correctly handled, fix samples for charts with aspect ratio of 1 which was vertically too large. Also fix the default aspect ratio for radar charts which wasn't applied when creating a chart directly using new Chart(ctx, { type: 'radar' }).

9 years agoFix initial aspect ratio when not responsive
Simon Brunel [Fri, 23 Sep 2016 15:43:52 +0000 (17:43 +0200)] 
Fix initial aspect ratio when not responsive

When responsive is false and no canvas height explicitly set, the aspectRatio option wasn't applied because of the canvas default height. Prevent the retinaScale method to change the canvas display size since this method is called for none responsive charts, but instead make the resize() responsible of these changes. Also, as discussed some time ago, moved most of the core.js logic into core.controller.js. Clean up the destroy process and make sure that initial canvas values are properly saved and restored.

9 years agoGulp command switch to run specific test files
Simon Brunel [Fri, 23 Sep 2016 15:42:56 +0000 (17:42 +0200)] 
Gulp command switch to run specific test files

Add the --inputs command switch to the unittest and unittestWatch tasks, to be able to run unit tests from the specified files only (e.g. gulp unittest --inputs=test/core.element.tests.js;test/core.helpers.tests.js).

9 years agoMake charts vertically responsive (#3105) (#3326)
Simon Brunel [Fri, 23 Sep 2016 15:46:17 +0000 (17:46 +0200)] 
Make charts vertically responsive (#3105) (#3326)

Ensure that the hidden iframe is stretched vertically in order to detect height changes. Remove the classlist check/call since it was incorrectly spelled (should be classList), but also useless since the iframe has just been generated. Also remove the callback check: addResizeListener should never be called w/o a valid callback.

9 years agoMove reverse option for labels to correct section in docs
Zach Panzarino [Fri, 23 Sep 2016 00:12:40 +0000 (00:12 +0000)] 
Move reverse option for labels to correct section in docs
Addresses comment in #3102

9 years agoBump version to 2.3.0
Simon Brunel [Thu, 22 Sep 2016 18:53:26 +0000 (20:53 +0200)] 
Bump version to 2.3.0

9 years agoEnsure the second pie chart sits inline 3321/head
Nick Downie [Wed, 21 Sep 2016 10:17:17 +0000 (11:17 +0100)] 
Ensure the second pie chart sits inline

9 years agoBump version to 2.3.0-rc.1
Simon Brunel [Sat, 17 Sep 2016 09:37:34 +0000 (11:37 +0200)] 
Bump version to 2.3.0-rc.1

9 years agoChange bower package name for chart.js (#1562)
Simon Brunel [Sat, 17 Sep 2016 09:24:31 +0000 (11:24 +0200)] 
Change bower package name for chart.js (#1562)

Thanks to the Bower team, we have been able to register the chart.js package name, previously pointing on a dead repository, which make the Bower integration more consistent with the npm one. All other alias still work (Chart.js, chartjs, Chart-js, chartjs-Chart.js).

9 years agoMerge pull request #3315 from zachpanz88/fix-pie-multi-dataset
Zach Panzarino [Fri, 16 Sep 2016 03:19:47 +0000 (23:19 -0400)] 
Merge pull request #3315 from zachpanz88/fix-pie-multi-dataset

Fix error where pie/doughnut charts did not render correctly with multiple datasets

9 years agoFix bug with pie/doughnut chart legends 3315/head
Zach Panzarino [Fri, 16 Sep 2016 01:29:01 +0000 (01:29 +0000)] 
Fix bug with pie/doughnut chart legends
Fixes a rendering issue when there are multiple datasets on a pie chart and they do not all contain the same number of data in their datasets
Fixes #3309

9 years agoMerge pull request #3287 from simonbrunel/tests-cleanup
Evert Timberg [Thu, 15 Sep 2016 22:12:34 +0000 (18:12 -0400)] 
Merge pull request #3287 from simonbrunel/tests-cleanup

Tests cleanup

9 years agoTurn off linebreak-style linting rule
Simon Brunel [Thu, 15 Sep 2016 21:10:03 +0000 (23:10 +0200)] 
Turn off linebreak-style linting rule

On Windows, this rule conflicts when running ESLint locally on a repository setup with autoCrlf (then all lines are errors).

9 years agoMerge pull request #3308 from zachpanz88/eslint
Simon Brunel [Thu, 15 Sep 2016 16:01:19 +0000 (18:01 +0200)] 
Merge pull request #3308 from zachpanz88/eslint

ESLint Updates

9 years agoImplement eslint changes proposed by @simonbrunel in code review 3308/head
Zach Panzarino [Thu, 15 Sep 2016 12:49:11 +0000 (12:49 +0000)] 
Implement eslint changes proposed by @simonbrunel in code review

9 years agoInclude changes suggested by @etimberg in code review
Zach Panzarino [Thu, 15 Sep 2016 01:21:45 +0000 (01:21 +0000)] 
Include changes suggested by @etimberg in code review

9 years agoAllow variable use before define with warning
Zach Panzarino [Thu, 15 Sep 2016 00:27:29 +0000 (00:27 +0000)] 
Allow variable use before define with warning

9 years agoFix style issues in core and scales
Zach Panzarino [Thu, 15 Sep 2016 00:23:30 +0000 (00:23 +0000)] 
Fix style issues in core and scales

9 years agoFix more style errors in controllers, elements, and scales
Zach Panzarino [Wed, 14 Sep 2016 22:34:41 +0000 (22:34 +0000)] 
Fix more style errors in controllers, elements, and scales

9 years agoRemove func-call-spacing rule
Zach Panzarino [Wed, 14 Sep 2016 18:16:21 +0000 (18:16 +0000)] 
Remove func-call-spacing rule

9 years agoAdd keyword spacing to eslint and update code
Zach Panzarino [Wed, 14 Sep 2016 18:12:23 +0000 (18:12 +0000)] 
Add keyword spacing to eslint and update code

9 years agoFirst round of eslint fixes
Zach Panzarino [Wed, 14 Sep 2016 18:05:19 +0000 (18:05 +0000)] 
First round of eslint fixes

9 years agoUpdate new eslint rules
Zach Panzarino [Wed, 14 Sep 2016 18:03:55 +0000 (18:03 +0000)] 
Update new eslint rules

9 years agoFix broken links in Maintaining.md
Zach Panzarino [Tue, 13 Sep 2016 03:21:40 +0000 (23:21 -0400)] 
Fix broken links in Maintaining.md

9 years agoMerge pull request #3261 from desowin/3211
Evert Timberg [Mon, 12 Sep 2016 23:37:50 +0000 (19:37 -0400)] 
Merge pull request #3261 from desowin/3211

Implement moment diff cache in time scale

9 years agoFix check for undefined 3261/head
Tomasz Moń [Mon, 12 Sep 2016 07:37:04 +0000 (10:37 +0300)] 
Fix check for undefined

Use '!==' instead of '!='. This fixes eqeqeq error reported by gulp-eslint.

9 years agoMerge pull request #3284 from chartjs/fix/3278
Evert Timberg [Sun, 11 Sep 2016 11:46:06 +0000 (07:46 -0400)] 
Merge pull request #3284 from chartjs/fix/3278

Return correct tooltip data in category scale when double category scale is used

9 years agoWhen the category scale is used as the non main scale, return the correct data for... 3284/head
Evert Timberg [Sat, 10 Sep 2016 01:03:59 +0000 (21:03 -0400)] 
When the category scale is used as the non main scale, return the correct data for the tooltip

9 years agoCleanup React extension links (#3282)
Chris Fä [Fri, 9 Sep 2016 21:17:31 +0000 (23:17 +0200)] 
Cleanup React extension links (#3282)

Remove the existing link which was for Chart.js v1 and add 2 links for Chart.js v2

9 years agoMerge pull request #3280 from trantorLiu/master
Evert Timberg [Thu, 8 Sep 2016 23:26:55 +0000 (19:26 -0400)] 
Merge pull request #3280 from trantorLiu/master

Update 01-Chart-Configuration.md

9 years agoUpdate 01-Chart-Configuration.md 3280/head
Chun-Yi Liu [Thu, 8 Sep 2016 23:23:31 +0000 (18:23 -0500)] 
Update 01-Chart-Configuration.md

Fix an anchor link.

9 years agoAutomatically expose custom Jasmine matchers 3287/head
Simon Brunel [Thu, 8 Sep 2016 21:29:39 +0000 (23:29 +0200)] 
Automatically expose custom Jasmine matchers

9 years agoFix time scale tests using the wrong chart instance
Simon Brunel [Tue, 6 Sep 2016 09:34:33 +0000 (11:34 +0200)] 
Fix time scale tests using the wrong chart instance

Some tests were using the removed global `chartInstance` variable, so tests values were incorrect since against the wrong chart instance.

9 years agoAuto-release charts if not persistent (tests)
Simon Brunel [Tue, 6 Sep 2016 09:10:44 +0000 (11:10 +0200)] 
Auto-release charts if not persistent (tests)

For convenience, charts are now automatically released after each spec if they are not acquired using `persistent: true`. Also remove the confusing and error prone `chartInstance` global variable and make sure that chart instances are local to each spec.

9 years agoFix 3267 Add "onHover" functionality for legend (#3271)
Lubomir Sotirov [Wed, 7 Sep 2016 14:59:33 +0000 (16:59 +0200)] 
Fix 3267 Add "onHover" functionality for legend (#3271)

Add "onHover" to the legend options that will hold a user defined function (default is null) and called when a "mousemove" event is registered on top of a label item, with same parameters as the "onClick" option.

Also introduced logic that determines if the type of event passed to the legend "handleEvent" function is one we can handle. Currently allowing "click" and "mousemove" events. If the event is not one of those we stop the function execution (this is for the sake of reusing the legend hitbox calculations).

9 years agoMerge pull request #3254 from ianks/minDisplayFormat
Simon Brunel [Thu, 8 Sep 2016 11:34:53 +0000 (13:34 +0200)] 
Merge pull request #3254 from ianks/minDisplayFormat

Suport minUnit for time scale

9 years agoMerge pull request #3256 from simonbrunel/code-cleanup
Evert Timberg [Tue, 6 Sep 2016 19:21:24 +0000 (15:21 -0400)] 
Merge pull request #3256 from simonbrunel/code-cleanup

ESLint and cleanup

9 years agoSuport minUnit for time scale 3254/head
Ian Ker-Seymer [Fri, 2 Sep 2016 20:39:25 +0000 (16:39 -0400)] 
Suport minUnit for time scale

When dealing with time-delineated datasets, often we have data for known
intervals of time. For example, we may have a dataset which represents number
of purchases per day:

```json
{
labels: ['2016-01-01', '2016-01-02', '2016-01-03']
datasets: [
{
data: [12, 87, 42]
}
],
'...': '...'
}
```

In this case, Chart.js will attempt to figure out the best interval to display
the data, and could pick `hours` as the unit. However, in this case, we would
prefer to just use the `days` interval since our data's granularity can not be
represented well with `hours`.

To remedy this, this commit adds the `minUnit` option which allows
users to (optionally) specify what the minimum unit they would like
to use.

9 years agoBuild labelDiffs cache once per update (#3211)
Tomasz Moń [Sun, 4 Sep 2016 07:22:27 +0000 (10:22 +0300)] 
Build labelDiffs cache once per update (#3211)

Previously buildLabelDiffs() was called at the end of buildTicks() and
hence labelDiffs cache was calculated twice (in getMinimumBoxSize() and
then in fitBox()).

9 years agoBuild label diff lookup table
Tomasz Moń [Sat, 3 Sep 2016 16:40:13 +0000 (19:40 +0300)] 
Build label diff lookup table

This reduces number of calls to momentjs diff() if there are multiple
datasets sharing the same labels (#3211).

9 years agoEnforce curly braces for single statement block 3256/head
Simon Brunel [Sat, 3 Sep 2016 15:49:58 +0000 (17:49 +0200)] 
Enforce curly braces for single statement block

curly: [error, all] (http://eslint.org/docs/rules/curly)

9 years agoEnforce consistent tab indentation
Simon Brunel [Sat, 3 Sep 2016 08:53:32 +0000 (10:53 +0200)] 
Enforce consistent tab indentation

indent: [error, tab] (http://eslint.org/docs/rules/indent)

9 years agoUse gulp-eslint instead of gulp-jshint
Simon Brunel [Fri, 2 Sep 2016 19:56:22 +0000 (21:56 +0200)] 
Use gulp-eslint instead of gulp-jshint

Change the linter in gulp tasks to be consistent with Code Climate results which are based on ESLint using .eslintrc options. However, defaults Code Climate rules are too strict, so turn as warnings the 'complexity' and 'max-statements' rules (other errors has been fixed). Note that the Gulp task name has been changed for `gulp lint`.

9 years agoRemove unused npm packages
Simon Brunel [Thu, 1 Sep 2016 20:17:45 +0000 (22:17 +0200)] 
Remove unused npm packages

9 years agoError possible when using the plugin Chart.Zoom.js used with time scale (#3194)
courchef [Sat, 3 Sep 2016 16:06:09 +0000 (12:06 -0400)] 
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.

9 years agoMerge pull request #3223 from simonbrunel/bower_release
Simon Brunel [Sat, 3 Sep 2016 16:02:38 +0000 (18:02 +0200)] 
Merge pull request #3223 from simonbrunel/bower_release

Deploy dist files in release tags (bower support)

9 years agoMerge pull request #3242 from Pikamander2/new_branch
Evert Timberg [Fri, 2 Sep 2016 22:46:16 +0000 (18:46 -0400)] 
Merge pull request #3242 from Pikamander2/new_branch

Fix zero border width not working (issue #3241)

9 years agoFix #3022 Multi-lines label alignment (#3239)
Ekaterina Dontsova [Fri, 2 Sep 2016 22:26:03 +0000 (01:26 +0300)] 
Fix #3022 Multi-lines label alignment (#3239)

9 years agoUpdate link to slack automation in Contributing.md
Zach Panzarino [Thu, 1 Sep 2016 15:20:18 +0000 (15:20 +0000)] 
Update link to slack automation in Contributing.md

9 years agoFix zero border width not working (issue #3241) 3242/head
Pikamander2 [Thu, 1 Sep 2016 06:28:10 +0000 (02:28 -0400)] 
Fix zero border width not working (issue #3241)

9 years agoFix zero border width not working (issue #3241)
Pikamander2 [Thu, 1 Sep 2016 06:18:42 +0000 (02:18 -0400)] 
Fix zero border width not working (issue #3241)

9 years agoUpdate README.md
Tanner Linsley [Tue, 30 Aug 2016 15:04:16 +0000 (09:04 -0600)] 
Update README.md

9 years agoRemove deprecated gulp tasks and dependencies 3223/head
Simon Brunel [Sun, 28 Aug 2016 16:25:15 +0000 (18:25 +0200)] 
Remove deprecated gulp tasks and dependencies

9 years agoDescribe the release process
Simon Brunel [Sun, 28 Aug 2016 15:34:22 +0000 (17:34 +0200)] 
Describe the release process

9 years agoRemove encrypted data from .travis.yml
Simon Brunel [Sun, 28 Aug 2016 13:53:34 +0000 (15:53 +0200)] 
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

9 years ago#3033 Deploy dist files and bower.json (tags)
Simon Brunel [Sun, 28 Aug 2016 10:18:18 +0000 (12:18 +0200)] 
#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

9 years ago#3182 Gulp task to generate bower.json file
Simon Brunel [Thu, 25 Aug 2016 19:13:27 +0000 (21:13 +0200)] 
#3182 Gulp task to generate bower.json file

9 years agoUpdate version for v2.2.2 release v2.2.2
etimberg [Sat, 27 Aug 2016 12:29:09 +0000 (08:29 -0400)] 
Update version for v2.2.2 release

9 years agoFix #3044 Line chart single data point centering (#3166)
Ekaterina Dontsova [Thu, 25 Aug 2016 16:52:12 +0000 (19:52 +0300)] 
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.

9 years agoMerge pull request #3191 from chartjs/fix/2994
Evert Timberg [Tue, 23 Aug 2016 21:09:31 +0000 (17:09 -0400)] 
Merge pull request #3191 from chartjs/fix/2994

Fix issues with repeated labels in the category scale and added a tes…

9 years agoMerge pull request #3192 from chartjs/fix/2872
Evert Timberg [Tue, 23 Aug 2016 21:09:18 +0000 (17:09 -0400)] 
Merge pull request #3192 from chartjs/fix/2872

When drawTicks is false, we should not include their size in the size…

9 years agoWhen drawTicks is false, we should not include their size in the size of the axis 3192/head
etimberg [Tue, 23 Aug 2016 00:09:09 +0000 (20:09 -0400)] 
When drawTicks is false, we should not include their size in the size of the axis

9 years agoFix issues with repeated labels in the category scale and added a test to cover this... 3191/head
Evert Timberg [Mon, 22 Aug 2016 22:03:56 +0000 (18:03 -0400)] 
Fix issues with repeated labels in the category scale and added a test to cover this case.