]> git.ipfire.org Git - thirdparty/Chart.js.git/log
thirdparty/Chart.js.git
9 years agoFix for chart title not updating 2696/head
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.

9 years agoMerge pull request #2680 from chartjs/fix/clipping
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.

9 years agoMerge pull request #2693 from ansballard/add-reference-to-chart
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

9 years agoAdded a reference to Chart within Chart for Issue #2483 2693/head
Aaron Ballard [Thu, 2 Jun 2016 21:04:33 +0000 (16:04 -0500)] 
Added a reference to Chart within Chart for Issue #2483

9 years agoUpdate Contributing Guidelines
Zach Panzarino [Thu, 2 Jun 2016 14:52:19 +0000 (10:52 -0400)] 
Update Contributing Guidelines

9 years agoadd afterDatasetDraw in correct place 2680/head
Evert Timberg [Wed, 1 Jun 2016 11:18:27 +0000 (07:18 -0400)] 
add afterDatasetDraw in correct place

9 years agoDocs on new plugin callback
Evert Timberg [Wed, 1 Jun 2016 02:28:22 +0000 (22:28 -0400)] 
Docs on new plugin callback

9 years agoRemove clipping and add plugin hooks. Zoom plugin can then do the clipping itself
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

9 years agoMerge pull request #2671 from chartjs/bubble-controller-improvements
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.

9 years agoMerge pull request #2678 from zachpanz88/doc-fix
Zach Panzarino [Tue, 31 May 2016 17:51:22 +0000 (13:51 -0400)] 
Merge pull request #2678 from zachpanz88/doc-fix

Fix doc syntax

