]> git.ipfire.org Git - thirdparty/Chart.js.git/log
thirdparty/Chart.js.git
9 years agoDon't draw bars that represent data that is not valid (null, undefined, or NaN) 1845/head
etimberg [Fri, 1 Jan 2016 00:32:03 +0000 (19:32 -0500)] 
Don't draw bars that represent data that is not valid (null, undefined, or NaN)

9 years agoclean up helpers file before starting work
etimberg [Thu, 31 Dec 2015 23:41:21 +0000 (18:41 -0500)] 
clean up helpers file before starting work

9 years agoMerge pull request #1842 from nnnick/v2.0-fix-browserify-webpack-support
Evert Timberg [Wed, 30 Dec 2015 16:52:26 +0000 (11:52 -0500)] 
Merge pull request #1842 from nnnick/v2.0-fix-browserify-webpack-support

Offer window alternative to `this` context.  Fixes Webspack and Browserify support

9 years agoOffer window alternative to `this` context. Fixes Webspack and Browserify support 1842/head
Tanner Linsley [Wed, 30 Dec 2015 16:43:51 +0000 (09:43 -0700)] 
Offer window alternative to `this` context.  Fixes Webspack and Browserify support

9 years agoMerge pull request #1837 from nnnick/fix/1766
Evert Timberg [Tue, 29 Dec 2015 15:16:46 +0000 (10:16 -0500)] 
Merge pull request #1837 from nnnick/fix/1766

Better fitting of scales

9 years agoMerge pull request #1836 from nnnick/fix/1740
Evert Timberg [Tue, 29 Dec 2015 15:09:54 +0000 (10:09 -0500)] 
Merge pull request #1836 from nnnick/fix/1740

Draw line at edge of scales

9 years agoClean up code 1837/head
Evert Timberg [Tue, 29 Dec 2015 14:32:40 +0000 (09:32 -0500)] 
Clean up code

9 years agoFix tests
Evert Timberg [Tue, 29 Dec 2015 14:24:09 +0000 (09:24 -0500)] 
Fix tests

9 years agoFix layout service
Evert Timberg [Mon, 28 Dec 2015 22:20:08 +0000 (17:20 -0500)] 
Fix layout service

9 years agoAlias the pixel for nicer drawing 1836/head
Evert Timberg [Mon, 28 Dec 2015 14:37:31 +0000 (09:37 -0500)] 
Alias the pixel for nicer drawing

9 years agoDraw line at edge of scales & update tests
Evert Timberg [Mon, 28 Dec 2015 14:26:59 +0000 (09:26 -0500)] 
Draw line at edge of scales & update tests

9 years agoFix some errors with docs that were noticed when building 2.0.0-beta2
Evert Timberg [Mon, 28 Dec 2015 13:29:54 +0000 (08:29 -0500)] 
Fix some errors with docs that were noticed when building

9 years agoMerge pull request #1835 from nnnick/fix/release-v2-beta2
Evert Timberg [Sun, 27 Dec 2015 16:50:05 +0000 (11:50 -0500)] 
Merge pull request #1835 from nnnick/fix/release-v2-beta2

Update build & bump version

9 years agoFix issues identified in PR 1835/head
etimberg [Sun, 27 Dec 2015 16:48:14 +0000 (11:48 -0500)] 
Fix issues identified in PR

9 years agoUpdate build & bump version
etimberg [Sun, 27 Dec 2015 15:46:08 +0000 (10:46 -0500)] 
Update build & bump version

9 years agoMerge pull request #1832 from hallatore/Bug_SuggestedMinVsMin
Evert Timberg [Fri, 25 Dec 2015 15:44:29 +0000 (10:44 -0500)] 
Merge pull request #1832 from hallatore/Bug_SuggestedMinVsMin

min/max should have precedence over suggestedMin/suggestedMax

9 years agomin/max should have precedence over suggestedMin/suggestedMax 1832/head
Tore Lervik [Fri, 25 Dec 2015 12:53:09 +0000 (13:53 +0100)] 
min/max should have precedence over suggestedMin/suggestedMax

