]> git.ipfire.org Git - thirdparty/Chart.js.git/log
thirdparty/Chart.js.git
9 years agoDecomplexify Chart.core.controller.eventHandler 2612/head
Simon Brunel [Sat, 21 May 2016 22:21:59 +0000 (00:21 +0200)] 
Decomplexify Chart.core.controller.eventHandler

Refactor redundant code, use local variables and introduce a new helper to compare arrays (Chart.helpers.arrayEquals).

9 years agoRefactor controller scale methods
Simon Brunel [Sat, 21 May 2016 20:53:58 +0000 (22:53 +0200)] 
Refactor controller scale methods

Rewrite these two methods to reduce code duplication. Note that options.scale is not anymore mapped to 'radialScale' ID but to 'scale' ID (see ensureScalesHaveIDs), since this ID is not referenced anywhere in the code base.

9 years agoRefactor addElements and addElementAndReset
Simon Brunel [Fri, 20 May 2016 21:42:24 +0000 (23:42 +0200)] 
Refactor addElements and addElementAndReset

Data controllers should now rarely implement addElements and addElementAndReset but instead should define dataElementType (and optionally datasetElementType). Also remove some dead code (e.g. numBars, colorForNewElement, etc.).

9 years agoRefactor scale base pixel and point calculation.
Simon Brunel [Fri, 20 May 2016 18:17:28 +0000 (20:17 +0200)] 
Refactor scale base pixel and point calculation.

9 years agoMerge pull request #2551 from chartjs/helper-perf-and-minification
Simon Brunel [Thu, 19 May 2016 17:51:06 +0000 (19:51 +0200)] 
Merge pull request #2551 from chartjs/helper-perf-and-minification

Helpers improvements

9 years agoMerge pull request #2590 from haschu/fix/2589
Evert Timberg [Thu, 19 May 2016 11:02:58 +0000 (07:02 -0400)] 
Merge pull request #2590 from haschu/fix/2589

This fixes #2589

9 years agoMerge pull request #2597 from chartjs/fix/2593
Evert Timberg [Thu, 19 May 2016 02:15:19 +0000 (22:15 -0400)] 
Merge pull request #2597 from chartjs/fix/2593

Update initial sample with colours

9 years agoUpdate initial sample with colours 2597/head
Evert Timberg [Thu, 19 May 2016 02:10:20 +0000 (22:10 -0400)] 
Update initial sample with colours

9 years agoMerge pull request #2596 from chartjs/fix/2406
Evert Timberg [Thu, 19 May 2016 01:46:42 +0000 (21:46 -0400)] 
Merge pull request #2596 from chartjs/fix/2406

Give the doughnut sample the correct color label

9 years agoMerge pull request #2595 from chartjs/fix/2288
Evert Timberg [Thu, 19 May 2016 01:46:21 +0000 (21:46 -0400)] 
Merge pull request #2595 from chartjs/fix/2288

Add a note about selecting the correct build

9 years agoGive the doughnut sample the correct color label 2596/head
Evert Timberg [Thu, 19 May 2016 01:43:01 +0000 (21:43 -0400)] 
Give the doughnut sample the correct color label

9 years agoAdd a note about selecting the correct build that describes what the bundled versions do. 2595/head
Evert Timberg [Thu, 19 May 2016 01:31:51 +0000 (21:31 -0400)] 
Add a note about selecting the correct build that describes what the bundled versions do.

9 years agoMerge pull request #2594 from chartjs/fix/2361
Evert Timberg [Thu, 19 May 2016 01:17:35 +0000 (21:17 -0400)] 
Merge pull request #2594 from chartjs/fix/2361

Bubble Chart documentation

9 years agoBubble chart docs 2594/head
Evert Timberg [Thu, 19 May 2016 01:05:20 +0000 (21:05 -0400)] 
Bubble chart docs

9 years agoAdd new file for bubble chart docs
Evert Timberg [Wed, 18 May 2016 23:15:11 +0000 (19:15 -0400)] 
Add new file for bubble chart docs

9 years agoThis fixes #2584 (#2592)
haschu [Wed, 18 May 2016 22:20:06 +0000 (00:20 +0200)] 
This fixes #2584 (#2592)

Improve scale auto-skipper when labels are not rotated

9 years agoMerge pull request #2567 from adileo/master
Evert Timberg [Wed, 18 May 2016 21:51:49 +0000 (17:51 -0400)] 
Merge pull request #2567 from adileo/master