9 years agoFix doc syntax (#2673) 2678/head
Zach Panzarino [Tue, 31 May 2016 17:50:02 +0000 (17:50 +0000)] 
Fix doc syntax (#2673)

9 years agoMerge pull request #2675 from FROGGS/patch-1
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)

9 years agoFix links to 09-Advanced.md (was 07-Advanced.md) 2675/head
Tobias Leich [Tue, 31 May 2016 13:26:34 +0000 (15:26 +0200)] 
Fix links to 09-Advanced.md (was 07-Advanced.md)

9 years agoImprove core and polar area 2671/head
Evert Timberg [Tue, 31 May 2016 01:55:58 +0000 (21:55 -0400)] 
Improve core and polar area

9 years agoPolar area controller improvements
Evert Timberg [Tue, 31 May 2016 01:42:15 +0000 (21:42 -0400)] 
Polar area controller improvements

9 years agoReduce duplicated code in doughnut controller
Evert Timberg [Tue, 31 May 2016 01:33:11 +0000 (21:33 -0400)] 
Reduce duplicated code in doughnut controller

9 years agoImprove bubble controller minification and code duplication.
Evert Timberg [Mon, 30 May 2016 23:07:31 +0000 (19:07 -0400)] 
Improve bubble controller minification and code duplication.

9 years agoMerge pull request #2668 from zachpanz88/restructure-issues
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

9 years agoChange templates for issues/PRs 2668/head
Zach Panzarino [Mon, 30 May 2016 15:37:19 +0000 (15:37 +0000)] 
Change templates for issues/PRs

9 years agoUpdate colors for chart that is created
Evert Timberg [Sun, 29 May 2016 20:30:31 +0000 (16:30 -0400)] 
Update colors for chart that is created

9 years agoMerge pull request #2661 from chartjs/tooltip-improvements-and-tests
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

9 years agoMerge pull request #2664 from chartjs/fix/1980-and-2662
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

9 years agoUpdate radial linear scale docs 2664/head
Evert Timberg [Sun, 29 May 2016 14:31:58 +0000 (10:31 -0400)] 
Update radial linear scale docs

9 years agoLinear and RadialLinear scales now derive from a common base class
Evert Timberg [Sun, 29 May 2016 14:16:47 +0000 (10:16 -0400)] 
Linear and RadialLinear scales now derive from a common base class

9 years agoMerge branch 'tooltip-improvements-and-tests' of https://github.com/nnnick/Chart... 2661/head
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

9 years agoImprove testing on the CI
Evert Timberg [Sun, 29 May 2016 00:55:20 +0000 (20:55 -0400)] 
Improve testing on the CI

9 years agoFix CI & JShint issues
Evert Timberg [Sun, 29 May 2016 01:01:10 +0000 (21:01 -0400)] 
Fix CI & JShint issues

9 years agoImprove testing on CI
Evert Timberg [Sun, 29 May 2016 00:55:20 +0000 (20:55 -0400)] 
Improve testing on CI

9 years agoAdd a way of sorting tooltip items with a custom sort function
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

9 years agoImprove tooltip minification
Evert Timberg [Sat, 28 May 2016 23:39:15 +0000 (19:39 -0400)] 
Improve tooltip minification

9 years agoInitial tooltip tests + fix a bug when the tooltip beforeLabel and afterLabel callbac...
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

9 years agoMerge pull request #2657 from chartjs/tooltip-color-callback
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

9 years agoMerge pull request #2660 from chartjs/fix/2613
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.

9 years agoWhen destroying the chart, any animations should be stopped. 2660/head
Evert Timberg [Sat, 28 May 2016 15:05:02 +0000 (11:05 -0400)] 
When destroying the chart, any animations should be stopped.

9 years agoMerge pull request #2658 from chartjs/fix/2580
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

9 years agoMerge pull request #2659 from chartjs/fix/2639
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

9 years agoFix pie custom tooltip sample 2659/head
Evert Timberg [Sat, 28 May 2016 14:48:33 +0000 (10:48 -0400)] 
Fix pie custom tooltip sample

9 years agoAllow turning off lines on a per dataset basis 2658/head
Evert Timberg [Sat, 28 May 2016 02:20:51 +0000 (22:20 -0400)] 
Allow turning off lines on a per dataset basis

9 years agoMerge pull request #2640 from chartjs/legend-and-title-as-plugins
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

9 years agoTooltip now has a callback for configuring the colors of items displayed. Added docs... 2657/head
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

9 years agoMerge pull request #2649 from chartjs/fix/2647
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

9 years agoLine points need always need to pivot after regardless of whether or not bezier point... 2649/head
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.

9 years agoMerge pull request #2648 from chartjs/fix/2607
Evert Timberg [Thu, 26 May 2016 23:42:37 +0000 (19:42 -0400)] 
Merge pull request #2648 from chartjs/fix/2607

Don't use translates and rotates for drawing rotated rectangles

9 years agoDon't use translates and rotates for drawing rotated rectangles 2648/head
Evert Timberg [Thu, 26 May 2016 23:38:27 +0000 (19:38 -0400)] 
Don't use translates and rotates for drawing rotated rectangles

9 years agoFix tests 2640/head
Evert Timberg [Thu, 26 May 2016 23:22:11 +0000 (19:22 -0400)] 
Fix tests

9 years ago2.1.4 release v2.1.4
Evert Timberg [Thu, 26 May 2016 22:43:39 +0000 (18:43 -0400)] 
2.1.4 release

9 years agoMerge pull request #2645 from Rowno/patch-1
Evert Timberg [Thu, 26 May 2016 21:51:27 +0000 (17:51 -0400)] 
Merge pull request #2645 from Rowno/patch-1

docs: fix the bar chart default axis id's

9 years agodocs: fix the bar chart default axis id's 2645/head
Roland Warmerdam [Thu, 26 May 2016 21:38:53 +0000 (14:38 -0700)] 
docs: fix the bar chart default axis id's

9 years agoRemove unused code from core controller.
Evert Timberg [Thu, 26 May 2016 01:30:22 +0000 (21:30 -0400)] 
Remove unused code from core controller.

9 years agoConvert title block to a plugin
Evert Timberg [Thu, 26 May 2016 01:28:02 +0000 (21:28 -0400)] 
Convert title block to a plugin

9 years agoLegend is attached to the graph as a plugin.
Evert Timberg [Thu, 26 May 2016 01:23:46 +0000 (21:23 -0400)] 
Legend is attached to the graph as a plugin.

9 years agoMerge pull request #2625 from chartjs/fix/2344
Evert Timberg [Wed, 25 May 2016 22:50:32 +0000 (18:50 -0400)] 
Merge pull request #2625 from chartjs/fix/2344

Start on Documentation Update

9 years agoMerge branch 'master' into fix/2344 2625/head
Evert Timberg [Wed, 25 May 2016 22:43:35 +0000 (18:43 -0400)] 
Merge branch 'master' into fix/2344

9 years agoFix scale typos
Evert Timberg [Wed, 25 May 2016 22:37:07 +0000 (18:37 -0400)] 
Fix scale typos

9 years agoFix #2418 Firefox old version compatibility
Simon Brunel [Tue, 24 May 2016 22:04:59 +0000 (00:04 +0200)] 
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.

9 years agoThis fixes documentation issue #2628
Vanderhoven Nick [Wed, 25 May 2016 09:03:50 +0000 (11:03 +0200)] 
This fixes documentation issue #2628

9 years agoDecomplexify Chart.core.controller.eventHandler
Simon Brunel [Sat, 21 May 2016 22:21:59 +0000 (00:21 +0200)] 
Decomplexify Chart.core.controller.eventHandler

Refactor redundant code, use local variables and introduce a new helper to compare arrays (Chart.helpers.arrayEquals).

9 years agoRefactor controller scale methods
Simon Brunel [Sat, 21 May 2016 20:53:58 +0000 (22:53 +0200)] 
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.

9 years agoRefactor addElements and addElementAndReset
Simon Brunel [Fri, 20 May 2016 21:42:24 +0000 (23:42 +0200)] 
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.).

