Evert Timberg
4ab1b0c415
Merge pull request #2637 from simonbrunel/fix/2418
...
Fix #2418 Firefox old version compatibility
2016-05-25 17:44:38 -04:00
Simon Brunel
08de9faf10
Fix #2418 Firefox old version compatibility
...
Old versions of FF doesn't accept accessing the computed style via the 'max-width' and 'max-height' CSS notations using brackets, in which case the returned value is undefined. Changed the constraint methods to use maxWidth and mawHeight instead and make sure to test valid values.
2016-05-25 22:51:41 +02:00
Evert Timberg
6a70f96d12
Merge pull request #2629 from nvdh/master
...
Fix for documentation issue #2628
2016-05-25 09:03:14 -04:00
Vanderhoven Nick
02f34f4e92
This fixes documentation issue #2628
2016-05-25 11:03:50 +02:00
Evert Timberg
e3943174cc
Merge pull request #2612 from simonbrunel/refactor
...
Refactor and clean up
2016-05-24 21:30:10 -04:00
Zach Panzarino
050a6cb7c0
Clean up gulpfile even more
2016-05-24 15:04:20 +00:00
Evert Timberg
62bb397d22
Merge pull request #2620 from zachpanz88/code-climate
...
Clean up gulpfile
2016-05-24 09:24:05 -04:00
Zach Panzarino
cd7b975c95
Clean up gulpfile
2016-05-24 13:02:02 +00:00
Simon Brunel
7f71990a40
Decomplexify Chart.core.controller.eventHandler
...
Refactor redundant code, use local variables and introduce a new helper to compare arrays (Chart.helpers.arrayEquals).
2016-05-22 00:58:02 +02:00
Simon Brunel
d584afb543
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.
2016-05-22 00:25:53 +02:00
Simon Brunel
7108f78d2f
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.).
2016-05-22 00:25:51 +02:00
Simon Brunel
a566d16e69
Refactor scale base pixel and point calculation.
2016-05-20 20:17:28 +02:00
Simon Brunel
8c5d8855c6
Merge pull request #2551 from chartjs/helper-perf-and-minification
...
Helpers improvements
2016-05-19 19:51:06 +02:00
Evert Timberg
ecb7ce133e
Merge pull request #2590 from haschu/fix/2589
...
This fixes #2589
2016-05-19 07:02:58 -04:00
Evert Timberg
62b9a4b616
Fix section capitalization
2016-05-18 22:44:33 -04:00
Evert Timberg
b76bda0378
Merge pull request #2597 from chartjs/fix/2593
...
Update initial sample with colours
2016-05-18 22:15:19 -04:00
Evert Timberg
dfcf874735
Update initial sample with colours
2016-05-18 22:10:20 -04:00
Evert Timberg
73610c00b4
Merge pull request #2596 from chartjs/fix/2406
...
Give the doughnut sample the correct color label
2016-05-18 21:46:42 -04:00
Evert Timberg
edaf401d52
Merge pull request #2595 from chartjs/fix/2288
...
Add a note about selecting the correct build
2016-05-18 21:46:21 -04:00
Evert Timberg
ff8eb5a65b
Give the doughnut sample the correct color label
2016-05-18 21:43:01 -04:00
Evert Timberg
4a2c521115
Add a note about selecting the correct build that describes what the bundled versions do.
2016-05-18 21:31:51 -04:00
Evert Timberg
230691870e
Merge pull request #2594 from chartjs/fix/2361
...
Bubble Chart documentation
2016-05-18 21:17:35 -04:00
Evert Timberg
8445057432
Bubble chart docs
2016-05-18 21:05:20 -04:00
Evert Timberg
bc2ffb2321
Add new file for bubble chart docs
2016-05-18 19:15:11 -04:00
haschu
393db2a609
This fixes #2584 ( #2592 )
...
Improve scale auto-skipper when labels are not rotated
2016-05-18 18:20:06 -04:00
Evert Timberg
f24dddeda7
Merge pull request #2567 from adileo/master
...
Fixed tooltip not showing in NULL datapoint in multi line chart
2016-05-18 17:51:49 -04:00
Evert Timberg
d23b2395ff
Merge pull request #2578 from simonbrunel/optimizations
...
Point element and line controller optimizations
2016-05-18 17:51:37 -04:00
Hagen Schulze
577c1406dd
This fixes #2589
2016-05-18 20:42:54 +02:00
Evert Timberg
725ee1cc31
Merge pull request #2588 from AllenJB/patch-1
...
Fix handling of moments by scale.getRightValue
2016-05-18 13:59:33 -04:00
AllenJB
966d737617
Fix handling of moments by scale.getRightValue
...
When using {x: moment, y: value} datapoints
2016-05-18 17:38:20 +01:00
Zach Panzarino
529ebedc90
Add BrowserStack mention to readme and website
2016-05-18 12:32:09 +00:00
Simon Brunel
93c28a4d5f
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).
2016-05-18 00:25:45 +02:00
Evert Timberg
ca7434a5ea
Merge pull request #2569 from chartjs/fix/2216
...
Improve bar sizing
2016-05-17 18:04:23 -04:00
Ceane Lamerez
456ab9ca36
Fix #2574 - Add support to hide border on the chart
2016-05-17 21:35:19 +02:00
Simon Brunel
69521477a1
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.
2016-05-17 19:49:17 +02:00
Zach Panzarino
974ff00464
Fix syntax error in docs ( #2572 )
2016-05-17 08:47:27 -04:00
Evert Timberg
45969a3903
Horizontal bars are similar
2016-05-16 22:17:45 -04:00
Evert Timberg
6bb6e5aa4b
Improve tick width for vertical bars
2016-05-16 22:14:33 -04:00
Evert Timberg
965a71f0c0
Merge pull request #2568 from niemyjski/patch-1
...
Fixed a syntax error in the sample
2016-05-16 19:19:56 -04:00
Blake Niemyjski
3db9962c9b
Fixed a syntax error in the sample
2016-05-16 18:14:14 -05:00
Adileo Barone
4b540e70cf
Fixed tooltip not showing in NULL datapoint in multi line chart
2016-05-16 21:02:57 +02:00
Evert Timberg
5514ee07c1
Revert "Travis GitHub Releases" ( #2553 )
2016-05-14 18:08:38 -04:00
Simon Brunel
4e9e26c85d
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.
2016-05-14 17:35:32 -04:00
Evert Timberg
48368117e9
Helpers improvements
2016-05-14 15:59:40 -04:00
Simon Brunel
b64e03dbd0
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.
2016-05-14 13:35:35 -04:00
Evert Timberg
85267f0c62
Merge pull request #2545 from niemyjski/master
...
Performance and minification improvements
2016-05-14 11:04:54 -04:00
Blake Niemyjski
a3d75d2087
More perf and minification changes based on feedback
2016-05-14 08:58:42 -05:00
Blake Niemyjski
7e85245e4f
Fixed unit tests :D
2016-05-13 22:39:11 -05:00
Blake Niemyjski
53b08415ad
There were conflicting tick variables
2016-05-13 22:23:34 -05:00
Blake Niemyjski
b4a269da19
Updated magnification and possible bug fix in removeHoverStyle
2016-05-13 22:16:28 -05:00