Commit Graph

1678 Commits

Author SHA1 Message Date
Evert Timberg
d131e7d07a Use apply instead of call so that the animation easing can be passed to the draw callbacks 2016-04-17 12:25:47 -04:00
Evert Timberg
7fa4c4c1b8 Initial plugin calls 2016-04-17 12:02:42 -04:00
Evert Timberg
16570b0c0c Plugin system + tests 2016-04-17 12:02:33 -04:00
Evert Timberg
7c7739c25f Merge pull request #2276 from nnnick/fix/2229
Improved sizing when grid lines are not display
2016-04-17 10:38:45 -04:00
Evert Timberg
1a49872ce4 More prework for zoom/pan 2016-04-17 10:33:38 -04:00
Evert Timberg
aae49cd334 Merge pull request #2280 from nnnick/fix/2143
Update doughnut and polar area legend callbacks to handle when the background color is not set.
2016-04-17 09:03:46 -04:00
Evert Timberg
73b6198d24 Fix tests 2016-04-17 08:54:27 -04:00
Evert Timberg
0e33b6b556 Update doughnut and polar area legend callbacks to handle when the background color is not set. 2016-04-17 08:38:46 -04:00
Evert Timberg
ca461479a8 Update docs 2016-04-16 21:50:45 -04:00
Evert Timberg
fac92448ff Update tests for new config option 2016-04-16 21:49:08 -04:00
Evert Timberg
58d18d6a48 Add configurable tick mark length. Use it to calculate appropriate sizing 2016-04-16 21:46:29 -04:00
Evert Timberg
d5af01b2c7 Remove old doc files 2016-04-16 21:13:44 -04:00
Evert Timberg
c74196efc7 Update docs file for start angle and sweep properties 2016-04-16 21:10:31 -04:00
Evert Timberg
fbb6da1393 Remove unnecessary line from code climate config 2016-04-16 20:34:21 -04:00
Evert Timberg
425a1e75f0 Actual paths 2016-04-16 20:21:14 -04:00
Evert Timberg
b2be633e21 Only rate files from src dir 2016-04-16 20:10:33 -04:00
etimberg
99e54734b8 Fix link 2016-04-16 20:06:36 -04:00
Tanner Linsley
11a0364695 Merge pull request #2275 from jsonmaur/patch-1
Update README.md
2016-04-16 18:58:01 -05:00
Jason Maurer
46aff933a7 Update README.md
fixed the link :)
2016-04-16 17:57:15 -06:00
Tanner Linsley
b30109d82f 2.0 Readme 2016-04-16 18:48:55 -05:00
Tanner Linsley
4248247ae7 Merge pull request #2274 from nnnick/v2.0-dev
2.0.0 Release
2016-04-16 18:31:31 -05:00
Evert Timberg
b50c281684 Merge pull request #2273 from mdehoog/doughnut-rotation
Added unit test for doughnut rotation/circumference, fix for rotation = 0
2016-04-16 19:21:58 -04:00
Michael de Hoog
241f085533 Fix for doughnut rotation = 0, added unit test for doughnut rotation/circumference properties 2016-04-17 09:16:42 +10:00
Tanner Linsley
af1adf6b84 Merge branch 'master' into v2.0-dev 2016-04-16 18:13:23 -05:00
Tanner Linsley
67625063a3 2.0.2 2016-04-16 17:39:51 -05:00
Tanner Linsley
4f60eecc01 Better default tick rotation and tick autoskip settings (#2258)
* Better default tick rotation and tick autoskip settings

* scale.time: Use ctx to measure label, and <= instead of < for unit fitting

* Test Changes

* Passing Tests with new defaults
2016-04-16 17:38:03 -05:00
Evert Timberg
1be88df813 Merge pull request #2271 from mdehoog/doughnut-rotation
Add rotation and circumference properties to doughnut/pie charts
2016-04-16 16:36:43 -04:00
etimberg
5e8bfea53e Bump and build for 2.0.1 2016-04-16 14:22:45 -04:00
Michael de Hoog
d3a29967e2 Added rotation and circumference properties to doughnut/pie charts 2016-04-17 00:23:48 +10:00
Evert Timberg
39cf4cc474 Merge pull request #2264 from thukaramvh/tvenkat_bleeding_edge
Graph Index Data Labels display for Line Bar Graph for v2.0
2016-04-16 08:44:19 -04:00
Evert Timberg
72d03a08a6 Merge pull request #2270 from nnnick/fix/travis-tests
Fix/travis tests
2016-04-16 08:42:49 -04:00
Evert Timberg
7bff3387b7 Newer ubuntu version 2016-04-16 08:28:33 -04:00
Evert Timberg
0c32db7094 try a different travis config 2016-04-16 08:24:18 -04:00
Simon Brunel
5836c19ec5 Optimize animation frame requests (#2268)
The animation service now keeps track of the active animation frame request and will skip new requests until the current one is executed. This can happen when processing mouse events, e.g. 'mousemove' and 'mouseout' events will trigger multiple renders.
2016-04-15 20:15:54 -04:00
Evert Timberg
98a995dbd2 Merge pull request #2255 from HarvestingClouds/patch-1
Using the dynamic absolute position even for relative elements
2016-04-15 06:13:54 -04:00
Evert Timberg
fc74f98dd6 Merge pull request #2263 from HarvestingClouds/patch-2
Using the dynamic absolute position of the canvas, even for relative …
2016-04-15 06:13:43 -04:00
Thukaram V H
ac4a4bfd67 Data Labels display for Line Bar combo for v2.0
Data Labels display for Line Bar combo for v2.0
2016-04-14 21:57:58 -07:00
Aman Sharma
e251d06ef5 Using the dynamic absolute position of the canvas, even for relative placement of the chart
This will work with both relative and absolute position for the chart and will apply the tooltips appropriately. I have tested in a normal context and then also using the chart in the second column of two column table i.e. in a different position on the screen. Without this, the default tooltips will appear at the same position no matter where the chart is placed. They will appear misplaced. The fix I have provided allows the tooltips to appear smoothly with the chart, no matter where it is placed on the web page.
2016-04-15 00:11:09 -04:00
Evert Timberg
1232a91300 Merge pull request #2254 from dibsyjr1/v2.0-dev
Fixed legendCallback() html generation
2016-04-13 15:27:04 -04:00
Aman Sharma
69716a45d3 Updating to use the absolute position even if the chart canvas element is having relative position
This will work with both relative and absolute position for the chart
2016-04-13 14:34:26 -04:00
dibsyjr1
447801c45a Returned Chart.js build file back to normal 2016-04-13 18:51:32 +01:00
dibsyjr1
5aa16a67c1 Fixed the generateLegend function
Fixed the generateLegend function to create the colour block next to the text instead of around it.
2016-04-13 16:03:08 +01:00
dibsyjr1
4b96572ac0 Fixed legendCallback() html generation
Fixed legendCallback's html generation so that the span lies next to the text instead of being around it.
2016-04-13 15:26:03 +01:00
Evert Timberg
3166895772 Merge pull request #2251 from tomduncalf/v2.0-handle-gradients
Allow gradients to be used as colors without causing errors when e.g. calling the color helper to generate the default colour value for hover
2016-04-13 07:05:19 -04:00
Tom Duncalf
0c854dd40c Allow gradients to be used as colors without causing errors when e.g. calling the color helper to generate the defualt colour value for hover 2016-04-13 09:46:39 +01:00
Evert Timberg
87c8f51578 Merge pull request #2237 from troywarr/v2.0-dev
Fix "main" file path in bower.json
2016-04-10 20:15:34 -04:00
Troy Warr
5fa6003361 fix "main" file path in bower.json 2016-04-10 18:59:03 -05:00
Evert Timberg
00004fdd3b Merge pull request #2234 from nnnick/fix/2223
Don't measure undefined or null strings.
2016-04-10 10:15:52 -04:00
Evert Timberg
68b493732c Don't measure undefined or null strings. 2016-04-10 10:10:31 -04:00
Evert Timberg
e93677e0c8 Merge pull request #2233 from jamiepenney/v2.0-dev
Update Line chart documentation
2016-04-09 19:33:10 -04:00