Commit Graph

1943 Commits

Author SHA1 Message Date
Zach Panzarino
64b9510ded Merge pull request #2511 from zachpanz88/build-update
Update CDN on bump
2016-05-10 16:45:54 -04: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
Zach Panzarino
5a79b42a46 Update CDN on bump 2016-05-10 15:12:22 +00:00
Evert Timberg
daa9ad074f Merge pull request #2510 from Tarqwyn/feature_New_plugin_interface_afterScaleUpdate
Added new plugin Callback `afterScaleUpdate`
2016-05-10 11:05:03 -04:00
Tarqwyn
84b7d07526 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:
2016-05-10 15:59:12 +01:00
Evert Timberg
0a579fd515 Merge pull request #2509 from chartjs/revert-2508-feature_New_plugin_interface_afterScaleUpdate
Revert "Added new plugin Callback `afterScaleUpdate`"
2016-05-10 10:28:32 -04:00
Evert Timberg
53b9d389d3 Revert "Added new plugin Callback afterScaleUpdate" 2016-05-10 10:28:24 -04:00
Evert Timberg
e3605fbd09 Merge pull request #2508 from Tarqwyn/feature_New_plugin_interface_afterScaleUpdate
Added new plugin Callback `afterScaleUpdate`
2016-05-10 10:28:01 -04:00
Tarqwyn
c80c434e1b Doh!! removed the built files 2016-05-10 15:23:02 +01:00
Tarqwyn
194cfa7db6 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
2016-05-10 15:01:30 +01:00
Evert Timberg
4aa61e00e5 Merge pull request #2505 from tomduncalf/add_min_rotation
Add minRotation support
2016-05-10 09:03:47 -04:00
Tom Duncalf
3bef974c25 Add minRotation support 2016-05-10 12:33:36 +01:00
Evert Timberg
ebffa52dc2 allow callback or userCallback in the time scale 2016-05-09 17:14:25 -05:00
Evert Timberg
23722a8b25 Make the afterUpdate plugin method more useful 2016-05-09 17:14:15 -05: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
Zach Panzarino
c276926c14 Update CDN in Readme to 2.1.2 2016-05-08 16:19:36 -04:00
William Entriken
8a46d1915d Casually codify 1.x policy. Fixes #2305 2016-05-08 15:02:32 -04:00
Evert Timberg
8ffbe23493 2.1.2 release 2016-05-08 11:26:48 -04:00
Evert Timberg
9a38e25e28 Merge pull request #2493 from chartjs/fix/2492
Calculate tick width for bars using number of ticks
2016-05-08 11:11:48 -04:00
Evert Timberg
ee383ef4a6 Logarithmic scale improvements 2016-05-08 09:24:45 -04:00
Evert Timberg
e86a13dcef More linear scale work 2016-05-08 08:32:48 -04:00
Evert Timberg
b35b246414 Merge branch 'master' into file-size-reduction 2016-05-08 08:11:16 -04:00
Evert Timberg
4ef5d942e6 Linear scale improvements 2016-05-08 07:55:29 -04:00
Evert Timberg
33d10374bb Minor improvement to polar area controller 2016-05-07 21:37:24 -04:00
Evert Timberg
52a8654989 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. 2016-05-07 21:28:13 -04:00
Evert Timberg
166801055e Improvements to polar area controller. Moved common draw code up to core dataset controller 2016-05-07 21:04:39 -04:00
Evert Timberg
9d832cc39d More donut improvements 2016-05-07 19:47:40 -04: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
cf5c75ea9e get a little more from the point element 2016-05-07 17:09:17 -04:00
Evert Timberg
51d8a5b55e Merge pull request #2490 from chartjs/fix/2476
beginAtZero and linear scales with no data should play nice
2016-05-07 17:04:37 -04:00
Evert Timberg
5141c90c7b Revert unnecessary changes 2016-05-07 17:04:34 -04:00
Evert Timberg
72c791f352 Revert "Reduce element.point size"
This reverts commit 09bcac9b5c.
2016-05-07 17:00:00 -04:00
Evert Timberg
bc505b1a9d beginAtZero and linear scales with no data should play nice 2016-05-07 16:56:04 -04:00
Evert Timberg
b2fd94b131 Merge pull request #2489 from chartjs/fix/2480
Use local variables + don't include text width for vertical scales with mirrored text
2016-05-07 16:44:26 -04:00
Evert Timberg
33c7dbafd6 Use local variables + don't include text width for vertical scales with mirrored text 2016-05-07 16:26:44 -04:00
Evert Timberg
15cbbae848 Merge pull request #2488 from chartjs/fix/2472
Scales should have 0 cross size when not displayed
2016-05-07 14:24:19 -04:00
Evert Timberg
d13e7905dc Scales should have 0 cross size when not displayed 2016-05-07 14:18:36 -04:00
Evert Timberg
b174d82563 Merge pull request #2486 from chartjs/fix/2330
Allow updating scale defaults
2016-05-07 11:47:21 -04:00
Evert Timberg
fc4c23c8d2 Allow updating scale defaults 2016-05-07 11:43:24 -04:00
Zach Panzarino
9cfda5a819 Update CDN in README to 2.1.1 2016-05-07 11:42:51 -04:00
Evert Timberg
29ab84c4c5 Merge pull request #2484 from chartjs/release/2.1.1
2.1.1 release build
2016-05-07 08:16:14 -04:00
Evert Timberg
8fb2073260 2.1.1 release build 2016-05-07 08:07:09 -04:00
Evert Timberg
f3363e1d3a Merge pull request #2475 from chartjs/fix/2471
Fix time scale grid lines
2016-05-07 07:55:27 -04:00
Evert Timberg
8d88e9c3b7 Fix time scale grid lines 2016-05-06 07:57:28 -04:00
Evert Timberg
b2dc292437 Merge pull request #2473 from chartjs/fix/tension
Fix line tension drawing, especially when set to 0
2016-05-06 07:29:04 -04:00
Evert Timberg
c4bff1602e Fix line tension drawing, especially when set to 0 2016-05-06 07:19:38 -04:00
Evert Timberg
1b6ffd623c Core.Title reductions 2016-05-05 21:01:48 -04:00
Evert Timberg
655163a7f5 Doughnut controller size reductions 2016-05-05 20:47:33 -04:00
Evert Timberg
09bcac9b5c Reduce element.point size 2016-05-05 20:00:11 -04:00
Evert Timberg
c079d73db0 Merge pull request #2468 from dmk2014/master
Update Legend Documentation
2016-05-05 12:09:27 -04:00