Commit Graph

1646 Commits

Author SHA1 Message Date
Tom Loudon
05bfb7e964 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
2016-05-12 22:58:54 +01:00
Tom Loudon
04d4adda05 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
2016-05-10 17:28:29 +01:00
Tom Loudon
170fdab6a6 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
2016-05-09 07:29:52 +01:00
Tom Loudon
5866f73562 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.
2016-05-07 22:24:00 +01:00
Evert Timberg
7eb47313e4 Merge pull request #2463 from chartjs/file-size-reduction
File size reduction
2016-05-04 22:21:36 -04:00
Evert Timberg
8f6f882068 Fix jshint issue 2016-05-04 22:16:07 -04:00
Evert Timberg
4258137171 Size reduction for elements 2016-05-04 22:08:55 -04:00
Evert Timberg
3c33cdf760 core dataset controller update 2016-05-04 21:32:40 -04:00
Evert Timberg
4068836a42 Reduce core.title.js size 2016-05-04 21:08:59 -04:00
Evert Timberg
5ca07b84f0 Minor legend fix when going to next line 2016-05-04 21:06:19 -04:00
Evert Timberg
7de70c292d Plugin system is slightly smaller 2016-05-04 19:35:01 -04:00
Evert Timberg
eeae8a6a16 Reduce size of on-canvas legend 2016-05-04 19:28:22 -04:00
Evert Timberg
eb126fdd27 Merge pull request #2462 from zachpanz88/build-fix
Fix build to remove all comments other than header
2016-05-04 19:07:41 -04:00
Zach Panzarino
27b6791e73 Fix build to remove all comments other than header 2016-05-04 22:54:10 +00:00
Evert Timberg
d383e89222 Merge pull request #2416 from brizido/fix-tooltip-body
Fix tooltip body
2016-05-04 16:34:29 -04:00
Zach Panzarino
55e7b462da Update bower.json to include correct homepage URL 2016-05-04 11:06:39 -04:00
Zach Panzarino
fa5e40e41c Update README to include CDN for newest version (2.1.0) 2016-05-04 10:57:25 -04:00
Tanner Linsley
2ee37e12e3 2.1.0 build 2016-05-03 16:53:09 -05:00
potatopeelings
c2cc3fbb4c Feature #73 - Horizontal Bar Chart (#2448)
* Horizontal bar chart type

* Mentioned horizontal bar chart in bar documentation

* Sample file for horizontal bar chart

* Missing semicolon

* Fix for borderSkipped index
2016-05-03 16:45:43 -05:00
Evert Timberg
60dbf49ef0 Merge pull request #2433 from vincchan/fix-doc-links-anchors
fixes anchors and links in docs
2016-05-02 10:21:57 -04:00
Vincent Chan
29606ae21f changes repo link to chartjs org 2016-05-02 16:01:26 +02:00
Vincent Chan
adacef8194 fixes several anchors 2016-05-02 15:57:32 +02:00
Evert Timberg
38373300ee Improve time scale for zoom and pan
* Improve time scale for zoom and pan
Improve category scale when zoomed

* Fix CI test
2016-05-01 11:40:14 -05:00
Evert Timberg
81a5b4e3c0 Updated build 2016-04-30 11:16:34 -04:00
Evert Timberg
cb54f30c97 Implement getValueForPixel for category scale 2016-04-30 08:39:18 -04:00
Evert Timberg
56411bdcd4 Increase tolerance for CI 2016-04-29 20:07:42 -04:00
Evert Timberg
6df9b24ecd Merge from feature/pan-support
All tests are passing
2016-04-29 20:03:15 -04:00
Evert Timberg
99c2d67813 Merge pull request #2421 from mchateloin/pie-demo-randomize-colors
Randomize data button randomizes colors in pie chart demo
2016-04-29 18:18:38 -04:00
Miguel Chateloin
3067249376 Randomize data button randomizes colors in pie chart demo 2016-04-29 17:47:27 -04:00
Zach Panzarino
adc430fc66 Include correct script in pie custom tooltips sample
Fixes issue #2369
2016-04-29 17:08:59 +00:00
Ricardo Brizido
314f398887 Fix tooltip body 2016-04-29 12:11:15 +01:00
Zach Panzarino
7cbc08aed7 Add license field to package files 2016-04-29 03:23:13 +00:00
Evert Timberg
516bf6a456 Merge pull request #2412 from zachpanz88/patch-3
Enable line tests
2016-04-28 20:21:39 -04:00
Evert Timberg
3506274c02 Merge pull request #2413 from dougmolineux/master
Added a <br>
2016-04-28 20:18:46 -04:00
Zach Panzarino
2c77f1b065 Enable line tests 2016-04-28 23:05:18 +00:00
Doug Molineux
4d8def904c Added a <br>
The additional line will make the legend accessible.
https://github.com/chartjs/Chart.js/issues/2389
2016-04-28 16:52:40 -06:00
Evert Timberg
115358659a Merge pull request #2411 from zachpanz88/shared-data
Update line tests to match new metadata system
2016-04-28 18:36:43 -04:00
Zach Panzarino
4b96acc685 Change spaces to tabs in line tests 2016-04-28 22:30:19 +00:00
Evert Timberg
73bc52f196 Update radial linear tests 2016-04-28 18:28:57 -04:00
zachpanz88
da46850ccf Rewrite line chart tests to match new metadata structure 2016-04-28 18:21:56 -04:00
Evert Timberg
f68545c288 Update sample for new meta system 2016-04-28 07:18:05 -04:00
Evert Timberg
9fe9305992 Reenable time scale tests 2016-04-27 21:50:31 -04:00
Evert Timberg
7aa1463c15 Remove bad tests from linear scale 2016-04-27 21:24:13 -04:00
Evert Timberg
5c146a9da5 Linear scale tests 2016-04-27 21:19:02 -04:00
Evert Timberg
2253e84c47 Numerical improvements to matcher 2016-04-27 19:46:15 -04:00
Evert Timberg
1e066ea5de Minor test fix 2016-04-27 19:04:00 -04:00
Evert Timberg
405fda6655 Fix radar tests & reenable. support new lineTension attribute like line controller 2016-04-27 19:03:52 -04:00
Evert Timberg
40405ebc80 disable time tests for same reason as others 2016-04-27 17:45:39 -04:00
Evert Timberg
34992bc4cb Fix doughnut test 2016-04-27 17:40:56 -04:00
Evert Timberg
6abc9a9020 Merge pull request #2394 from Lighnat0r/master
Update time scale range only for visible datasets
2016-04-27 17:24:23 -04:00