9 years agoMerge pull request #1829 from nnnick/fix/1716-1731
Tanner Linsley [Wed, 23 Dec 2015 17:22:34 +0000 (10:22 -0700)] 
Merge pull request #1829 from nnnick/fix/1716-1731

Better tooltip positioning

9 years agoFix broken test 1829/head
Evert Timberg [Wed, 23 Dec 2015 17:00:56 +0000 (12:00 -0500)] 
Fix broken test

9 years agoMerge pull request #1826 from hallatore/Bug_BezierCurveAtZero
Evert Timberg [Wed, 23 Dec 2015 14:39:21 +0000 (09:39 -0500)] 
Merge pull request #1826 from hallatore/Bug_BezierCurveAtZero

Fixed bug with bezier still being used with tension set to 0

9 years agoFixed build error bug with getting tension 1826/head
Tore Lervik [Wed, 23 Dec 2015 14:29:25 +0000 (15:29 +0100)] 
Fixed build error bug with getting tension

9 years agoMerge pull request #1827 from hallatore/Bug_AutoSkipCheck
Evert Timberg [Wed, 23 Dec 2015 14:09:41 +0000 (09:09 -0500)] 
Merge pull request #1827 from hallatore/Bug_AutoSkipCheck

Fixed bug with skipRatio check not being triggered correctly.

9 years agoFixed bug with skipRatio check not being triggered correctly. 1827/head
Tore Lervik [Wed, 23 Dec 2015 12:42:24 +0000 (13:42 +0100)] 
Fixed bug with skipRatio check not being triggered correctly.

9 years agoFixed bug with bezier still being used with tension set to 0
Tore Lervik [Wed, 23 Dec 2015 12:36:44 +0000 (13:36 +0100)] 
Fixed bug with bezier still being used with tension set to 0

9 years agoImprovements to tooltip alignment to avoid the canvas edges
Evert Timberg [Wed, 23 Dec 2015 02:35:23 +0000 (21:35 -0500)] 
Improvements to tooltip alignment to avoid the canvas edges

9 years agoFix tests
Evert Timberg [Tue, 22 Dec 2015 14:13:02 +0000 (09:13 -0500)] 
Fix tests

9 years agoMerge pull request #1819 from xriss/v2.0-dev
Evert Timberg [Tue, 22 Dec 2015 13:44:04 +0000 (08:44 -0500)] 
Merge pull request #1819 from xriss/v2.0-dev

gulp-umd

9 years agogulp-umd 1819/head
Kriss [Tue, 22 Dec 2015 13:21:23 +0000 (13:21 +0000)] 
gulp-umd

Explicitly pass root to the factory function.

9 years agoMerge pull request #1817 from prashcr/patch-2
Evert Timberg [Tue, 22 Dec 2015 13:19:45 +0000 (08:19 -0500)] 
Merge pull request #1817 from prashcr/patch-2

Add missing comma

9 years agoMerge pull request #1816 from hallatore/Bug_AutoSkip
Evert Timberg [Tue, 22 Dec 2015 13:19:25 +0000 (08:19 -0500)] 
Merge pull request #1816 from hallatore/Bug_AutoSkip

Refactored skipRatio to use the longest label text for calculation.

9 years agoAdd missing comma 1817/head
Prashanth Chandra [Tue, 22 Dec 2015 09:50:11 +0000 (17:50 +0800)] 
Add missing comma

9 years agoMerge pull request #1815 from hallatore/Bug_firstTickUndefined
Evert Timberg [Tue, 22 Dec 2015 00:59:12 +0000 (19:59 -0500)] 
Merge pull request #1815 from hallatore/Bug_firstTickUndefined

Bug first tick undefined

9 years agoFixed broken tests 1816/head
Tore Lervik [Mon, 21 Dec 2015 22:47:38 +0000 (23:47 +0100)] 
Fixed broken tests

9 years agoRefactored out property
Tore Lervik [Mon, 21 Dec 2015 22:37:09 +0000 (23:37 +0100)] 
Refactored out property