Fixed tooltip not showing in NULL datapoint in multi line chart

9 years agoMerge pull request #2578 from simonbrunel/optimizations
Evert Timberg [Wed, 18 May 2016 21:51:37 +0000 (17:51 -0400)] 
Merge pull request #2578 from simonbrunel/optimizations

Point element and line controller optimizations

9 years agoThis fixes #2589 2590/head
Hagen Schulze [Wed, 18 May 2016 18:42:54 +0000 (20:42 +0200)] 
This fixes #2589

9 years agoMerge pull request #2588 from AllenJB/patch-1
Evert Timberg [Wed, 18 May 2016 17:59:33 +0000 (13:59 -0400)] 
Merge pull request #2588 from AllenJB/patch-1

Fix handling of moments by scale.getRightValue

9 years agoFix handling of moments by scale.getRightValue 2588/head
AllenJB [Wed, 18 May 2016 16:38:20 +0000 (17:38 +0100)] 
Fix handling of moments by scale.getRightValue

When using {x: moment, y: value} datapoints

9 years agoAdd BrowserStack mention to readme and website
Zach Panzarino [Wed, 18 May 2016 12:32:09 +0000 (12:32 +0000)] 
Add BrowserStack mention to readme and website

9 years agoOptimize element.point and controller.line 2578/head
Simon Brunel [Tue, 17 May 2016 11:32:40 +0000 (13:32 +0200)] 
Optimize element.point and controller.line

Change some helpers.each() to `for` loops when iterating on a potentially large number of items and use more local variables when appropriate (making the minified build a bit smaller).

9 years agoMerge pull request #2569 from chartjs/fix/2216
Evert Timberg [Tue, 17 May 2016 22:04:23 +0000 (18:04 -0400)] 
Merge pull request #2569 from chartjs/fix/2216

Improve bar sizing

9 years agoFix #2574 - Add support to hide border on the chart
Ceane Lamerez [Tue, 17 May 2016 19:11:29 +0000 (21:11 +0200)] 
Fix #2574 - Add support to hide border on the chart

9 years agoRemove useless hasOwnProperty checks
Simon Brunel [Mon, 16 May 2016 21:31:47 +0000 (23:31 +0200)] 
Remove useless hasOwnProperty checks

The Chart.helpers.each method uses Object.keys() to iterates on the object *own enumerable properties*, meaning that checking if object.hasOwnProperty() is useless.

