]>
git.ipfire.org Git - thirdparty/Chart.js.git/log
Evert Timberg [Tue, 21 Jun 2016 22:45:22 +0000 (18:45 -0400)]
Gracefully handle creating the chart with no config
Evert Timberg [Mon, 20 Jun 2016 18:42:59 +0000 (14:42 -0400)]
Merge pull request #2800 from simonbrunel/#2734
#2734 Fix JSHint warnings
Simon Brunel [Sat, 18 Jun 2016 09:15:25 +0000 (11:15 +0200)]
Remove duplicated function names
Simon Brunel [Sat, 18 Jun 2016 09:00:11 +0000 (11:00 +0200)]
Fix #2734 Cleanup unused variables
Evert Timberg [Tue, 14 Jun 2016 23:32:24 +0000 (19:32 -0400)]
V2.1.6 with tooltip array fix
Evert Timberg [Tue, 14 Jun 2016 23:31:10 +0000 (19:31 -0400)]
Merge pull request #2776 from chartjs/fix/2775
fix tooltip with array returns
Evert Timberg [Tue, 14 Jun 2016 23:19:15 +0000 (19:19 -0400)]
fix tooltip with array returns
Evert Timberg [Sun, 12 Jun 2016 17:21:06 +0000 (13:21 -0400)]
Merge pull request #2760 from chartjs/2.1.5_release
Bump version to 2.1.5 and build
Evert Timberg [Sun, 12 Jun 2016 17:14:56 +0000 (13:14 -0400)]
Bump version to 2.1.5 and build
Evert Timberg [Sun, 12 Jun 2016 16:18:27 +0000 (12:18 -0400)]
Merge pull request #2758 from chartjs/fix/zoom-curved-lines
Do not cap bezier control point locations
Evert Timberg [Sun, 12 Jun 2016 13:19:33 +0000 (09:19 -0400)]
Capping these to the chart bounds causes lines to bend during pan and zoom
Evert Timberg [Sat, 11 Jun 2016 14:45:31 +0000 (10:45 -0400)]
Merge pull request #2755 from chartjs/fix/2751
Fix pointLabel docs typo
Evert Timberg [Sat, 11 Jun 2016 13:24:55 +0000 (09:24 -0400)]
Fix pointLabel docs typo
Evert Timberg [Sat, 11 Jun 2016 12:42:23 +0000 (08:42 -0400)]
Merge pull request #2752 from simonbrunel/plugins-arch
Plugins Enhancement
Simon Brunel [Fri, 10 Jun 2016 22:14:27 +0000 (00:14 +0200)]
New datasets update plugin extensions
Add `beforeDatasetsUpdate` and `afterDatasetsUpdate` plugin notifications during the chart update. Plugins are able to cancel the datasets update by explicitly returning false to `beforeDatasetsUpdate`. For consistency, rename `(before|after)DatasetDraw` to `(before|after)DatasetsDraw`.
Simon Brunel [Fri, 10 Jun 2016 20:27:06 +0000 (22:27 +0200)]
Allow to register/unregister an array of plugins
The plugins service now accepts an array of plugin instances to register or unregister (for consistency, renamed `Chart.plugins.remove` to `unregister`). Also added a few methods to manipulate registered plugins, such as `count`, `getAll` and `clear` (mainly used by our unit tests).
Simon Brunel [Fri, 10 Jun 2016 20:26:55 +0000 (22:26 +0200)]
Enhance plugin notification system
Change the plugin notification behavior: this method now returns false as soon as a plugin *explicitly* returns false, else returns true. Also, plugins are now called in their own scope (so remove the never used `scope` parameter).
Simon Brunel [Fri, 10 Jun 2016 20:26:35 +0000 (22:26 +0200)]
Rename plugin service and notification method
Rename `Chart.pluginService` to `Chart.plugins` (so move the old Chart.plugins array as a private member of the service), and rename `notifyPlugins` to `notify` for consistency with other service methods.
Zach Panzarino [Fri, 10 Jun 2016 15:00:17 +0000 (15:00 +0000)]
Remove link that doesn't exist anymore in scale docs
Evert Timberg [Thu, 9 Jun 2016 22:36:26 +0000 (18:36 -0400)]
Merge pull request #2739 from msimulcik/master
Fix of radial linear scale font family settings bug
Evert Timberg [Thu, 9 Jun 2016 22:35:48 +0000 (18:35 -0400)]
Merge pull request #2732 from chartjs/scale-colors-per-line
Scale colors per line
Evert Timberg [Thu, 9 Jun 2016 22:35:29 +0000 (18:35 -0400)]
Merge pull request #2723 from chartjs/vertical-legend
Vertical legend
Miroslav Simulcik [Thu, 9 Jun 2016 07:34:09 +0000 (09:34 +0200)]
Revert "Fixed radial linear scale font family settings bug"
This reverts commit
6e3c6c05ad41c08fecffcfa468482036119c5267 .
Evert Timberg [Thu, 9 Jun 2016 00:08:44 +0000 (20:08 -0400)]
Merge pull request #2712 from simonbrunel/helpers-cleanup
Rewrite a few helpers to be more efficient
Evert Timberg [Wed, 8 Jun 2016 15:15:12 +0000 (11:15 -0400)]
Merge pull request #2730 from duerahan/master
Tooltip options fontColor fixed
Jack Valentine [Wed, 8 Jun 2016 15:04:20 +0000 (00:04 +0900)]
ChartJS tooltip fontColor fix
fixed global variable name fix
callback variable name fix
- 'titleColor' to 'titleFontColor'
- 'bodyColor' to 'bodyFontColor'
- 'footerColor' to 'footerFontColor'
Jack Valentine [Wed, 8 Jun 2016 14:15:21 +0000 (23:15 +0900)]
titleColor options is not available
titleColor change to titleFontColor
Jack Valentine [Wed, 8 Jun 2016 14:01:41 +0000 (23:01 +0900)]
core tooltip test case fixe
titleColor options is not available
titleColor change to titleFontColor
Miroslav Simulcik [Wed, 8 Jun 2016 13:21:54 +0000 (15:21 +0200)]
Fixed radial linear scale font family settings bug
Evert Timberg [Wed, 8 Jun 2016 01:32:26 +0000 (21:32 -0400)]
Reduce duplicated code in core scale draw method
문승찬 [Wed, 8 Jun 2016 01:22:47 +0000 (10:22 +0900)]
Fix tooltip core test case
Change tooltip font color options
this options changed in tooltip core
bodyColor -> bodyFontColor
titleColor -> titleFontColor
footerColor -> footerFontColor
문승찬 [Wed, 8 Jun 2016 01:16:38 +0000 (10:16 +0900)]
change tooltip font color option
bodyColor -> bodyFontColor
titleColor -> titleFontColor
footerColor -> footerFontColor
Evert Timberg [Wed, 8 Jun 2016 00:22:06 +0000 (20:22 -0400)]
Support arrays of colors and line widths in cartesian axes
Evert Timberg [Wed, 8 Jun 2016 00:09:33 +0000 (20:09 -0400)]
Radial linear scale array properties for line width and color
Evert Timberg [Tue, 7 Jun 2016 12:53:34 +0000 (08:53 -0400)]
Merge pull request #2724 from rawliving-germany/master
fix typo in tooltip conf doc.
Ryan M. Poe [Tue, 7 Jun 2016 07:15:26 +0000 (03:15 -0400)]
Refactor spanGaps for line graphs with sparse data (#2721)
Fix #2435, this very slim patch (including its relevant documentation addition) adds a small option to line chart datasets (spanGaps) that allows users trying to graph sparse datasets to have lines between null entries drawn, rather than omitted.
Felix Wolfsteller [Tue, 7 Jun 2016 05:46:13 +0000 (07:46 +0200)]
fix typo in tooltip conf doc.
Evert Timberg [Tue, 7 Jun 2016 02:14:42 +0000 (22:14 -0400)]
Optimize legend drawing
Evert Timberg [Tue, 7 Jun 2016 01:41:40 +0000 (21:41 -0400)]
Initial vertical legend mode
Evert Timberg [Mon, 6 Jun 2016 14:14:59 +0000 (10:14 -0400)]
Merge pull request #2716 from thebenedict/master
Make canvas element display: block by default, with config option to …
thebenedict [Mon, 6 Jun 2016 14:05:44 +0000 (17:05 +0300)]
style canvas element `display: block` by default
Simon Brunel [Sun, 5 Jun 2016 20:40:29 +0000 (22:40 +0200)]
Rewrite a few helpers to be more efficient
Resolve at definition time if a browser built-in method or our polyfill should be used, so avoid checking it for each call. Also, `helpers.extend` doesn't need to iterate two times on the function arguments. Finally, remove helpers never referenced.
Evert Timberg [Sun, 5 Jun 2016 12:56:05 +0000 (08:56 -0400)]
Merge pull request #2711 from simonbrunel/bundle-collapser
Use bundle-collapser to reduce build size
Simon Brunel [Sun, 29 May 2016 14:56:10 +0000 (16:56 +0200)]
Use bundle-collapser to reduce build size
This browserify plugin converts required string paths to int (see https://github.com/substack/bundle-collapser), lowering our *.min.js by ~1.8KB.
Evert Timberg [Sun, 5 Jun 2016 00:49:49 +0000 (20:49 -0400)]
Merge pull request #2706 from sassomedia/master_updateBuildAMD
Amend build task with flag for AMD compatible builds (#2298)
Evert Timberg [Sun, 5 Jun 2016 00:49:19 +0000 (20:49 -0400)]
Merge branch 'Tarqwyn-multiline_labels'
Evert Timberg [Sun, 5 Jun 2016 00:48:26 +0000 (20:48 -0400)]
Merge branch 'multiline_labels' of https://github.com/Tarqwyn/Chart.js into Tarqwyn-multiline_labels
Conflicts:
src/core/core.scale.js
Evert Timberg [Sat, 4 Jun 2016 22:25:14 +0000 (18:25 -0400)]
Merge pull request #2695 from zachpanz88/this-rename
Rename `this` keyword
zachpanz88 [Sat, 4 Jun 2016 18:16:35 +0000 (14:16 -0400)]
Update this -> me with master
zachpanz88 [Sat, 4 Jun 2016 18:14:16 +0000 (14:14 -0400)]
Change this -> me in source files
This change allows for smaller minified code in the final version, resulting in a smaller file size. Some files had previously used _this, but that has been changed to me to keep consistency throughout the project.
Evert Timberg [Sat, 4 Jun 2016 14:51:29 +0000 (10:51 -0400)]
Merge pull request #2696 from NoelOConnell/master
Fix for chart title not updating
Evert Timberg [Sat, 4 Jun 2016 14:47:15 +0000 (10:47 -0400)]
Merge pull request #2698 from dennybiasiolli/fix_label_fillstyle
legend: fix rendering in browsers other than Chrome
Eric D. Lewis [Fri, 3 Jun 2016 21:19:29 +0000 (17:19 -0400)]
Amend build task with flag for AMD compatible builds (#2298)
Evert Timberg [Fri, 3 Jun 2016 22:27:26 +0000 (18:27 -0400)]
Merge pull request #2694 from chartjs/fix/2689
Add a way to know when a resize occurs.
Tarqwyn [Fri, 3 Jun 2016 19:15:29 +0000 (20:15 +0100)]
Suggested changes from PR review
Changes to be committed:
modified: docs/02-Scales.md
modified: src/core/core.helpers.js
modified: src/core/core.scale.js
modified: test/core.helpers.tests.js
Tarqwyn [Fri, 3 Jun 2016 16:01:52 +0000 (17:01 +0100)]
This PR allows for multi-line labels, as per Slack discussion..
Usage: If a label is an `array` as opposed to a `string` i.e. `[["June","2015"], "July"]` then each element is treated as a seperate line. The appropriate calculations are made to determine the correct height and width, and rotation is still supported.
view samples/line-multiline-labels.html to see it working.
On branch multiline_labels
Changes to be committed:
modified: docs/03-Line-Chart.md
new file: samples/line-multiline-labels.html
modified: src/core/core.helpers.js
modified: src/core/core.scale.js
Denny Biasiolli [Fri, 3 Jun 2016 08:49:06 +0000 (10:49 +0200)]
legend: fix rendering in browsers other than Chrome when dataset.backgroundColor is Array
Noel [Fri, 3 Jun 2016 08:07:14 +0000 (09:07 +0100)]
Fix for chart title not updating
https://github.com/chartjs/Chart.js/issues/2686
Chart options were using a cache value from initialize function.
Now updating values in the beforeUpdate lifecycle.
Evert Timberg [Fri, 3 Jun 2016 00:43:38 +0000 (20:43 -0400)]
Add a way to know when a resize occurs.
Evert Timberg [Fri, 3 Jun 2016 00:35:39 +0000 (20:35 -0400)]
Merge pull request #2680 from chartjs/fix/clipping
Remove clipping and add plugin hooks.
Evert Timberg [Fri, 3 Jun 2016 00:25:53 +0000 (20:25 -0400)]
Merge pull request #2693 from ansballard/add-reference-to-chart
Added a reference to Chart within Chart for Issue #2483
Aaron Ballard [Thu, 2 Jun 2016 21:04:33 +0000 (16:04 -0500)]
Added a reference to Chart within Chart for Issue #2483
Zach Panzarino [Thu, 2 Jun 2016 14:52:19 +0000 (10:52 -0400)]
Update Contributing Guidelines
Evert Timberg [Wed, 1 Jun 2016 11:18:27 +0000 (07:18 -0400)]
add afterDatasetDraw in correct place
Evert Timberg [Wed, 1 Jun 2016 02:28:22 +0000 (22:28 -0400)]
Docs on new plugin callback
Evert Timberg [Wed, 1 Jun 2016 02:16:29 +0000 (22:16 -0400)]
Remove clipping and add plugin hooks. Zoom plugin can then do the clipping itself
Evert Timberg [Wed, 1 Jun 2016 02:01:09 +0000 (22:01 -0400)]
Merge pull request #2671 from chartjs/bubble-controller-improvements
Improve bubble, doughnut, and polar area controller minification and code duplication.
Zach Panzarino [Tue, 31 May 2016 17:51:22 +0000 (13:51 -0400)]
Merge pull request #2678 from zachpanz88/doc-fix
Fix doc syntax
Zach Panzarino [Tue, 31 May 2016 17:50:02 +0000 (17:50 +0000)]
Fix doc syntax (#2673)
Evert Timberg [Tue, 31 May 2016 15:52:51 +0000 (11:52 -0400)]
Merge pull request #2675 from FROGGS/patch-1
Fix links to 09-Advanced.md (was 07-Advanced.md)
Tobias Leich [Tue, 31 May 2016 13:26:34 +0000 (15:26 +0200)]
Fix links to 09-Advanced.md (was 07-Advanced.md)
Evert Timberg [Tue, 31 May 2016 01:55:58 +0000 (21:55 -0400)]
Improve core and polar area
Evert Timberg [Tue, 31 May 2016 01:42:15 +0000 (21:42 -0400)]
Polar area controller improvements
Evert Timberg [Tue, 31 May 2016 01:33:11 +0000 (21:33 -0400)]
Reduce duplicated code in doughnut controller
Evert Timberg [Mon, 30 May 2016 23:07:31 +0000 (19:07 -0400)]
Improve bubble controller minification and code duplication.
Evert Timberg [Mon, 30 May 2016 15:46:05 +0000 (11:46 -0400)]
Merge pull request #2668 from zachpanz88/restructure-issues
Change templates for issues/PRs
Zach Panzarino [Mon, 30 May 2016 15:37:19 +0000 (15:37 +0000)]
Change templates for issues/PRs
Evert Timberg [Sun, 29 May 2016 20:30:31 +0000 (16:30 -0400)]
Update colors for chart that is created
Evert Timberg [Sun, 29 May 2016 16:10:30 +0000 (12:10 -0400)]
Merge pull request #2661 from chartjs/tooltip-improvements-and-tests
Improve tooltip performance and added new options
Evert Timberg [Sun, 29 May 2016 14:49:00 +0000 (10:49 -0400)]
Merge pull request #2664 from chartjs/fix/1980-and-2662
Linear and RadialLinear scales now derive from a common base class
Evert Timberg [Sun, 29 May 2016 14:31:58 +0000 (10:31 -0400)]
Update radial linear scale docs
Evert Timberg [Sun, 29 May 2016 14:16:47 +0000 (10:16 -0400)]
Linear and RadialLinear scales now derive from a common base class
Evert Timberg [Sun, 29 May 2016 01:17:30 +0000 (21:17 -0400)]
Merge branch 'tooltip-improvements-and-tests' of https://github.com/nnnick/Chart.js into tooltip-improvements-and-tests
Conflicts:
test/core.tooltip.tests.js
Evert Timberg [Sun, 29 May 2016 00:55:20 +0000 (20:55 -0400)]
Improve testing on the CI
Evert Timberg [Sun, 29 May 2016 01:01:10 +0000 (21:01 -0400)]
Fix CI & JShint issues
Evert Timberg [Sun, 29 May 2016 00:55:20 +0000 (20:55 -0400)]
Improve testing on CI
Evert Timberg [Sun, 29 May 2016 00:47:36 +0000 (20:47 -0400)]
Add a way of sorting tooltip items with a custom sort function
Evert Timberg [Sat, 28 May 2016 23:39:15 +0000 (19:39 -0400)]
Improve tooltip minification
Evert Timberg [Sat, 28 May 2016 19:26:46 +0000 (15:26 -0400)]
Initial tooltip tests + fix a bug when the tooltip beforeLabel and afterLabel callbacks returned strings
Evert Timberg [Sat, 28 May 2016 16:14:27 +0000 (12:14 -0400)]
Merge pull request #2657 from chartjs/tooltip-color-callback
Provide a way to configure the colour of tooltip items
Evert Timberg [Sat, 28 May 2016 15:26:09 +0000 (11:26 -0400)]
Merge pull request #2660 from chartjs/fix/2613
When destroying the chart, any animations should be stopped.
Evert Timberg [Sat, 28 May 2016 15:05:02 +0000 (11:05 -0400)]
When destroying the chart, any animations should be stopped.
Evert Timberg [Sat, 28 May 2016 14:56:25 +0000 (10:56 -0400)]
Merge pull request #2658 from chartjs/fix/2580
Allow turning off lines on a per dataset basis
Evert Timberg [Sat, 28 May 2016 14:52:42 +0000 (10:52 -0400)]
Merge pull request #2659 from chartjs/fix/2639
Fix pie custom tooltip sample
Evert Timberg [Sat, 28 May 2016 14:48:33 +0000 (10:48 -0400)]
Fix pie custom tooltip sample
Evert Timberg [Sat, 28 May 2016 02:20:51 +0000 (22:20 -0400)]
Allow turning off lines on a per dataset basis
Evert Timberg [Sat, 28 May 2016 01:19:28 +0000 (21:19 -0400)]
Merge pull request #2640 from chartjs/legend-and-title-as-plugins
Legend and title as plugins
Evert Timberg [Sat, 28 May 2016 01:07:02 +0000 (21:07 -0400)]
Tooltip now has a callback for configuring the colors of items displayed. Added docs and improved the options passed to the tooltip
Evert Timberg [Fri, 27 May 2016 00:23:10 +0000 (20:23 -0400)]
Merge pull request #2649 from chartjs/fix/2647
Line points always need to pivot
Evert Timberg [Fri, 27 May 2016 00:02:46 +0000 (20:02 -0400)]
Line points need always need to pivot after regardless of whether or not bezier points are updated. Bezier points should only be updated if the line tension is not 0.