]>
git.ipfire.org Git - thirdparty/Chart.js.git/log
Evert Timberg [Tue, 29 Dec 2015 14:32:40 +0000 (09:32 -0500)]
Clean up code
Evert Timberg [Tue, 29 Dec 2015 14:24:09 +0000 (09:24 -0500)]
Fix tests
Evert Timberg [Mon, 28 Dec 2015 22:20:08 +0000 (17:20 -0500)]
Fix layout service
Evert Timberg [Mon, 28 Dec 2015 13:29:54 +0000 (08:29 -0500)]
Fix some errors with docs that were noticed when building
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
etimberg [Sun, 27 Dec 2015 16:48:14 +0000 (11:48 -0500)]
Fix issues identified in PR
etimberg [Sun, 27 Dec 2015 15:46:08 +0000 (10:46 -0500)]
Update build & bump version
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
Tore Lervik [Fri, 25 Dec 2015 12:53:09 +0000 (13:53 +0100)]
min/max should have precedence over suggestedMin/suggestedMax
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
Evert Timberg [Wed, 23 Dec 2015 17:00:56 +0000 (12:00 -0500)]
Fix broken test
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
Tore Lervik [Wed, 23 Dec 2015 14:29:25 +0000 (15:29 +0100)]
Fixed build error bug with getting tension
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.
Tore Lervik [Wed, 23 Dec 2015 12:42:24 +0000 (13:42 +0100)]
Fixed bug with skipRatio check not being triggered correctly.
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
Evert Timberg [Wed, 23 Dec 2015 02:35:23 +0000 (21:35 -0500)]
Improvements to tooltip alignment to avoid the canvas edges
Evert Timberg [Tue, 22 Dec 2015 14:13:02 +0000 (09:13 -0500)]
Fix tests
Evert Timberg [Tue, 22 Dec 2015 13:44:04 +0000 (08:44 -0500)]
Merge pull request #1819 from xriss/v2.0-dev
gulp-umd
Kriss [Tue, 22 Dec 2015 13:21:23 +0000 (13:21 +0000)]
gulp-umd
Explicitly pass root to the factory function.
Evert Timberg [Tue, 22 Dec 2015 13:19:45 +0000 (08:19 -0500)]
Merge pull request #1817 from prashcr/patch-2
Add missing comma
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.
Prashanth Chandra [Tue, 22 Dec 2015 09:50:11 +0000 (17:50 +0800)]
Add missing comma
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
Tore Lervik [Mon, 21 Dec 2015 22:47:38 +0000 (23:47 +0100)]
Fixed broken tests
Tore Lervik [Mon, 21 Dec 2015 22:37:09 +0000 (23:37 +0100)]
Refactored out property
Tore Lervik [Mon, 21 Dec 2015 22:30:40 +0000 (23:30 +0100)]
Refactored skipRatio to use the longest label text for calculation.
Tore Lervik [Mon, 21 Dec 2015 21:43:20 +0000 (22:43 +0100)]
Fixed a typo
Tore Lervik [Mon, 21 Dec 2015 21:40:33 +0000 (22:40 +0100)]
Refactored firstTick null check
Tore Lervik [Mon, 21 Dec 2015 21:34:31 +0000 (22:34 +0100)]
firstTick and lastTick can be null if the chart is empty.
Evert Timberg [Mon, 21 Dec 2015 20:52:33 +0000 (15:52 -0500)]
Initial refactor of tooltip code
Evert Timberg [Mon, 21 Dec 2015 20:52:19 +0000 (15:52 -0500)]
Show rectangle points at end of bars, even negative ones.
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.
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.
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
Mattias Lyckne [Mon, 21 Dec 2015 13:21:51 +0000 (14:21 +0100)]
Update docs
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”
Mattias Lyckne [Mon, 21 Dec 2015 07:43:48 +0000 (08:43 +0100)]
Fix tests
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
Evert Timberg [Sun, 20 Dec 2015 23:48:44 +0000 (18:48 -0500)]
Fix sizing of tooltip when beforeBody or afterBody is very line
Evert Timberg [Sun, 20 Dec 2015 23:31:49 +0000 (18:31 -0500)]
Update built files
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
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
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).
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
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
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.
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
Evert Timberg [Thu, 17 Dec 2015 14:31:01 +0000 (09:31 -0500)]
Update check to new system + fix tests
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
etimberg [Wed, 16 Dec 2015 01:19:32 +0000 (20:19 -0500)]
Updated docs
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.
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
Evert Timberg [Wed, 16 Dec 2015 00:33:38 +0000 (19:33 -0500)]
Better test
Evert Timberg [Wed, 16 Dec 2015 00:30:09 +0000 (19:30 -0500)]
Fix tests
Evert Timberg [Wed, 16 Dec 2015 00:18:18 +0000 (19:18 -0500)]
Update logarithmic algorithm
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
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
Mattias Lyckne [Mon, 14 Dec 2015 07:39:11 +0000 (08:39 +0100)]
Adds min and max setting to axes
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
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
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
Evert Timberg [Sat, 12 Dec 2015 15:12:49 +0000 (10:12 -0500)]
Merge pull request #1775 from nnnick/fix/1711
Call animation callbacks.
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.
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
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
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
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.
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
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
Daniel Chesterton [Fri, 11 Dec 2015 23:58:56 +0000 (23:58 +0000)]
Lowercase NPM package name
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
Evert Timberg [Wed, 9 Dec 2015 01:22:02 +0000 (20:22 -0500)]
Fix up issues in core scale
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.
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
Evert Timberg [Tue, 8 Dec 2015 02:58:48 +0000 (21:58 -0500)]
Better sizing when not displaying
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.
Evert Timberg [Tue, 8 Dec 2015 02:42:58 +0000 (21:42 -0500)]
Polar area legend toggles data
Evert Timberg [Tue, 8 Dec 2015 02:23:20 +0000 (21:23 -0500)]
Toggling of doughnut items now works
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.
Evert Timberg [Tue, 8 Dec 2015 00:11:54 +0000 (19:11 -0500)]
Generate nice legend boxes for all current chart types
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
Evert Timberg [Mon, 7 Dec 2015 23:23:51 +0000 (18:23 -0500)]
Fix a few more issues in the tooltips
Evert Timberg [Mon, 7 Dec 2015 23:19:56 +0000 (18:19 -0500)]
Start fixing code climate issues
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
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
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
Evert Timberg [Sun, 6 Dec 2015 16:19:55 +0000 (11:19 -0500)]
Docs + move defaults to correct place.
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
Evert Timberg [Sun, 6 Dec 2015 15:19:09 +0000 (10:19 -0500)]
Polar are controller needs a similar update to the doughnut controller
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.
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.
Evert Timberg [Sat, 5 Dec 2015 15:54:45 +0000 (10:54 -0500)]
Move time sample files to sub folder
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`
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.
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.
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
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
Evert Timberg [Sat, 5 Dec 2015 14:55:17 +0000 (09:55 -0500)]
Fix tests
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.