]> git.ipfire.org Git - thirdparty/Chart.js.git/log
thirdparty/Chart.js.git
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 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 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.

9 years agoMove time sample files to sub folder
Evert Timberg [Sat, 5 Dec 2015 15:54:45 +0000 (10:54 -0500)] 
Move time sample files to sub folder

9 years agoMerge pull request #1743 from nnnick/fix/1576
Evert Timberg [Sat, 5 Dec 2015 15:44:24 +0000 (10:44 -0500)] 
Merge pull request #1743 from nnnick/fix/1576

Gracefully handle setting `options.animation` to `false`

9 years agoGracefully handle setting `options.animation` to `false` which occurs when migrating... 1743/head
Evert Timberg [Sat, 5 Dec 2015 15:40:05 +0000 (10:40 -0500)] 
Gracefully handle setting `options.animation` to `false` which occurs when migrating configs from v1.

9 years agoMerge pull request #1738 from nnnick/fix/1735
Evert Timberg [Sat, 5 Dec 2015 15:01:15 +0000 (10:01 -0500)] 
Merge pull request #1738 from nnnick/fix/1735

Call `beforeBody` and `afterBody` using the correct function.

9 years agoMerge pull request #1741 from nnnick/fix/1706
Evert Timberg [Sat, 5 Dec 2015 15:01:03 +0000 (10:01 -0500)] 
Merge pull request #1741 from nnnick/fix/1706

Highlight correct items in dataset mode

9 years agoMerge pull request #1742 from nnnick/fix/1715
Evert Timberg [Sat, 5 Dec 2015 15:00:45 +0000 (10:00 -0500)] 
Merge pull request #1742 from nnnick/fix/1715

Fixes rotational animation of new arcs

9 years agoFix tests 1742/head
Evert Timberg [Sat, 5 Dec 2015 14:55:17 +0000 (09:55 -0500)] 
Fix tests

9 years agoMake sure we always have a valid end angle when reseting the model. Previously this...
Evert Timberg [Sat, 5 Dec 2015 14:39:25 +0000 (09:39 -0500)] 
Make sure we always have a valid end angle when reseting the model. Previously this was undefined and interpreted as 0 in the animation code.

9 years agoLabel polar area and doughnut datasets
Evert Timberg [Sat, 5 Dec 2015 01:32:18 +0000 (20:32 -0500)] 
Label polar area and doughnut datasets

9 years agoHighlight correct items when hover mode is set to 'dataset' 1741/head
Evert Timberg [Sat, 5 Dec 2015 01:01:04 +0000 (20:01 -0500)] 
Highlight correct items when hover mode is set to 'dataset'

9 years agoDoughnut controller needs to obey chart area size
Evert Timberg [Sat, 5 Dec 2015 00:22:48 +0000 (19:22 -0500)] 
Doughnut controller needs to obey chart area size

9 years agoFix draw issue when radar chart dataset has 0 points and hence no children
Evert Timberg [Fri, 4 Dec 2015 03:04:00 +0000 (22:04 -0500)] 
Fix draw issue when radar chart dataset has 0 points and hence no children

9 years agoAdd legends to sample files
Evert Timberg [Fri, 4 Dec 2015 03:03:39 +0000 (22:03 -0500)] 
Add legends to sample files

9 years agoFix JSHint issue
Evert Timberg [Fri, 4 Dec 2015 02:25:36 +0000 (21:25 -0500)] 
Fix JSHint issue

9 years agoMerge branch 'v2.0-dev' into v2.0-legend
Evert Timberg [Fri, 4 Dec 2015 02:21:10 +0000 (21:21 -0500)] 
Merge branch 'v2.0-dev' into v2.0-legend

Conflicts:
src/core/core.scaleService.js

9 years agoCall `beforeBody` and `afterBody` using the correct function. 1738/head
Evert Timberg [Thu, 3 Dec 2015 23:46:21 +0000 (18:46 -0500)] 
Call `beforeBody` and `afterBody` using the correct function.

9 years agoMerge pull request #1736 from nnnick/umd-build
Tanner Linsley [Thu, 3 Dec 2015 03:37:04 +0000 (20:37 -0700)] 
Merge pull request #1736 from nnnick/umd-build

Umd build

9 years agoRemove old and stuff. Use the correct color variable instead of window.color 1736/head
etimberg [Thu, 3 Dec 2015 03:15:03 +0000 (22:15 -0500)] 
Remove old and stuff. Use the correct color variable instead of window.color