9 years agoRefactored skipRatio to use the longest label text for calculation.
Tore Lervik [Mon, 21 Dec 2015 22:30:40 +0000 (23:30 +0100)] 
Refactored skipRatio to use the longest label text for calculation.

9 years agoFixed a typo 1815/head
Tore Lervik [Mon, 21 Dec 2015 21:43:20 +0000 (22:43 +0100)] 
Fixed a typo

9 years agoRefactored firstTick null check
Tore Lervik [Mon, 21 Dec 2015 21:40:33 +0000 (22:40 +0100)] 
Refactored firstTick null check

9 years agofirstTick and lastTick can be null if the chart is empty.
Tore Lervik [Mon, 21 Dec 2015 21:34:31 +0000 (22:34 +0100)] 
firstTick and lastTick can be null if the chart is empty.

9 years agoInitial refactor of tooltip code
Evert Timberg [Mon, 21 Dec 2015 20:52:33 +0000 (15:52 -0500)] 
Initial refactor of tooltip code

9 years agoShow rectangle points at end of bars, even negative ones.
Evert Timberg [Mon, 21 Dec 2015 20:52:19 +0000 (15:52 -0500)] 
Show rectangle points at end of bars, even negative ones.

9 years agoMerge pull request #1814 from hallatore/Bug_SuggestedMinMax
Evert Timberg [Mon, 21 Dec 2015 19:43:41 +0000 (14:43 -0500)] 
Merge pull request #1814 from hallatore/Bug_SuggestedMinMax

Have to check for undefined because "if (0.0)" would equal false.

9 years agoHave to check for undefined because "if (0.0)" would equal false. 1814/head
Tore Lervik [Mon, 21 Dec 2015 19:28:20 +0000 (20:28 +0100)] 
Have to check for undefined because "if (0.0)" would equal false.

9 years agoMerge pull request #1810 from olyckne/fix/ticks_callback
Evert Timberg [Mon, 21 Dec 2015 13:23:55 +0000 (08:23 -0500)] 
Merge pull request #1810 from olyckne/fix/ticks_callback

Fix ticks callback and auto skip

9 years agoUpdate docs 1810/head
Mattias Lyckne [Mon, 21 Dec 2015 13:21:51 +0000 (14:21 +0100)] 
Update docs

9 years agoDont set autoSkip false if userCallback is defined
Mattias Lyckne [Mon, 21 Dec 2015 12:59:29 +0000 (13:59 +0100)] 
Dont set autoSkip false if userCallback is defined

”The reason being is that the user could replace either callback or
userCallbac”

9 years agoFix tests
Mattias Lyckne [Mon, 21 Dec 2015 07:43:48 +0000 (08:43 +0100)] 
Fix tests

9 years agoMerge pull request #1808 from nnnick/fix/1737
Evert Timberg [Sun, 20 Dec 2015 23:51:24 +0000 (18:51 -0500)] 
Merge pull request #1808 from nnnick/fix/1737

Fix sizing of tooltip when beforeBody or afterBody is very long

9 years agoFix sizing of tooltip when beforeBody or afterBody is very line 1808/head
Evert Timberg [Sun, 20 Dec 2015 23:48:44 +0000 (18:48 -0500)] 
Fix sizing of tooltip when beforeBody or afterBody is very line

9 years agoUpdate built files
Evert Timberg [Sun, 20 Dec 2015 23:31:49 +0000 (18:31 -0500)] 
Update built files

9 years agoMerge pull request #1794 from nnnick/update-scale-lifecycle
Evert Timberg [Sat, 19 Dec 2015 19:29:49 +0000 (14:29 -0500)] 
Merge pull request #1794 from nnnick/update-scale-lifecycle

Update Scale Lifcycle

9 years agoMerge pull request #1802 from akagroundhog/v2.0-dev
Evert Timberg [Fri, 18 Dec 2015 22:43:07 +0000 (17:43 -0500)] 
Merge pull request #1802 from akagroundhog/v2.0-dev

xPadding/yPadding fix in 00-Getting-Started.md

9 years agoxPadding/yPadding fix in 00-Getting-Started.md 1802/head
akagroundhog [Fri, 18 Dec 2015 21:19:32 +0000 (00:19 +0300)] 
xPadding/yPadding fix in 00-Getting-Started.md

