]>
git.ipfire.org Git - thirdparty/Chart.js.git/log
Evert Timberg [Wed, 23 Dec 2015 17:00:56 +0000 (12:00 -0500)]
Fix broken test
Evert Timberg [Wed, 23 Dec 2015 02:35:23 +0000 (21:35 -0500)]
Improvements to tooltip alignment to avoid the canvas edges
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.
Evert Timberg [Sat, 5 Dec 2015 01:32:18 +0000 (20:32 -0500)]
Label polar area and doughnut datasets
Evert Timberg [Sat, 5 Dec 2015 01:01:04 +0000 (20:01 -0500)]
Highlight correct items when hover mode is set to 'dataset'
Evert Timberg [Sat, 5 Dec 2015 00:22:48 +0000 (19:22 -0500)]
Doughnut controller needs to obey chart area size
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
Evert Timberg [Fri, 4 Dec 2015 03:03:39 +0000 (22:03 -0500)]
Add legends to sample files
Evert Timberg [Fri, 4 Dec 2015 02:25:36 +0000 (21:25 -0500)]
Fix JSHint issue
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
Evert Timberg [Thu, 3 Dec 2015 23:46:21 +0000 (18:46 -0500)]
Call `beforeBody` and `afterBody` using the correct function.
Tanner Linsley [Thu, 3 Dec 2015 03:37:04 +0000 (20:37 -0700)]
Merge pull request #1736 from nnnick/umd-build
Umd build
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
etimberg [Thu, 3 Dec 2015 02:10:51 +0000 (21:10 -0500)]
Time scale uses moment loaded through UMD
etimberg [Thu, 3 Dec 2015 02:08:52 +0000 (21:08 -0500)]
Pipe the build through UMD to get proper UMD headers
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
npsecoding [Wed, 2 Dec 2015 06:29:19 +0000 (22:29 -0800)]
Realized minRotaion not needed, removed as an option and removed from tests
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
etimberg [Wed, 2 Dec 2015 02:07:53 +0000 (21:07 -0500)]
Fix test failures
etimberg [Wed, 2 Dec 2015 02:01:13 +0000 (21:01 -0500)]
Update scale fitting to prevent horizontal scales from jumping around.
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.
etimberg [Tue, 1 Dec 2015 02:35:09 +0000 (21:35 -0500)]
Update built files
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
etimberg [Tue, 1 Dec 2015 01:47:49 +0000 (20:47 -0500)]
Update docs
etimberg [Tue, 1 Dec 2015 01:42:48 +0000 (20:42 -0500)]
Allow the user to change the time label display formats
Evert Timberg [Sun, 29 Nov 2015 18:33:24 +0000 (13:33 -0500)]
New built files + some sample file updates
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
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
Evert Timberg [Sun, 29 Nov 2015 16:30:39 +0000 (11:30 -0500)]
Initial update to line and bar docs
Evert Timberg [Sun, 29 Nov 2015 15:58:01 +0000 (10:58 -0500)]
Initial update to scale documentation
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.