9 years agoTime scale uses moment loaded through UMD
etimberg [Thu, 3 Dec 2015 02:10:51 +0000 (21:10 -0500)] 
Time scale uses moment loaded through UMD

9 years agoPipe the build through UMD to get proper UMD headers
etimberg [Thu, 3 Dec 2015 02:08:52 +0000 (21:08 -0500)] 
Pipe the build through UMD to get proper UMD headers

9 years agoMerge pull request #1728 from ashayas/bugfix/1722
Evert Timberg [Wed, 2 Dec 2015 12:30:55 +0000 (07:30 -0500)] 
Merge pull request #1728 from ashayas/bugfix/1722

Realized minRotation not needed, removed as an option and removed from tests

9 years agoRealized minRotaion not needed, removed as an option and removed from tests 1727/head 1728/head
npsecoding [Wed, 2 Dec 2015 06:29:19 +0000 (22:29 -0800)] 
Realized minRotaion not needed, removed as an option and removed from tests

9 years agoMerge pull request #1724 from nnnick/fix/1717
Tanner Linsley [Wed, 2 Dec 2015 02:42:31 +0000 (19:42 -0700)] 
Merge pull request #1724 from nnnick/fix/1717

Allow time scale to use multiple of base units

9 years agoFix test failures 1724/head
etimberg [Wed, 2 Dec 2015 02:07:53 +0000 (21:07 -0500)] 
Fix test failures

9 years agoUpdate scale fitting to prevent horizontal scales from jumping around.
etimberg [Wed, 2 Dec 2015 02:01:13 +0000 (21:01 -0500)] 
Update scale fitting to prevent horizontal scales from jumping around.

9 years agoTime scale will now scale units. For example, it will try 1hr then 2hrs then 3 hrs...
etimberg [Wed, 2 Dec 2015 01:02:44 +0000 (20:02 -0500)] 
Time scale will now scale units. For example, it will try 1hr then 2hrs then 3 hrs then 6 hrs then 12 hrs ... until it finds a unit that fits.

9 years agoUpdate built files 2.0.0-beta1
etimberg [Tue, 1 Dec 2015 02:35:09 +0000 (21:35 -0500)] 
Update built files

9 years agoMerge pull request #1720 from nnnick/fix/1718
Evert Timberg [Tue, 1 Dec 2015 01:50:00 +0000 (20:50 -0500)] 
Merge pull request #1720 from nnnick/fix/1718

Allow the user to change the time label display formats

9 years agoUpdate docs 1720/head
etimberg [Tue, 1 Dec 2015 01:47:49 +0000 (20:47 -0500)] 
Update docs

9 years agoAllow the user to change the time label display formats
etimberg [Tue, 1 Dec 2015 01:42:48 +0000 (20:42 -0500)] 
Allow the user to change the time label display formats

9 years agoNew built files + some sample file updates
Evert Timberg [Sun, 29 Nov 2015 18:33:24 +0000 (13:33 -0500)] 
New built files + some sample file updates

9 years agoMerge pull request #1713 from nnnick/v2.0-beta1-docs
Evert Timberg [Sun, 29 Nov 2015 18:13:01 +0000 (13:13 -0500)] 
Merge pull request #1713 from nnnick/v2.0-beta1-docs

Initial docs to get ready for beta1

9 years agoMerge branch 'v2.0-dev' into v2.0-beta1-docs 1713/head
Evert Timberg [Sun, 29 Nov 2015 16:32:57 +0000 (11:32 -0500)] 
Merge branch 'v2.0-dev' into v2.0-beta1-docs

Conflicts:
docs/01-Scales.md

9 years agoInitial update to line and bar docs
Evert Timberg [Sun, 29 Nov 2015 16:30:39 +0000 (11:30 -0500)] 
Initial update to line and bar docs

9 years agoInitial update to scale documentation
Evert Timberg [Sun, 29 Nov 2015 15:58:01 +0000 (10:58 -0500)] 
Initial update to scale documentation

9 years agoMerge pull request #1696 from nnnick/fix/1688
Evert Timberg [Sun, 29 Nov 2015 15:16:25 +0000 (10:16 -0500)] 
Merge pull request #1696 from nnnick/fix/1688

When tooltip opacity is less than 1e-3, round to 0.