xPadding is horizontal padding (left & right), yPadding is vertical padding (top & bottom).

9 years agodisable autoSkip when there is a userCallback or autoSkip is set to false
Mattias Lyckne [Fri, 18 Dec 2015 15:18:49 +0000 (16:18 +0100)] 
disable autoSkip when there is a userCallback or autoSkip is set to false

9 years agoMerge pull request #1797 from xriss/patch-1
Evert Timberg [Thu, 17 Dec 2015 22:04:42 +0000 (17:04 -0500)] 
Merge pull request #1797 from xriss/patch-1

maxRotation test is off by one

9 years agomaxRotation test is off by one 1797/head
Kriss [Thu, 17 Dec 2015 22:00:12 +0000 (22:00 +0000)] 
maxRotation test is off by one

Most notable when maxRotation=0 and you end up with the text becoming non centred as it has rotated it by 1 and switched to right alligned mode.

9 years agoMerge pull request #1788 from nnnick/fix/extended-bars
Evert Timberg [Thu, 17 Dec 2015 14:36:15 +0000 (09:36 -0500)] 
Merge pull request #1788 from nnnick/fix/extended-bars

Better extensions of bar controllers

9 years agoUpdate check to new system + fix tests 1788/head
Evert Timberg [Thu, 17 Dec 2015 14:31:01 +0000 (09:31 -0500)] 
Update check to new system + fix tests

9 years agoSplit out data limits step of scales into it's own step. Wire up callbacks from the... 1794/head
Evert Timberg [Thu, 17 Dec 2015 14:21:04 +0000 (09:21 -0500)] 
Split out data limits step of scales into it's own step. Wire up callbacks from the options to those in the scale life-cycle. Updated the docs accordingly

9 years agoUpdated docs
etimberg [Wed, 16 Dec 2015 01:19:32 +0000 (20:19 -0500)] 
Updated docs

9 years agoBar dataset controller needs a better way to know which datasets are bars since users...
etimberg [Wed, 16 Dec 2015 01:13:37 +0000 (20:13 -0500)] 
Bar dataset controller needs a better way to know which datasets are bars since users could make their own bar types.

9 years agoMerge pull request #1787 from nnnick/fix/min-max
Evert Timberg [Wed, 16 Dec 2015 00:35:46 +0000 (19:35 -0500)] 
Merge pull request #1787 from nnnick/fix/min-max

Updates new min/max settings

9 years agoBetter test 1787/head
Evert Timberg [Wed, 16 Dec 2015 00:33:38 +0000 (19:33 -0500)] 
Better test

9 years agoFix tests
Evert Timberg [Wed, 16 Dec 2015 00:30:09 +0000 (19:30 -0500)] 
Fix tests

9 years agoUpdate logarithmic algorithm
Evert Timberg [Wed, 16 Dec 2015 00:18:18 +0000 (19:18 -0500)] 
Update logarithmic algorithm

9 years agoSlight improvement to new min/max options so that linear scales look right
Evert Timberg [Tue, 15 Dec 2015 23:58:05 +0000 (18:58 -0500)] 
Slight improvement to new min/max options so that linear scales look right

9 years agoMerge pull request #1779 from olyckne/adds_min_and_max_to_y_axes
Evert Timberg [Tue, 15 Dec 2015 02:55:17 +0000 (21:55 -0500)] 
Merge pull request #1779 from olyckne/adds_min_and_max_to_y_axes

Adds min and max setting to axes

9 years agoAdds min and max setting to axes 1779/head
Mattias Lyckne [Mon, 14 Dec 2015 07:39:11 +0000 (08:39 +0100)] 
Adds min and max setting to axes

9 years agoMerge pull request #1778 from nnnick/fix/1582
Evert Timberg [Sun, 13 Dec 2015 21:54:20 +0000 (16:54 -0500)] 
Merge pull request #1778 from nnnick/fix/1582

Update docs for polar area / doughnut charts + extending chart.js

