]>
git.ipfire.org Git - thirdparty/Chart.js.git/log
Evert Timberg [Tue, 22 Sep 2015 23:22:55 +0000 (19:22 -0400)]
Don't increase canvas css size during a retina scale. Reset the canvas style exactly as it was set before during destroy. Ensure coordinates are translated over correctly into model coordinates. Fixed a bug during destroy when unscaling the canvas
Evert Timberg [Tue, 22 Sep 2015 16:10:51 +0000 (12:10 -0400)]
Merge pull request #1478 from etimberg/feature/data-change-api
Data change must only happen by changing the data object
Evert Timberg [Tue, 22 Sep 2015 01:00:58 +0000 (21:00 -0400)]
Update samples to no longer use old functions and instead modify the data directly
Evert Timberg [Tue, 22 Sep 2015 01:00:09 +0000 (21:00 -0400)]
Test missed in last check-in
Evert Timberg [Tue, 22 Sep 2015 00:59:53 +0000 (20:59 -0400)]
Remove unneeded functions from core controller. Updated dataset controllers to have a separate function to update the meta data for each dataset
Tanner Linsley [Mon, 21 Sep 2015 23:52:09 +0000 (17:52 -0600)]
Merge pull request #1477 from etimberg/feature/scale-labels
Scale Labels
Tanner Linsley [Mon, 21 Sep 2015 19:17:27 +0000 (13:17 -0600)]
Ensure bar width at least 1px
Tanner Linsley [Mon, 21 Sep 2015 19:08:09 +0000 (13:08 -0600)]
Merge pull request #1474 from nnnick/v2.0-feature-dynamic-bar-spacing
Bar spacing is now dynamic at small sizes.
Tanner Linsley [Mon, 21 Sep 2015 19:04:41 +0000 (13:04 -0600)]
Time scale support
Tanner Linsley [Mon, 21 Sep 2015 18:57:04 +0000 (12:57 -0600)]
Bar spacing is now dynamic at small sizes.
Closes #1468
Tanner Linsley [Mon, 21 Sep 2015 17:55:51 +0000 (11:55 -0600)]
Merge pull request #1473 from nnnick/v2.0-dev-timescale-fix
Time scale now draws all ticks, instead of half of them
Tanner Linsley [Mon, 21 Sep 2015 17:52:17 +0000 (11:52 -0600)]
Time scale now draws all ticks, instead of half of them
Closes #1463
Tanner Linsley [Mon, 21 Sep 2015 17:37:21 +0000 (11:37 -0600)]
Merge pull request #1471 from etimberg/fix/mouse-coordinates
Convert screen coordinates into canvas coordinates when dealing with mouse events
Tanner Linsley [Mon, 21 Sep 2015 17:36:43 +0000 (11:36 -0600)]
Merge pull request #1470 from etimberg/feature/updated_resize_fix
Updated PR to replace #1467
Evert Timberg [Sun, 20 Sep 2015 23:41:48 +0000 (19:41 -0400)]
Update tests for new scale labels
Evert Timberg [Sun, 20 Sep 2015 23:25:17 +0000 (19:25 -0400)]
Update sample files
Evert Timberg [Sun, 20 Sep 2015 23:24:46 +0000 (19:24 -0400)]
Time scale has a label now
Evert Timberg [Sun, 20 Sep 2015 23:18:59 +0000 (19:18 -0400)]
Category scale has labels
Evert Timberg [Sun, 20 Sep 2015 23:06:34 +0000 (19:06 -0400)]
Update tests for new config options
Evert Timberg [Sun, 20 Sep 2015 23:06:09 +0000 (19:06 -0400)]
Logarithmic scale now has labels
Evert Timberg [Sun, 20 Sep 2015 22:59:58 +0000 (18:59 -0400)]
Linear scale has labels
Evert Timberg [Sun, 20 Sep 2015 21:57:27 +0000 (17:57 -0400)]
Convert screen coordinates into canvas coordinates when dealing with mouse events
Evert Timberg [Sun, 20 Sep 2015 14:34:40 +0000 (10:34 -0400)]
Update charts with default aspect ratio of 1 where it makes sense. If the canvas has no size specified, this will be used
Evert Timberg [Sun, 20 Sep 2015 14:33:36 +0000 (10:33 -0400)]
Ensure that radii are always >= 0 for doughnuts and polar area charts
Evert Timberg [Sun, 20 Sep 2015 14:32:43 +0000 (10:32 -0400)]
Prevent a jump in the category scale when the labels need to rotate only when there is no margin yet applied.
Evert Timberg [Sun, 20 Sep 2015 14:30:43 +0000 (10:30 -0400)]
Remove responsive file since it is not necessary
Evert Timberg [Sun, 20 Sep 2015 14:30:12 +0000 (10:30 -0400)]
Use hidden iframe to detect resize + obey max width when getting maximum size. Updated the bar sample to start off hidden. Use the 'show' button to display the graph
Evert Timberg [Sat, 19 Sep 2015 21:53:35 +0000 (17:53 -0400)]
Merge pull request #1469 from nnnick/revert-1467-feature/resize_problems
Revert "Fix resize problems when charts are initially hidden"
Evert Timberg [Sat, 19 Sep 2015 21:52:58 +0000 (17:52 -0400)]
Revert "Fix resize problems when charts are initially hidden"
Tanner Linsley [Sat, 19 Sep 2015 00:59:58 +0000 (18:59 -0600)]
Merge pull request #1465 from nnnick/v2.0-dev-time-scale-bars-and-combo
Bar and combo support for time scale
Tanner Linsley [Sat, 19 Sep 2015 00:59:39 +0000 (18:59 -0600)]
Merge pull request #1467 from etimberg/feature/resize_problems
Fix resize problems when charts are initially hidden
Evert Timberg [Fri, 18 Sep 2015 23:22:54 +0000 (19:22 -0400)]
Only store the original device context ratio once
Evert Timberg [Fri, 18 Sep 2015 22:59:55 +0000 (18:59 -0400)]
Make sure that doughnut and polar area inner & outer radius is >= 0
Evert Timberg [Fri, 18 Sep 2015 22:44:00 +0000 (18:44 -0400)]
Remove core.responsive file. Responsiveness is added during initialization
Evert Timberg [Fri, 18 Sep 2015 22:41:45 +0000 (18:41 -0400)]
Revert "Commit built version of scale algo changes"
This reverts commit
a36a3f8c09b5424dbf4e140d08a5ceb24d7a5ecb .
Evert Timberg [Fri, 18 Sep 2015 22:38:47 +0000 (18:38 -0400)]
Merge remote-tracking branch 'upstream/v2.0-dev' into feature/resize_problems
Conflicts:
gulpfile.js
Tanner Linsley [Fri, 18 Sep 2015 17:31:25 +0000 (11:31 -0600)]
Bar and combo support for time scale
Evert Timberg [Fri, 18 Sep 2015 00:29:41 +0000 (20:29 -0400)]
Unit tests for logarithmic scale. Fixed some issues in stacked mode since it's not possible for a 0 crossing to occur with a log scale.
Tanner Linsley [Thu, 17 Sep 2015 21:54:44 +0000 (15:54 -0600)]
Merge pull request #1459 from nnnick/v2.0-dev-feature-time-axis
V2.0 dev feature time axis
Evert Timberg [Thu, 17 Sep 2015 11:24:15 +0000 (07:24 -0400)]
Merge pull request #1458 from mennodekker/patch-1
Fixed issue #1163 hover.mode = 'dataset' no longer throws an error
Menno Dekker [Thu, 17 Sep 2015 08:08:42 +0000 (10:08 +0200)]
Tabs to spaces + fixed error
Menno Dekker [Thu, 17 Sep 2015 07:43:02 +0000 (09:43 +0200)]
Hover on dataset now works just like hover on label
Fixed some errors in de hover on dataset mode, only tested on bar charts
Tanner Linsley [Tue, 15 Sep 2015 17:40:01 +0000 (11:40 -0600)]
Time Scale Rewrite
Tanner Linsley [Tue, 15 Sep 2015 00:58:17 +0000 (18:58 -0600)]
Merge pull request #1456 from etimberg/feature/logarithmic_scale
Logarithmic scale
Evert Timberg [Tue, 15 Sep 2015 00:34:49 +0000 (20:34 -0400)]
Hide labels when the user returns null from the userCallback. This is the same as the category scale
Evert Timberg [Tue, 15 Sep 2015 00:32:23 +0000 (20:32 -0400)]
Fixes to show all lines but not all labels. Added a variable in the template function to make debugging nicer.
Evert Timberg [Mon, 14 Sep 2015 23:46:28 +0000 (19:46 -0400)]
Update logarithmic sample. Created a new logarithmic sample using AC circuit simulation data of an RLC filter.
Evert Timberg [Mon, 14 Sep 2015 23:45:13 +0000 (19:45 -0400)]
Remove dead code in logarithmic scale. Fixed a padding bug that had previously been fixed in the linear scale
Evert Timberg [Mon, 14 Sep 2015 22:59:52 +0000 (18:59 -0400)]
Merge remote-tracking branch 'upstream/v2.0-dev' into feature/logarithmic_scale
Evert Timberg [Mon, 14 Sep 2015 22:50:52 +0000 (18:50 -0400)]
Attempting to make resize better
Tanner Linsley [Fri, 11 Sep 2015 18:20:32 +0000 (12:20 -0600)]
Let tooltips use time formatted labels if they exist
Tanner Linsley [Fri, 11 Sep 2015 04:48:48 +0000 (22:48 -0600)]
Time Scale Base
Tanner Linsley [Fri, 11 Sep 2015 04:48:20 +0000 (22:48 -0600)]
Add Line chart with time scale sample
Tanner Linsley [Fri, 11 Sep 2015 04:46:51 +0000 (22:46 -0600)]
Add moment.js as dependency
Tanner Linsley [Fri, 11 Sep 2015 04:46:07 +0000 (22:46 -0600)]
Do not test on gulp watch
Evert Timberg [Thu, 10 Sep 2015 00:28:34 +0000 (20:28 -0400)]
Commit built version of scale algo changes
Evert Timberg [Sat, 5 Sep 2015 17:27:06 +0000 (13:27 -0400)]
Better scale fitting algorithm to handle when label rotation changes due to the application of margins on the scale
Evert Timberg [Sat, 5 Sep 2015 02:55:57 +0000 (22:55 -0400)]
Helper for resize listener
Evert Timberg [Sat, 5 Sep 2015 02:55:41 +0000 (22:55 -0400)]
Get resize listener helper
Evert Timberg [Wed, 2 Sep 2015 21:46:35 +0000 (17:46 -0400)]
Merge pull request #1436 from honza889/reverse-radar
Reverse scale on radar / polar area
Jan Kalina [Wed, 2 Sep 2015 21:14:12 +0000 (23:14 +0200)]
Reverse scale on radar/polar area
Evert Timberg [Tue, 1 Sep 2015 22:12:37 +0000 (18:12 -0400)]
Latest built changes
Evert Timberg [Tue, 1 Sep 2015 01:54:33 +0000 (21:54 -0400)]
Merge pull request #1430 from etimberg/feature/doughnutLabels
Use the dataset label if available
etimberg [Tue, 1 Sep 2015 01:49:51 +0000 (21:49 -0400)]
If the element has a label, use that in the tooltip instead of the dataset label.
Evert Timberg [Tue, 1 Sep 2015 00:44:27 +0000 (20:44 -0400)]
Merge pull request #1429 from etimberg/feature/unit-test
Linear scale tests
Evert Timberg [Tue, 1 Sep 2015 00:42:29 +0000 (20:42 -0400)]
More linear scale tests
Evert Timberg [Mon, 31 Aug 2015 01:50:41 +0000 (21:50 -0400)]
Check some more data on the linear scale after fitting
Evert Timberg [Mon, 31 Aug 2015 01:49:39 +0000 (21:49 -0400)]
Start testing the linear scale fit code
Evert Timberg [Mon, 31 Aug 2015 00:47:34 +0000 (20:47 -0400)]
Merge pull request #1428 from etimberg/feature/unit-test
Core.element unit tests
Evert Timberg [Mon, 31 Aug 2015 00:46:26 +0000 (20:46 -0400)]
More helper tests
Evert Timberg [Mon, 31 Aug 2015 00:17:24 +0000 (20:17 -0400)]
Core element tests
Evert Timberg [Sun, 30 Aug 2015 22:23:53 +0000 (18:23 -0400)]
Better debug page reporting of failed tests
Evert Timberg [Sun, 30 Aug 2015 21:54:12 +0000 (17:54 -0400)]
Merge pull request #1427 from etimberg/feature/unit-test
Adds unit tests for the doughnut & line controllers + line controller updates
Evert Timberg [Sun, 30 Aug 2015 21:42:42 +0000 (17:42 -0400)]
Add line controller tests. Fixed an issue when the number of data points changes. When adding the tension to a point, get the same tension as the line if it has been overridden at the dataset level. When setting the hover style of a point, allow setting the radius independently of the regular radius. Use the hoverRadius property in point.custom or the dataset.pointHoverRadius. Allow setting the border width independently at the dataset level. Use dataset.pointHoverBorderWidth. This can be an array or a number.
Evert Timberg [Sun, 30 Aug 2015 18:56:48 +0000 (14:56 -0400)]
Doughnut controller tests
Evert Timberg [Sun, 30 Aug 2015 14:44:42 +0000 (10:44 -0400)]
Merge pull request #1426 from etimberg/feature/unit-test
Tests for the bar controller + bug fixes
Evert Timberg [Sun, 30 Aug 2015 14:42:00 +0000 (10:42 -0400)]
Finish up bar controller tests
Evert Timberg [Sun, 30 Aug 2015 02:27:40 +0000 (22:27 -0400)]
Initial bar controller tests
Evert Timberg [Sat, 29 Aug 2015 18:19:01 +0000 (14:19 -0400)]
Merge pull request #1425 from etimberg/feature/unit-test
Unit tests for elements
Evert Timberg [Sat, 29 Aug 2015 18:16:37 +0000 (14:16 -0400)]
Initial line element tests. Did not test the skipNull functionality since it seems to be broken.
Evert Timberg [Sat, 29 Aug 2015 16:31:44 +0000 (12:31 -0400)]
Arc element tests
Evert Timberg [Sat, 29 Aug 2015 12:53:42 +0000 (08:53 -0400)]
Rectangle element tests
Evert Timberg [Sat, 29 Aug 2015 03:20:01 +0000 (23:20 -0400)]
Do mock context properties better
Evert Timberg [Sat, 29 Aug 2015 03:09:58 +0000 (23:09 -0400)]
First set of tests for point. Started on a mockContext object for testing. Still need to handle property setting better (fillStyle, strokeStyle, etc)
Evert Timberg [Sat, 29 Aug 2015 02:32:56 +0000 (22:32 -0400)]
Start writing tests for core.helpers. Fix a number of small bugs found during testing
Tanner Linsley [Fri, 28 Aug 2015 23:13:08 +0000 (17:13 -0600)]
Merge pull request #1424 from etimberg/feature/unit-test
Add coverage metrics for unit tests
Evert Timberg [Fri, 28 Aug 2015 23:09:39 +0000 (19:09 -0400)]
Merge remote-tracking branch 'upstream/v2.0-dev' into feature/unit-test
Conflicts:
gulpfile.js
Evert Timberg [Fri, 28 Aug 2015 23:05:56 +0000 (19:05 -0400)]
Merge pull request #1423 from nnnick/v2.0-dev-unit-test-via-travis
Organize Gulpfile, Integrate unit tests with Travis
Evert Timberg [Fri, 28 Aug 2015 23:02:37 +0000 (19:02 -0400)]
Install coverage metrics. Use `gulp coverage` to generate coverage reports
Tanner Linsley [Fri, 28 Aug 2015 22:58:23 +0000 (16:58 -0600)]
Organize Gulpfile, Integrate unit tests with Travis
Evert Timberg [Fri, 28 Aug 2015 22:52:46 +0000 (18:52 -0400)]
This should run the unit tests from the CI system
Tanner Linsley [Fri, 28 Aug 2015 22:26:10 +0000 (16:26 -0600)]
Merge pull request #1408 from etimberg/feature/unit-test
Initial unit test framework + linear scale test starting point
Tanner Linsley [Fri, 28 Aug 2015 21:12:35 +0000 (15:12 -0600)]
Don't account for paddingLeft until after rotated
Evert Timberg [Sun, 23 Aug 2015 21:17:46 +0000 (17:17 -0400)]
Initial scale tests
Evert Timberg [Sun, 23 Aug 2015 21:17:21 +0000 (17:17 -0400)]
Remove wrong addition of padding
Evert Timberg [Sun, 23 Aug 2015 19:55:10 +0000 (15:55 -0400)]
Watch mode runs tests.
Evert Timberg [Sun, 23 Aug 2015 18:58:19 +0000 (14:58 -0400)]
Initial test setup
Evert Timberg [Sun, 23 Aug 2015 17:24:58 +0000 (13:24 -0400)]
Merge pull request #1407 from etimberg/fix/category-filter-lines
Allow hiding grid lines using the filter function in the category scale
Evert Timberg [Sun, 23 Aug 2015 17:20:43 +0000 (13:20 -0400)]
Category scale filter function will hide the grid line if `null` or `undefined` returned.
Evert Timberg [Sat, 22 Aug 2015 21:00:50 +0000 (17:00 -0400)]
Merge pull request #1406 from etimberg/fix/combo-bar-width
Count the number of bars when determining the bar width