]>
git.ipfire.org Git - thirdparty/Chart.js.git/log
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
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`
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:
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`"
Evert Timberg [Tue, 10 May 2016 14:28:24 +0000 (10:28 -0400)]
Revert "Added new plugin Callback `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`
Tarqwyn [Tue, 10 May 2016 14:23:02 +0000 (15:23 +0100)]
Doh!! removed the built files
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
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
Tom Duncalf [Tue, 10 May 2016 11:10:01 +0000 (12:10 +0100)]
Add minRotation support
Evert Timberg [Mon, 9 May 2016 22:14:25 +0000 (18:14 -0400)]
allow callback or userCallback in the time scale
Evert Timberg [Mon, 9 May 2016 22:14:15 +0000 (18:14 -0400)]
Make the afterUpdate plugin method more useful
Zach Panzarino [Sun, 8 May 2016 20:19:36 +0000 (16:19 -0400)]
Update CDN in Readme to 2.1.2
William Entriken [Sun, 8 May 2016 19:02:32 +0000 (15:02 -0400)]
Casually codify 1.x policy. Fixes #2305
Evert Timberg [Sun, 8 May 2016 15:26:48 +0000 (11:26 -0400)]
2.1.2 release
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
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.
Evert Timberg [Sat, 7 May 2016 21:04:37 +0000 (17:04 -0400)]
Merge pull request #2490 from chartjs/fix/2476
beginAtZero and linear scales with no data should play nice
Evert Timberg [Sat, 7 May 2016 20:56:04 +0000 (16:56 -0400)]
beginAtZero and linear scales with no data should play nice
Evert Timberg [Sat, 7 May 2016 20:44:26 +0000 (16:44 -0400)]
Merge pull request #2489 from chartjs/fix/2480
Use local variables + don't include text width for vertical scales with mirrored text
Evert Timberg [Sat, 7 May 2016 20:26:44 +0000 (16:26 -0400)]
Use local variables + don't include text width for vertical scales with mirrored text
Evert Timberg [Sat, 7 May 2016 18:24:19 +0000 (14:24 -0400)]
Merge pull request #2488 from chartjs/fix/2472
Scales should have 0 cross size when not displayed
Evert Timberg [Sat, 7 May 2016 18:18:36 +0000 (14:18 -0400)]
Scales should have 0 cross size when not displayed
Evert Timberg [Sat, 7 May 2016 15:47:21 +0000 (11:47 -0400)]
Merge pull request #2486 from chartjs/fix/2330
Allow updating scale defaults
Evert Timberg [Sat, 7 May 2016 15:43:24 +0000 (11:43 -0400)]
Allow updating scale defaults
Zach Panzarino [Sat, 7 May 2016 15:42:51 +0000 (11:42 -0400)]
Update CDN in README to 2.1.1
Evert Timberg [Sat, 7 May 2016 12:16:14 +0000 (08:16 -0400)]
Merge pull request #2484 from chartjs/release/2.1.1
2.1.1 release build
Evert Timberg [Sat, 7 May 2016 12:07:09 +0000 (08:07 -0400)]
2.1.1 release build
Evert Timberg [Sat, 7 May 2016 11:55:27 +0000 (07:55 -0400)]
Merge pull request #2475 from chartjs/fix/2471
Fix time scale grid lines
Evert Timberg [Fri, 6 May 2016 11:57:28 +0000 (07:57 -0400)]
Fix time scale grid lines
Evert Timberg [Fri, 6 May 2016 11:29:04 +0000 (07:29 -0400)]
Merge pull request #2473 from chartjs/fix/tension
Fix line tension drawing, especially when set to 0
Evert Timberg [Fri, 6 May 2016 11:19:38 +0000 (07:19 -0400)]
Fix line tension drawing, especially when set to 0
Evert Timberg [Thu, 5 May 2016 16:09:27 +0000 (12:09 -0400)]
Merge pull request #2468 from dmk2014/master
Update Legend Documentation
Darren Keane [Thu, 5 May 2016 15:57:50 +0000 (16:57 +0100)]
Update legend docs -> parameter 'data' has changed to 'chart'.
Evert Timberg [Thu, 5 May 2016 02:21:36 +0000 (22:21 -0400)]
Merge pull request #2463 from chartjs/file-size-reduction
File size reduction
Evert Timberg [Thu, 5 May 2016 02:16:07 +0000 (22:16 -0400)]
Fix jshint issue
Evert Timberg [Thu, 5 May 2016 02:08:55 +0000 (22:08 -0400)]
Size reduction for elements
Evert Timberg [Thu, 5 May 2016 01:32:40 +0000 (21:32 -0400)]
core dataset controller update
Evert Timberg [Thu, 5 May 2016 01:08:59 +0000 (21:08 -0400)]
Reduce core.title.js size
Evert Timberg [Thu, 5 May 2016 01:06:19 +0000 (21:06 -0400)]
Minor legend fix when going to next line
Evert Timberg [Wed, 4 May 2016 23:35:01 +0000 (19:35 -0400)]
Plugin system is slightly smaller
Evert Timberg [Wed, 4 May 2016 23:28:22 +0000 (19:28 -0400)]
Reduce size of on-canvas legend
Evert Timberg [Wed, 4 May 2016 23:07:41 +0000 (19:07 -0400)]
Merge pull request #2462 from zachpanz88/build-fix
Fix build to remove all comments other than header
Zach Panzarino [Wed, 4 May 2016 22:54:10 +0000 (22:54 +0000)]
Fix build to remove all comments other than header
Evert Timberg [Wed, 4 May 2016 20:34:29 +0000 (16:34 -0400)]
Merge pull request #2416 from brizido/fix-tooltip-body
Fix tooltip body
Zach Panzarino [Wed, 4 May 2016 15:06:39 +0000 (11:06 -0400)]
Update bower.json to include correct homepage URL
Zach Panzarino [Wed, 4 May 2016 14:57:25 +0000 (10:57 -0400)]
Update README to include CDN for newest version (2.1.0)
Tanner Linsley [Tue, 3 May 2016 21:53:09 +0000 (16:53 -0500)]
2.1.0 build
potatopeelings [Tue, 3 May 2016 21:45:43 +0000 (07:45 +1000)]
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
Evert Timberg [Mon, 2 May 2016 14:21:57 +0000 (10:21 -0400)]
Merge pull request #2433 from vincchan/fix-doc-links-anchors
fixes anchors and links in docs
Vincent Chan [Mon, 2 May 2016 14:01:26 +0000 (16:01 +0200)]
changes repo link to chartjs org
Vincent Chan [Mon, 2 May 2016 13:57:32 +0000 (15:57 +0200)]
fixes several anchors
Evert Timberg [Sun, 1 May 2016 16:40:14 +0000 (12:40 -0400)]
Improve time scale for zoom and pan
* Improve time scale for zoom and pan
Improve category scale when zoomed
* Fix CI test
Evert Timberg [Sat, 30 Apr 2016 15:16:34 +0000 (11:16 -0400)]
Updated build
Evert Timberg [Sat, 30 Apr 2016 12:39:18 +0000 (08:39 -0400)]
Implement getValueForPixel for category scale
Evert Timberg [Sat, 30 Apr 2016 00:07:42 +0000 (20:07 -0400)]
Increase tolerance for CI
Evert Timberg [Sat, 30 Apr 2016 00:03:15 +0000 (20:03 -0400)]
Merge from feature/pan-support
All tests are passing
Evert Timberg [Fri, 29 Apr 2016 22:18:38 +0000 (18:18 -0400)]
Merge pull request #2421 from mchateloin/pie-demo-randomize-colors
Randomize data button randomizes colors in pie chart demo
Miguel Chateloin [Fri, 29 Apr 2016 21:47:27 +0000 (17:47 -0400)]
Randomize data button randomizes colors in pie chart demo
Zach Panzarino [Fri, 29 Apr 2016 17:08:59 +0000 (17:08 +0000)]
Include correct script in pie custom tooltips sample
Fixes issue #2369
Ricardo Brizido [Fri, 29 Apr 2016 11:11:15 +0000 (12:11 +0100)]
Fix tooltip body
Zach Panzarino [Fri, 29 Apr 2016 03:23:13 +0000 (03:23 +0000)]
Add license field to package files
Evert Timberg [Fri, 29 Apr 2016 00:21:39 +0000 (20:21 -0400)]
Merge pull request #2412 from zachpanz88/patch-3
Enable line tests
Evert Timberg [Fri, 29 Apr 2016 00:18:46 +0000 (20:18 -0400)]
Merge pull request #2413 from dougmolineux/master
Added a <br>
Zach Panzarino [Thu, 28 Apr 2016 23:05:18 +0000 (23:05 +0000)]
Enable line tests
Doug Molineux [Thu, 28 Apr 2016 22:52:40 +0000 (16:52 -0600)]
Added a <br>
The additional line will make the legend accessible.
https://github.com/chartjs/Chart.js/issues/2389
Evert Timberg [Thu, 28 Apr 2016 22:36:43 +0000 (18:36 -0400)]
Merge pull request #2411 from zachpanz88/shared-data
Update line tests to match new metadata system
Zach Panzarino [Thu, 28 Apr 2016 22:30:19 +0000 (22:30 +0000)]
Change spaces to tabs in line tests
Evert Timberg [Thu, 28 Apr 2016 22:28:57 +0000 (18:28 -0400)]
Update radial linear tests
zachpanz88 [Thu, 28 Apr 2016 22:21:56 +0000 (18:21 -0400)]
Rewrite line chart tests to match new metadata structure
Evert Timberg [Thu, 28 Apr 2016 11:18:05 +0000 (07:18 -0400)]
Update sample for new meta system
Evert Timberg [Thu, 28 Apr 2016 01:50:31 +0000 (21:50 -0400)]
Reenable time scale tests
Evert Timberg [Thu, 28 Apr 2016 01:24:13 +0000 (21:24 -0400)]
Remove bad tests from linear scale
Evert Timberg [Thu, 28 Apr 2016 01:19:02 +0000 (21:19 -0400)]
Linear scale tests
Evert Timberg [Wed, 27 Apr 2016 23:46:15 +0000 (19:46 -0400)]
Numerical improvements to matcher
Evert Timberg [Wed, 27 Apr 2016 23:04:00 +0000 (19:04 -0400)]
Minor test fix
Evert Timberg [Wed, 27 Apr 2016 23:03:52 +0000 (19:03 -0400)]
Fix radar tests & reenable. support new lineTension attribute like line controller
Evert Timberg [Wed, 27 Apr 2016 21:45:39 +0000 (17:45 -0400)]
disable time tests for same reason as others
Evert Timberg [Wed, 27 Apr 2016 21:40:56 +0000 (17:40 -0400)]
Fix doughnut test
Evert Timberg [Wed, 27 Apr 2016 21:24:23 +0000 (17:24 -0400)]
Merge pull request #2394 from Lighnat0r/master
Update time scale range only for visible datasets
Lighnat0r [Wed, 27 Apr 2016 21:18:03 +0000 (23:18 +0200)]
update isDatasetVisible call
Evert Timberg [Wed, 27 Apr 2016 21:07:21 +0000 (17:07 -0400)]
Make animation options consistent for polar area and doughnut charts (#2342)
* Make animation options consistent and fix an issue when `animateRotate === false` in the polar area chart
* Update docs for moved options
* Fix typo
Lighnat0r [Wed, 27 Apr 2016 20:47:23 +0000 (22:47 +0200)]
Merge branch 'master' of https://github.com/Lighnat0r/Chart.js
Lighnat0r [Wed, 27 Apr 2016 19:26:20 +0000 (21:26 +0200)]
update time scale range only for visible datasets
Evert Timberg [Wed, 27 Apr 2016 19:39:02 +0000 (15:39 -0400)]
Merge pull request #2371 from chartjs/fix-time-scale-cutoff-bug
Time scale now compensates for rounded tick units
Evert Timberg [Wed, 27 Apr 2016 19:38:32 +0000 (15:38 -0400)]
Merge pull request #2346 from simonbrunel/shared-data
Shared data between charts
Lighnat0r [Wed, 27 Apr 2016 19:26:20 +0000 (21:26 +0200)]
update time scale range only for visible datasets
Nick Downie [Wed, 27 Apr 2016 18:55:06 +0000 (19:55 +0100)]
Merge pull request #2393 from chartjs/docs-version-links
Link to previous version docs
Nick Downie [Wed, 27 Apr 2016 18:49:26 +0000 (19:49 +0100)]
Update readme to link to previous versions
Note - this removed now not required mention of liquid tags in docs.
Nick Downie [Wed, 27 Apr 2016 18:48:05 +0000 (19:48 +0100)]
Link to 1.x documentation in notes
Simon Brunel [Wed, 27 Apr 2016 17:42:01 +0000 (19:42 +0200)]
Fix legend tests and disable other failing tests
Evert Timberg [Wed, 27 Apr 2016 12:23:44 +0000 (08:23 -0400)]
Merge pull request #2391 from samdjstevens/master
Fix incorrect default setting in documentation
Sam Stevens [Wed, 27 Apr 2016 11:34:58 +0000 (12:34 +0100)]
change the default setting for Chart.defaults.global.title.display from true to false in the docs to match the code
Evert Timberg [Wed, 27 Apr 2016 10:50:23 +0000 (06:50 -0400)]
Merge pull request #2387 from chartjs/v2.0-dev
V2.0 dev
Simon Brunel [Tue, 26 Apr 2016 20:44:53 +0000 (22:44 +0200)]
Fix helpers, layoutService and logarithmic tests
Simon Brunel [Mon, 25 Apr 2016 17:59:32 +0000 (19:59 +0200)]
Fix bar, bubble, doughnut, and polarArea tests
Also replace the 2 spaces indentation in controller.bar.tests.js by tabs to match the overall code style.
Simon Brunel [Mon, 25 Apr 2016 23:30:59 +0000 (01:30 +0200)]
New toBeCloseToPixel jasmine matcher
Because of differences between testing platforms, introduce a new matcher for (floating) pixel values comparison (currently 2 pixels tolerance).
Simon Brunel [Mon, 25 Apr 2016 17:58:12 +0000 (19:58 +0200)]
New test helpers to acquire and release charts
Since we changed the way how meta data are stores, now unit tests need to work on real Chart instances. This commit brings some helpers to inject/cleanup HTML canvas and it's wrapper into/from the DOM.
Simon Brunel [Mon, 25 Apr 2016 17:49:49 +0000 (19:49 +0200)]
Avoid meta data access in calculateCircumference
Fix access of uninitialized meta data while calculating circumference in the polar area chart by caching the number of visible elements in the update() method. Also make the calculateTotal() of the doughnut chart tolerant of uninitialized meta data.
Simon Brunel [Sat, 23 Apr 2016 08:57:29 +0000 (10:57 +0200)]
Handle data visibility per chart
New Chart.Element.hidden bool flag storing the visibility state of its associated data. Since elements belong to a specific chart, this change allows to manage data visibility per chart (e.g. when clicking the legend of some charts).
This commit also changes (fixes?) the polar chart animation when data visibility changes. Previous implementation was affected by an edge effect due to the use of NaN as hidden implementation.