9 years agoUpdate docs. Improved pie / polar area docs. Updated advanced docs regarding extendin... 1778/head
Evert Timberg [Sun, 13 Dec 2015 20:29:57 +0000 (15:29 -0500)] 
Update docs. Improved pie / polar area docs. Updated advanced docs regarding extending scales / chart types

9 years agoAll dataset controllers now inherit from a common base class Chart.DatasetController...
Evert Timberg [Sun, 13 Dec 2015 19:35:40 +0000 (14:35 -0500)] 
All dataset controllers now inherit from a common base class Chart.DatasetController. This makes writing external controllers much easier

9 years agoMerge pull request #1775 from nnnick/fix/1711
Evert Timberg [Sat, 12 Dec 2015 15:12:49 +0000 (10:12 -0500)] 
Merge pull request #1775 from nnnick/fix/1711

Call animation callbacks.

9 years agoCall animation callbacks. Created a sample file that shows their use by updating... 1775/head
Evert Timberg [Sat, 12 Dec 2015 15:01:08 +0000 (10:01 -0500)] 
Call animation callbacks. Created a sample file that shows their use by updating a progress bar during the animation. Updated the documentation to show how they are called.

9 years agoMerge pull request #1755 from nnnick/fix/1725
Evert Timberg [Sat, 12 Dec 2015 14:05:39 +0000 (09:05 -0500)] 
Merge pull request #1755 from nnnick/fix/1725

Build controllers before scales are updated to ensure scale IDs are correct

9 years agoMerge branch 'v2.0-dev' into fix/1725 1755/head
Evert Timberg [Sat, 12 Dec 2015 14:01:59 +0000 (09:01 -0500)] 
Merge branch 'v2.0-dev' into fix/1725

Conflicts:
src/core/core.controller.js

9 years agoMerge pull request #1774 from nnnick/fix/1762
Evert Timberg [Sat, 12 Dec 2015 13:56:10 +0000 (08:56 -0500)] 
Merge pull request #1774 from nnnick/fix/1762

Handle tension being set to 0 properly

9 years agoBetter property picking. Added a helper function so we don't have to write a complica... 1774/head
Evert Timberg [Sat, 12 Dec 2015 13:52:06 +0000 (08:52 -0500)] 
Better property picking. Added a helper function so we don't have to write a complicated ternary everywhere. Updated tests accordingly.

9 years agoMerge pull request #1750 from nnnick/v2.0-legend
Derek Perkins [Sat, 12 Dec 2015 01:52:26 +0000 (18:52 -0700)] 
Merge pull request #1750 from nnnick/v2.0-legend

Legend and Title Support

9 years agoMerge pull request #1770 from dchesterton/patch-1
Derek Perkins [Sat, 12 Dec 2015 01:51:21 +0000 (18:51 -0700)] 
Merge pull request #1770 from dchesterton/patch-1

Lowercase NPM package name

9 years agoLowercase NPM package name 1770/head
Daniel Chesterton [Fri, 11 Dec 2015 23:58:56 +0000 (23:58 +0000)] 
Lowercase NPM package name

9 years agoMerge pull request #1756 from nnnick/fix/code-climate
Evert Timberg [Wed, 9 Dec 2015 02:49:33 +0000 (21:49 -0500)] 
Merge pull request #1756 from nnnick/fix/code-climate

Fix up issues in core scale

9 years agoFix up issues in core scale 1756/head
Evert Timberg [Wed, 9 Dec 2015 01:22:02 +0000 (20:22 -0500)] 
Fix up issues in core scale

9 years agoWhen only the dataset array changes scales did not update correctly. This was due...
Evert Timberg [Wed, 9 Dec 2015 00:57:58 +0000 (19:57 -0500)] 
When only the dataset array changes scales did not update correctly. This was due to the fact that the new datasets did not have scale IDs yet. By building the controllers first, the IDs are mapped if necessary. Then we can correctly update scales.

9 years agoMerge branch 'v2.0-dev' into v2.0-legend 1750/head
Evert Timberg [Tue, 8 Dec 2015 03:10:38 +0000 (22:10 -0500)] 
Merge branch 'v2.0-dev' into v2.0-legend