9 years agoFix syntax error in docs (#2572)
Zach Panzarino [Tue, 17 May 2016 12:47:27 +0000 (08:47 -0400)] 
Fix syntax error in docs (#2572)

9 years agoHorizontal bars are similar 2569/head
Evert Timberg [Tue, 17 May 2016 02:17:45 +0000 (22:17 -0400)] 
Horizontal bars are similar

9 years agoImprove tick width for vertical bars
Evert Timberg [Tue, 17 May 2016 02:14:33 +0000 (22:14 -0400)] 
Improve tick width for vertical bars

9 years agoMerge pull request #2568 from niemyjski/patch-1
Evert Timberg [Mon, 16 May 2016 23:19:56 +0000 (19:19 -0400)] 
Merge pull request #2568 from niemyjski/patch-1

Fixed a syntax error in the sample

9 years agoFixed a syntax error in the sample 2568/head
Blake Niemyjski [Mon, 16 May 2016 23:14:14 +0000 (18:14 -0500)] 
Fixed a syntax error in the sample

9 years agoFixed tooltip not showing in NULL datapoint in multi line chart 2567/head
Adileo Barone [Mon, 16 May 2016 19:02:57 +0000 (21:02 +0200)] 
Fixed tooltip not showing in NULL datapoint in multi line chart

9 years agoRevert "Travis GitHub Releases" (#2553)
Evert Timberg [Sat, 14 May 2016 22:08:38 +0000 (18:08 -0400)] 
Revert "Travis GitHub Releases" (#2553)

9 years agoTravis GitHub Releases (#2552)
Simon Brunel [Sat, 14 May 2016 21:35:32 +0000 (23:35 +0200)] 
Travis GitHub Releases (#2552)

* Make Travis to deploy built files for tags

See https://docs.travis-ci.com/user/deployment/releases

* Remove and ignore dist/* files

Travis now builds and deploys these files for all tags, so we don't need to have them on the repository anymore.

* Add download links to the latest version

Remove outdated *standard build* and *bundled with Moment.js* links from the documentation and add a link to the latest GitHub release, from where the user can download `*.js` files.

9 years agoHelpers improvements 2551/head
Evert Timberg [Sat, 14 May 2016 19:59:40 +0000 (15:59 -0400)] 
Helpers improvements

9 years agoBump chartjs-color to version 2.0.0 (#2549)
Simon Brunel [Sat, 14 May 2016 17:35:35 +0000 (19:35 +0200)] 
Bump chartjs-color to version 2.0.0 (#2549)

Fix color animation because the color lib changed the `mix` implementation to match SASS behavior, so the weight specifies the amount of the first color that should be included in the returned color.

9 years agoMerge pull request #2545 from niemyjski/master
Evert Timberg [Sat, 14 May 2016 15:04:54 +0000 (11:04 -0400)] 
Merge pull request #2545 from niemyjski/master

Performance and minification improvements

9 years agoMore perf and minification changes based on feedback 2545/head
Blake Niemyjski [Sat, 14 May 2016 13:58:42 +0000 (08:58 -0500)] 
More perf and minification changes based on feedback

9 years agoFixed unit tests :D
Blake Niemyjski [Sat, 14 May 2016 03:39:11 +0000 (22:39 -0500)] 
Fixed unit tests :D

9 years agoThere were conflicting tick variables
Blake Niemyjski [Sat, 14 May 2016 03:23:34 +0000 (22:23 -0500)] 
There were conflicting tick variables

9 years agoUpdated magnification and possible bug fix in removeHoverStyle
Blake Niemyjski [Sat, 14 May 2016 03:16:28 +0000 (22:16 -0500)] 
Updated magnification and possible bug fix in removeHoverStyle

9 years agoPerformance and minification improvements
Blake Niemyjski [Sat, 14 May 2016 03:07:39 +0000 (22:07 -0500)] 
Performance and minification improvements

9 years agoMerge pull request #2544 from niemyjski/patch-1
Evert Timberg [Sat, 14 May 2016 02:05:24 +0000 (22:05 -0400)] 
Merge pull request #2544 from niemyjski/patch-1

removed extra momentjs script tag

9 years agoremoved extra momentjs script tag 2544/head
Blake Niemyjski [Sat, 14 May 2016 02:04:40 +0000 (21:04 -0500)] 
removed extra momentjs script tag

9 years agoMerge pull request #2543 from chartjs/fix/2519
Evert Timberg [Fri, 13 May 2016 23:54:57 +0000 (19:54 -0400)] 
Merge pull request #2543 from chartjs/fix/2519

Error when first data point on time scale had null data

9 years agoError when first data point on time scale had null data 2543/head
Evert Timberg [Fri, 13 May 2016 23:50:59 +0000 (19:50 -0400)] 
Error when first data point on time scale had null data

9 years agoMerge pull request #2542 from chartjs/fix/2536
Evert Timberg [Fri, 13 May 2016 23:49:07 +0000 (19:49 -0400)] 
Merge pull request #2542 from chartjs/fix/2536

Provide different default tooltip functions for horizontal bar

9 years agoProvide different default tooltip functions for horizontal bar 2542/head
Evert Timberg [Fri, 13 May 2016 23:36:32 +0000 (19:36 -0400)] 
Provide different default tooltip functions for horizontal bar

9 years agoMerge pull request #2541 from chartjs/fix/2535
Evert Timberg [Fri, 13 May 2016 23:25:05 +0000 (19:25 -0400)] 
Merge pull request #2541 from chartjs/fix/2535

fix docs for tension

9 years agoMerge pull request #2540 from chartjs/fix/2537
Evert Timberg [Fri, 13 May 2016 23:22:19 +0000 (19:22 -0400)] 
Merge pull request #2540 from chartjs/fix/2537

Horizontal bar defaults should skip left edge

9 years agofix docs for tension 2541/head
Evert Timberg [Fri, 13 May 2016 23:17:19 +0000 (19:17 -0400)] 
fix docs for tension

9 years agoHorizontal bar defaults should skip left edge 2540/head
Evert Timberg [Fri, 13 May 2016 23:13:34 +0000 (19:13 -0400)] 
Horizontal bar defaults should skip left edge

9 years agoMerge pull request #2491 from chartjs/file-size-reduction
Evert Timberg [Fri, 13 May 2016 15:37:01 +0000 (11:37 -0400)] 
Merge pull request #2491 from chartjs/file-size-reduction

File size reduction

9 years agoAdd issue & pull request template files (#2534)
Zach Panzarino [Fri, 13 May 2016 00:52:39 +0000 (20:52 -0400)] 
Add issue & pull request template files (#2534)

9 years agoMerge branch 'master' into file-size-reduction 2491/head
Evert Timberg [Thu, 12 May 2016 22:57:22 +0000 (18:57 -0400)] 
Merge branch 'master' into file-size-reduction

Conflicts:
src/controllers/controller.doughnut.js
src/controllers/controller.polarArea.js

9 years agoUpdate doc files for ticks.minRotation v2.1.3
Evert Timberg [Thu, 12 May 2016 22:42:52 +0000 (18:42 -0400)] 
Update doc files for ticks.minRotation

9 years ago2.1.3 release
Evert Timberg [Thu, 12 May 2016 22:41:22 +0000 (18:41 -0400)] 
2.1.3 release

9 years agoMerge branch 'tomduncalf-iso_weekday'
Evert Timberg [Thu, 12 May 2016 22:24:34 +0000 (18:24 -0400)] 
Merge branch 'tomduncalf-iso_weekday'

9 years agoMerge branch 'iso_weekday' of https://github.com/tomduncalf/Chart.js into tomduncalf...
Evert Timberg [Thu, 12 May 2016 22:24:14 +0000 (18:24 -0400)] 
Merge branch 'iso_weekday' of https://github.com/tomduncalf/Chart.js into tomduncalf-iso_weekday

Conflicts:
docs/01-Scales.md

9 years agoMerge branch 'master' of https://github.com/nnnick/Chart.js
Evert Timberg [Thu, 12 May 2016 22:22:55 +0000 (18:22 -0400)] 
Merge branch 'master' of https://github.com/nnnick/Chart.js

Conflicts:
docs/01-Scales.md

9 years agoMerge branch 'tomduncalf-label_offset'
Evert Timberg [Thu, 12 May 2016 22:21:40 +0000 (18:21 -0400)] 
Merge branch 'tomduncalf-label_offset'

9 years agoMerge pull request #2524 from ashiguruma/master
Evert Timberg [Thu, 12 May 2016 22:20:40 +0000 (18:20 -0400)] 
Merge pull request #2524 from ashiguruma/master

Allow canvas patterns instead of colors

9 years agoMerge branch 'master' of github.com:ashiguruma/Chart.js 2524/head
Tom Loudon [Thu, 12 May 2016 22:00:53 +0000 (23:00 +0100)] 
Merge branch 'master' of github.com:ashiguruma/Chart.js

* 'master' of github.com:ashiguruma/Chart.js:
  Added CanvasPattern global flag for jshint

9 years agoAdded CanvasPattern global flag for jshint
Tom Loudon [Thu, 12 May 2016 21:24:20 +0000 (22:24 +0100)] 
Added CanvasPattern global flag for jshint

The core.helpers file was failing linting checks as the global CanvasPattern was not defined. Added the `/* global CanvasGradient */` statement to make linting pass. Updates chartjs/Chart.js#1323

9 years agoAdded CanvasPattern global flag for jshint
Tom Loudon [Thu, 12 May 2016 21:24:20 +0000 (22:24 +0100)] 
Added CanvasPattern global flag for jshint

The core.helpers file was failing linting checks as the global CanvasPattern was not defined. Added the `/* global CanvasGradient */` statement to make linting pass. Updates chartjs/Chart.js#1323

9 years agoMerge pull request #2531 from matt-watson90/patch-1
Evert Timberg [Thu, 12 May 2016 16:09:39 +0000 (12:09 -0400)] 
Merge pull request #2531 from matt-watson90/patch-1

Fixed copy paste error in 01-Scales.md

9 years agoMerge pull request #2530 from cw0102/master
Evert Timberg [Thu, 12 May 2016 16:09:26 +0000 (12:09 -0400)] 
Merge pull request #2530 from cw0102/master

Update 03-Bar-Chart.md

9 years agoFixed copy paste error in 01-Scales.md 2531/head
Matt Watson [Thu, 12 May 2016 16:02:20 +0000 (17:02 +0100)] 
Fixed copy paste error in 01-Scales.md

9 years agoUpdate 03-Bar-Chart.md 2530/head
cw0102 [Thu, 12 May 2016 15:56:04 +0000 (11:56 -0400)] 
Update 03-Bar-Chart.md

Fix documentation of stacked option to be a subset of the axes rather than a global attribute on a bar chart. The attribute chart was inconsistent with the example below it.

9 years agoAdd labelOffset option to scales 2517/head
Tom Duncalf [Wed, 11 May 2016 09:43:22 +0000 (10:43 +0100)] 
Add labelOffset option to scales

9 years agoAdd isoWeekday option to allow time scale ticks in 'week' unit mode to start on a... 2515/head
Tom Duncalf [Wed, 11 May 2016 08:34:22 +0000 (09:34 +0100)] 
Add isoWeekday option to allow time scale ticks in 'week' unit mode to start on a specified day of the week

9 years agoMerge pull request #2511 from zachpanz88/build-update
Zach Panzarino [Tue, 10 May 2016 20:45:54 +0000 (16:45 -0400)] 
Merge pull request #2511 from zachpanz88/build-update

Update CDN on bump

9 years agoAllow pattern hover state in all chart types
Tom Loudon [Tue, 10 May 2016 16:25:24 +0000 (17:25 +0100)] 
Allow pattern hover state in all chart types

Updated all chart types to use the helper.getHoverColor. Pattern fills can now be specified for both fill and line portions of a chart. Updates chartjs/Chart.js#1323

9 years agoUpdate CDN on bump 2511/head
Zach Panzarino [Tue, 10 May 2016 15:12:22 +0000 (15:12 +0000)] 
Update CDN on bump

9 years agoMerge pull request #2510 from Tarqwyn/feature_New_plugin_interface_afterScaleUpdate
Evert Timberg [Tue, 10 May 2016 15:05:03 +0000 (11:05 -0400)] 
Merge pull request #2510 from Tarqwyn/feature_New_plugin_interface_afterScaleUpdate

Added new plugin Callback `afterScaleUpdate`

9 years agoFollowing a Slack conversation tadd new Callback to allow updates to datasets config... 2510/head
Tarqwyn [Tue, 10 May 2016 14:01:30 +0000 (15:01 +0100)] 
Following a Slack conversation tadd new Callback to allow updates to datasets config (ie borderColor) based on results of the calculated scale, A typical use case would be apply a Gradient fill.

On branch feature_New_plugin_interface_afterScaleUpdate
Changes to be committed:
modified:   dist/Chart.bundle.js
modified:   dist/Chart.bundle.min.js

 #On branch feature_New_plugin_interface_afterScaleUpdate
 #Changes to be committed:

9 years agoMerge pull request #2509 from chartjs/revert-2508-feature_New_plugin_interface_afterS...
Evert Timberg [Tue, 10 May 2016 14:28:32 +0000 (10:28 -0400)] 
Merge pull request #2509 from chartjs/revert-2508-feature_New_plugin_interface_afterScaleUpdate

Revert "Added new plugin Callback `afterScaleUpdate`"

9 years agoRevert "Added new plugin Callback `afterScaleUpdate`" 2509/head
Evert Timberg [Tue, 10 May 2016 14:28:24 +0000 (10:28 -0400)] 
Revert "Added new plugin Callback `afterScaleUpdate`"

9 years agoMerge pull request #2508 from Tarqwyn/feature_New_plugin_interface_afterScaleUpdate
Evert Timberg [Tue, 10 May 2016 14:28:01 +0000 (10:28 -0400)] 
Merge pull request #2508 from Tarqwyn/feature_New_plugin_interface_afterScaleUpdate

Added new plugin Callback `afterScaleUpdate`

9 years agoDoh!! removed the built files 2508/head
Tarqwyn [Tue, 10 May 2016 14:23:02 +0000 (15:23 +0100)] 
Doh!! removed the built files

9 years agoAdded new plugin Callback `afterScaleUpdate`
Tarqwyn [Tue, 10 May 2016 14:01:30 +0000 (15:01 +0100)] 
Added new plugin Callback `afterScaleUpdate`

Following a Slack conversation tadd new Callback to allow updates to datasets config (ie borderColor) based on results of the calculated scale, A typical use case would be apply a Gradient fill.

On branch feature_New_plugin_interface_afterScaleUpdate
Changes to be committed:
modified:   dist/Chart.bundle.js
modified:   dist/Chart.bundle.min.js

9 years agoMerge pull request #2505 from tomduncalf/add_min_rotation
Evert Timberg [Tue, 10 May 2016 13:03:47 +0000 (09:03 -0400)] 
Merge pull request #2505 from tomduncalf/add_min_rotation

Add minRotation support

9 years agoAdd minRotation support 2505/head
Tom Duncalf [Tue, 10 May 2016 11:10:01 +0000 (12:10 +0100)] 
Add minRotation support

9 years agoallow callback or userCallback in the time scale
Evert Timberg [Mon, 9 May 2016 22:14:25 +0000 (18:14 -0400)] 
allow callback or userCallback in the time scale

9 years agoMake the afterUpdate plugin method more useful
Evert Timberg [Mon, 9 May 2016 22:14:15 +0000 (18:14 -0400)] 
Make the afterUpdate plugin method more useful

9 years agoRemoved 'background' from hover color helper name.
Tom Loudon [Mon, 9 May 2016 06:24:32 +0000 (07:24 +0100)] 
Removed 'background' from hover color helper name.

Patterns could be used for style attributes other than background e.g. stroke. Updates  chartjs/Chart.js#1323

9 years agoUpdate CDN in Readme to 2.1.2
Zach Panzarino [Sun, 8 May 2016 20:19:36 +0000 (16:19 -0400)] 
Update CDN in Readme to 2.1.2

9 years agoCasually codify 1.x policy. Fixes #2305
William Entriken [Sun, 8 May 2016 19:02:32 +0000 (15:02 -0400)] 
Casually codify 1.x policy. Fixes #2305

9 years ago2.1.2 release v2.1.2
Evert Timberg [Sun, 8 May 2016 15:26:48 +0000 (11:26 -0400)] 
2.1.2 release

9 years agoMerge pull request #2493 from chartjs/fix/2492
Evert Timberg [Sun, 8 May 2016 15:11:48 +0000 (11:11 -0400)] 
Merge pull request #2493 from chartjs/fix/2492

Calculate tick width for bars using number of ticks

9 years agoLogarithmic scale improvements
Evert Timberg [Sun, 8 May 2016 13:24:45 +0000 (09:24 -0400)] 
Logarithmic scale improvements

9 years agoMore linear scale work
Evert Timberg [Sun, 8 May 2016 12:32:48 +0000 (08:32 -0400)] 
More linear scale work

9 years agoMerge branch 'master' into file-size-reduction
Evert Timberg [Sun, 8 May 2016 12:11:16 +0000 (08:11 -0400)] 
Merge branch 'master' into file-size-reduction

9 years agoLinear scale improvements
Evert Timberg [Sun, 8 May 2016 11:55:29 +0000 (07:55 -0400)] 
Linear scale improvements

9 years agoMinor improvement to polar area controller
Evert Timberg [Sun, 8 May 2016 01:37:24 +0000 (21:37 -0400)] 
Minor improvement to polar area controller

9 years agoEnsure that when calculating tick width in the bar controller, we use the number... 2493/head
Evert Timberg [Sun, 8 May 2016 01:28:13 +0000 (21:28 -0400)] 
Ensure that when calculating tick width in the bar controller, we use the number of ticks in the scale, not the number of data points.

9 years agoImprovements to polar area controller. Moved common draw code up to core dataset...
Evert Timberg [Sun, 8 May 2016 01:04:39 +0000 (21:04 -0400)] 
Improvements to polar area controller. Moved common draw code up to core dataset controller

9 years agoMore donut improvements
Evert Timberg [Sat, 7 May 2016 23:47:40 +0000 (19:47 -0400)] 
More donut improvements

9 years agoAdded helper to allow a CanvasPattern for hover. Updates chartjs/Chart.js#1323
Tom Loudon [Sat, 7 May 2016 21:24:00 +0000 (22:24 +0100)] 
Added helper to allow a CanvasPattern for hover. Updates chartjs/Chart.js#1323

When a hover background isn't specified in the config for a chart a modified version of the default color is used. If the background color is a CanvasPattern object an error is triggered.

With this change the default background color will no longer be modified if it is a CanvasPattern.

9 years agoget a little more from the point element
Evert Timberg [Sat, 7 May 2016 21:09:17 +0000 (17:09 -0400)] 
get a little more from the point element