9 years agoRefactor scale base pixel and point calculation.
Simon Brunel [Fri, 20 May 2016 18:17:28 +0000 (20:17 +0200)] 
Refactor scale base pixel and point calculation.

9 years agoClean up gulpfile even more
Zach Panzarino [Tue, 24 May 2016 15:04:20 +0000 (15:04 +0000)] 
Clean up gulpfile even more

9 years agoClean up gulpfile
Zach Panzarino [Tue, 24 May 2016 13:02:02 +0000 (13:02 +0000)] 
Clean up gulpfile

9 years agoHelpers improvements
Evert Timberg [Sat, 14 May 2016 19:59:40 +0000 (15:59 -0400)] 
Helpers improvements

9 years agoThis fixes #2589
Hagen Schulze [Wed, 18 May 2016 18:42:54 +0000 (20:42 +0200)] 
This fixes #2589

9 years agoImprove line chart docs
Evert Timberg [Wed, 25 May 2016 22:27:57 +0000 (18:27 -0400)] 
Improve line chart docs

9 years agoScale docs
Evert Timberg [Sat, 21 May 2016 01:03:59 +0000 (21:03 -0400)] 
Scale docs

9 years agoImprove configuration options
Evert Timberg [Thu, 19 May 2016 02:49:20 +0000 (22:49 -0400)] 
Improve configuration options

9 years agoMerge pull request #2637 from simonbrunel/fix/2418
Evert Timberg [Wed, 25 May 2016 21:44:38 +0000 (17:44 -0400)] 
Merge pull request #2637 from simonbrunel/fix/2418

Fix #2418 Firefox old version compatibility

9 years agoFix #2418 Firefox old version compatibility 2637/head
Simon Brunel [Tue, 24 May 2016 22:04:59 +0000 (00:04 +0200)] 
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.

9 years agoMerge pull request #2629 from nvdh/master
Evert Timberg [Wed, 25 May 2016 13:03:14 +0000 (09:03 -0400)] 
Merge pull request #2629 from nvdh/master

Fix for documentation issue #2628

9 years agoThis fixes documentation issue #2628 2629/head
Vanderhoven Nick [Wed, 25 May 2016 09:03:50 +0000 (11:03 +0200)] 
This fixes documentation issue #2628

9 years agoMerge pull request #2612 from simonbrunel/refactor
Evert Timberg [Wed, 25 May 2016 01:30:10 +0000 (21:30 -0400)] 
Merge pull request #2612 from simonbrunel/refactor

Refactor and clean up

9 years agoClean up gulpfile even more
Zach Panzarino [Tue, 24 May 2016 15:04:20 +0000 (15:04 +0000)] 
Clean up gulpfile even more

9 years agoMerge pull request #2620 from zachpanz88/code-climate
Evert Timberg [Tue, 24 May 2016 13:24:05 +0000 (09:24 -0400)] 
Merge pull request #2620 from zachpanz88/code-climate

Clean up gulpfile

9 years agoClean up gulpfile 2620/head
Zach Panzarino [Tue, 24 May 2016 13:02:02 +0000 (13:02 +0000)] 
Clean up gulpfile

9 years agoDecomplexify Chart.core.controller.eventHandler 2612/head
Simon Brunel [Sat, 21 May 2016 22:21:59 +0000 (00:21 +0200)] 
Decomplexify Chart.core.controller.eventHandler

Refactor redundant code, use local variables and introduce a new helper to compare arrays (Chart.helpers.arrayEquals).

9 years agoRefactor controller scale methods
Simon Brunel [Sat, 21 May 2016 20:53:58 +0000 (22:53 +0200)] 
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.

9 years agoRefactor addElements and addElementAndReset
Simon Brunel [Fri, 20 May 2016 21:42:24 +0000 (23:42 +0200)] 
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.).

9 years agoRefactor scale base pixel and point calculation.
Simon Brunel [Fri, 20 May 2016 18:17:28 +0000 (20:17 +0200)] 
Refactor scale base pixel and point calculation.

9 years agoMerge pull request #2551 from chartjs/helper-perf-and-minification
Simon Brunel [Thu, 19 May 2016 17:51:06 +0000 (19:51 +0200)] 
Merge pull request #2551 from chartjs/helper-perf-and-minification