Conflicts:
src/controllers/controller.doughnut.js

9 years agoBetter sizing when not displaying
Evert Timberg [Tue, 8 Dec 2015 02:58:48 +0000 (21:58 -0500)] 
Better sizing when not displaying

9 years agoUpdate docs + remove unused config option since we don't need 2 different callbacks.
Evert Timberg [Tue, 8 Dec 2015 02:52:15 +0000 (21:52 -0500)] 
Update docs + remove unused config option since we don't need 2 different callbacks.

9 years agoPolar area legend toggles data
Evert Timberg [Tue, 8 Dec 2015 02:42:58 +0000 (21:42 -0500)] 
Polar area legend toggles data

9 years agoToggling of doughnut items now works
Evert Timberg [Tue, 8 Dec 2015 02:23:20 +0000 (21:23 -0500)] 
Toggling of doughnut items now works

9 years agoUse config onClick function to toggle datasets for bars/lines/radar charts.
Evert Timberg [Tue, 8 Dec 2015 01:36:44 +0000 (20:36 -0500)] 
Use config onClick function to toggle datasets for bars/lines/radar charts.

9 years agoGenerate nice legend boxes for all current chart types
Evert Timberg [Tue, 8 Dec 2015 00:11:54 +0000 (19:11 -0500)] 
Generate nice legend boxes for all current chart types

9 years agoMerge pull request #1749 from nnnick/fix/code-climate
Evert Timberg [Mon, 7 Dec 2015 23:26:51 +0000 (18:26 -0500)] 
Merge pull request #1749 from nnnick/fix/code-climate

Fix some issues found by code climate

9 years agoFix a few more issues in the tooltips 1749/head
Evert Timberg [Mon, 7 Dec 2015 23:23:51 +0000 (18:23 -0500)] 
Fix a few more issues in the tooltips

9 years agoStart fixing code climate issues
Evert Timberg [Mon, 7 Dec 2015 23:19:56 +0000 (18:19 -0500)] 
Start fixing code climate issues

9 years agoMerge pull request #1745 from nnnick/fix/1710
Evert Timberg [Mon, 7 Dec 2015 22:46:49 +0000 (17:46 -0500)] 
Merge pull request #1745 from nnnick/fix/1710

Remove unused tooltip options

9 years agoMerge pull request #1744 from nnnick/fix/1466
Tanner Linsley [Mon, 7 Dec 2015 19:10:12 +0000 (12:10 -0700)] 
Merge pull request #1744 from nnnick/fix/1466

Time Scale Updates for Tooltips

9 years agoGenerate label strings using an option function. This allows new chart types to override
Evert Timberg [Sun, 6 Dec 2015 17:53:45 +0000 (12:53 -0500)] 
Generate label strings using an option function. This allows new chart types to override

9 years agoDocs + move defaults to correct place.
Evert Timberg [Sun, 6 Dec 2015 16:19:55 +0000 (11:19 -0500)] 
Docs + move defaults to correct place.

9 years agoSplit legend and title block functionality into 2 separate blocks. This allows the...
Evert Timberg [Sun, 6 Dec 2015 15:20:38 +0000 (10:20 -0500)] 
Split legend and title block functionality into 2 separate blocks. This allows the title to be on the top of the chart while the legend is on the bottom

9 years agoPolar are controller needs a similar update to the doughnut controller
Evert Timberg [Sun, 6 Dec 2015 15:19:09 +0000 (10:19 -0500)] 
Polar are controller needs a similar update to the doughnut controller

9 years agoRemove unused xOffset property from the tooltip. Use the multiKeyBackground. Update... 1745/head
Evert Timberg [Sun, 6 Dec 2015 14:38:19 +0000 (09:38 -0500)] 
Remove unused xOffset property from the tooltip. Use the multiKeyBackground. Update documentation accordingly.

9 years agoAdd tooltipFormat option to time scale options. 1744/head
Evert Timberg [Sat, 5 Dec 2015 21:45:31 +0000 (16:45 -0500)] 
Add tooltipFormat option to time scale options.
Fix bars when displayed on a time scale.
Updated sample files.