Helpers improvements

9 years agoMerge pull request #2590 from haschu/fix/2589
Evert Timberg [Thu, 19 May 2016 11:02:58 +0000 (07:02 -0400)] 
Merge pull request #2590 from haschu/fix/2589

This fixes #2589

9 years agoFix section capitalization
Evert Timberg [Thu, 19 May 2016 02:44:33 +0000 (22:44 -0400)] 
Fix section capitalization

9 years agoMerge pull request #2597 from chartjs/fix/2593
Evert Timberg [Thu, 19 May 2016 02:15:19 +0000 (22:15 -0400)] 
Merge pull request #2597 from chartjs/fix/2593

Update initial sample with colours

9 years agoUpdate initial sample with colours 2597/head
Evert Timberg [Thu, 19 May 2016 02:10:20 +0000 (22:10 -0400)] 
Update initial sample with colours

9 years agoMerge pull request #2596 from chartjs/fix/2406
Evert Timberg [Thu, 19 May 2016 01:46:42 +0000 (21:46 -0400)] 
Merge pull request #2596 from chartjs/fix/2406

Give the doughnut sample the correct color label

9 years agoMerge pull request #2595 from chartjs/fix/2288
Evert Timberg [Thu, 19 May 2016 01:46:21 +0000 (21:46 -0400)] 
Merge pull request #2595 from chartjs/fix/2288

Add a note about selecting the correct build

9 years agoGive the doughnut sample the correct color label 2596/head
Evert Timberg [Thu, 19 May 2016 01:43:01 +0000 (21:43 -0400)] 
Give the doughnut sample the correct color label

9 years agoAdd a note about selecting the correct build that describes what the bundled versions do. 2595/head
Evert Timberg [Thu, 19 May 2016 01:31:51 +0000 (21:31 -0400)] 
Add a note about selecting the correct build that describes what the bundled versions do.

9 years agoMerge pull request #2594 from chartjs/fix/2361
Evert Timberg [Thu, 19 May 2016 01:17:35 +0000 (21:17 -0400)] 
Merge pull request #2594 from chartjs/fix/2361

Bubble Chart documentation

9 years agoBubble chart docs 2594/head
Evert Timberg [Thu, 19 May 2016 01:05:20 +0000 (21:05 -0400)] 
Bubble chart docs

9 years agoAdd new file for bubble chart docs
Evert Timberg [Wed, 18 May 2016 23:15:11 +0000 (19:15 -0400)] 
Add new file for bubble chart docs

9 years agoThis fixes #2584 (#2592)
haschu [Wed, 18 May 2016 22:20:06 +0000 (00:20 +0200)] 
This fixes #2584 (#2592)

Improve scale auto-skipper when labels are not rotated

9 years agoMerge pull request #2567 from adileo/master
Evert Timberg [Wed, 18 May 2016 21:51:49 +0000 (17:51 -0400)] 
Merge pull request #2567 from adileo/master

Fixed tooltip not showing in NULL datapoint in multi line chart

9 years agoMerge pull request #2578 from simonbrunel/optimizations
Evert Timberg [Wed, 18 May 2016 21:51:37 +0000 (17:51 -0400)] 
Merge pull request #2578 from simonbrunel/optimizations

Point element and line controller optimizations

9 years agoThis fixes #2589 2590/head
Hagen Schulze [Wed, 18 May 2016 18:42:54 +0000 (20:42 +0200)] 
This fixes #2589

9 years agoMerge pull request #2588 from AllenJB/patch-1
Evert Timberg [Wed, 18 May 2016 17:59:33 +0000 (13:59 -0400)] 
Merge pull request #2588 from AllenJB/patch-1

Fix handling of moments by scale.getRightValue

9 years agoFix handling of moments by scale.getRightValue 2588/head
AllenJB [Wed, 18 May 2016 16:38:20 +0000 (17:38 +0100)] 
Fix handling of moments by scale.getRightValue

When using {x: moment, y: value} datapoints

9 years agoAdd BrowserStack mention to readme and website
Zach Panzarino [Wed, 18 May 2016 12:32:09 +0000 (12:32 +0000)] 
Add BrowserStack mention to readme and website

9 years agoOptimize element.point and controller.line 2578/head
Simon Brunel [Tue, 17 May 2016 11:32:40 +0000 (13:32 +0200)] 
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).

9 years agoMerge pull request #2569 from chartjs/fix/2216
Evert Timberg [Tue, 17 May 2016 22:04:23 +0000 (18:04 -0400)] 
Merge pull request #2569 from chartjs/fix/2216

Improve bar sizing