]> git.ipfire.org Git - thirdparty/Chart.js.git/log
thirdparty/Chart.js.git
9 years agoRemoved the line scale override file since functionality no longer directly exists... 1488/head
Evert Timberg [Mon, 28 Sep 2015 01:34:16 +0000 (21:34 -0400)] 
Removed the line scale override file since functionality no longer directly exists. Updated the core scale drawing with tighter padding & better drawing when on top. Updated tests

9 years agoFix broken helper test
Evert Timberg [Sun, 27 Sep 2015 23:40:38 +0000 (19:40 -0400)] 
Fix broken helper test

9 years agoFix line controller tests
Evert Timberg [Sun, 27 Sep 2015 23:19:21 +0000 (19:19 -0400)] 
Fix line controller tests

9 years agoLast bar controller test fixes
Evert Timberg [Sun, 27 Sep 2015 22:29:54 +0000 (18:29 -0400)] 
Last bar controller test fixes

9 years agoFix bar controller unit tests
Evert Timberg [Sun, 27 Sep 2015 22:28:09 +0000 (18:28 -0400)] 
Fix bar controller unit tests

9 years agoConvert the radialLinear scale to derive from Core.scale. Radial linear scale is...
Evert Timberg [Sun, 27 Sep 2015 15:58:20 +0000 (11:58 -0400)] 
Convert the radialLinear scale to derive from Core.scale. Radial linear scale is now fit using the scale service. Added tests for the radialLinear scale.

9 years agoTime scale tests.
Evert Timberg [Sun, 27 Sep 2015 13:38:11 +0000 (09:38 -0400)] 
Time scale tests.

9 years agoCategory scale tests
Evert Timberg [Sat, 26 Sep 2015 20:52:14 +0000 (16:52 -0400)] 
Category scale tests

9 years agoUpdate logX sample to use correct label callback
Evert Timberg [Sat, 26 Sep 2015 20:50:59 +0000 (16:50 -0400)] 
Update logX sample to use correct label callback

9 years agoMerge branch 'v2.0-dev-refactor' of https://github.com/nnnick/Chart.js into v2.0...
Evert Timberg [Sat, 26 Sep 2015 01:04:57 +0000 (21:04 -0400)] 
Merge branch 'v2.0-dev-refactor' of https://github.com/nnnick/Chart.js into v2.0-dev-refactor

9 years agoUpdated core.scale draw code with minor improvements and features that broke during...
Evert Timberg [Sat, 26 Sep 2015 01:04:45 +0000 (21:04 -0400)] 
Updated core.scale draw code with minor improvements and features that broke during integration (such as mirror option for labels). Updated linear and logarithmic tests. Update config merge to use scaleMerge since it prevents overriding the default entirely.

9 years agoI guess, don't include the offset. Bars now align correctly.
Tanner Linsley [Fri, 25 Sep 2015 04:49:43 +0000 (22:49 -0600)] 
I guess, don't include the offset. Bars now align correctly.

9 years agoMake sure ticks are converted to strings. Handle this in the core. Updated linear...
Evert Timberg [Fri, 25 Sep 2015 02:08:25 +0000 (22:08 -0400)] 
Make sure ticks are converted to strings. Handle this in the core. Updated linear scale tests & fixed some minor issues. Only 3 fails now in the linear scale.

9 years agoStart to clean up the linear scale tests
Evert Timberg [Thu, 24 Sep 2015 22:54:56 +0000 (18:54 -0400)] 
Start to clean up the linear scale tests

9 years agoFix scale fitting to give padding around the scale title & to account for label rotation
Evert Timberg [Thu, 24 Sep 2015 22:53:48 +0000 (18:53 -0400)] 
Fix scale fitting to give padding around the scale title & to account for label rotation

9 years agoAlways includeOffset for bar controller
Tanner Linsley [Thu, 24 Sep 2015 21:46:10 +0000 (15:46 -0600)] 
Always includeOffset for bar controller

9 years agoAdd scaleLabel to core.scale
Tanner Linsley [Thu, 24 Sep 2015 21:45:56 +0000 (15:45 -0600)] 
Add scaleLabel to core.scale

9 years agoMerge branch 'v2.0-dev' into v2.0-dev-refactor
Tanner Linsley [Thu, 24 Sep 2015 20:34:26 +0000 (14:34 -0600)] 
Merge branch 'v2.0-dev' into v2.0-dev-refactor

Conflicts:
samples/line-scale-override.html
samples/line-x-axis-filter.html
samples/line.html
src/controllers/controller.bar.js
src/core/core.controller.js
src/scales/scale.category.js

9 years agoPolar Area now uses new scale.update method
Tanner Linsley [Thu, 24 Sep 2015 19:07:32 +0000 (13:07 -0600)] 
Polar Area now uses new scale.update method

9 years agoPie.customtooltips is outdated. Removing for now.
Tanner Linsley [Thu, 24 Sep 2015 19:05:46 +0000 (13:05 -0600)] 
Pie.customtooltips is outdated. Removing for now.

9 years agoDoughnut.color is outdated. Removing for now.
Tanner Linsley [Thu, 24 Sep 2015 19:01:07 +0000 (13:01 -0600)] 
Doughnut.color is outdated.  Removing for now.

9 years agoHorizontal Log Scale
Tanner Linsley [Thu, 24 Sep 2015 18:59:03 +0000 (12:59 -0600)] 
Horizontal Log Scale

9 years agoLog Scale Working Again
Tanner Linsley [Thu, 24 Sep 2015 18:31:18 +0000 (12:31 -0600)] 
Log Scale Working Again

9 years agoTime Scale working, troubleshooting log scale
Tanner Linsley [Thu, 24 Sep 2015 18:07:40 +0000 (12:07 -0600)] 
Time Scale working, troubleshooting log scale

9 years agoMerge pull request #1485 from BenWoodford/label-patches
Evert Timberg [Thu, 24 Sep 2015 15:07:51 +0000 (11:07 -0400)] 
Merge pull request #1485 from BenWoodford/label-patches

Label customisation fixes

9 years agoFixed label padding not affecting x-axis label 1485/head
Ben Woodford [Thu, 24 Sep 2015 15:02:58 +0000 (16:02 +0100)] 
Fixed label padding not affecting x-axis label

9 years agoOnly rotate label while rotation is < maxRotation
Ben Woodford [Thu, 24 Sep 2015 14:54:10 +0000 (15:54 +0100)] 
Only rotate label while rotation is < maxRotation

Checking for <= maxRotation results in a labelRotation of 1 if maxRotation is 0, which doesn't make any sense (and also causes the text to be right aligned not centred)

9 years agocheckpoint for the morning check
Tanner Linsley [Thu, 24 Sep 2015 08:25:21 +0000 (02:25 -0600)] 
checkpoint for the morning check

made some good progress.  Just need some more eyes on it, cuz I’m
literally typing without my glasses on right now.

9 years agoVertical Scales are a bit better now
Tanner Linsley [Thu, 24 Sep 2015 05:23:20 +0000 (23:23 -0600)] 
Vertical Scales are a bit better now

9 years agoStuck on shared vertical scale draw logic
Tanner Linsley [Thu, 24 Sep 2015 03:52:31 +0000 (21:52 -0600)] 
Stuck on shared vertical scale draw logic

Trying to make all scales share the same draw function for both
horizontal and vertical.  For some reason the vertical linear scale on
line.html has a width that is too small

9 years agoCheckpoint 1, Pew!!!!
Tanner Linsley [Wed, 23 Sep 2015 01:31:26 +0000 (19:31 -0600)] 
Checkpoint 1, Pew!!!!

9 years agoMerge pull request #1480 from etimberg/fix/retina-scale-issue
Tanner Linsley [Tue, 22 Sep 2015 23:28:35 +0000 (17:28 -0600)] 
Merge pull request #1480 from etimberg/fix/retina-scale-issue

Fixes some retina issues introduced into the v2 codeline

9 years agoDon't increase canvas css size during a retina scale. Reset the canvas style exactly... 1480/head
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

9 years agoMerge pull request #1478 from etimberg/feature/data-change-api
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

9 years agoUpdate samples to no longer use old functions and instead modify the data directly 1478/head
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

9 years agoTest missed in last check-in
Evert Timberg [Tue, 22 Sep 2015 01:00:09 +0000 (21:00 -0400)] 
Test missed in last check-in

9 years agoRemove unneeded functions from core controller. Updated dataset controllers to have...
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

9 years agoMerge pull request #1477 from etimberg/feature/scale-labels
Tanner Linsley [Mon, 21 Sep 2015 23:52:09 +0000 (17:52 -0600)] 
Merge pull request #1477 from etimberg/feature/scale-labels

Scale Labels

9 years agoEnsure bar width at least 1px
Tanner Linsley [Mon, 21 Sep 2015 19:17:27 +0000 (13:17 -0600)] 
Ensure bar width at least 1px

9 years agoMerge pull request #1474 from nnnick/v2.0-feature-dynamic-bar-spacing
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.

9 years agoTime scale support 1474/head
Tanner Linsley [Mon, 21 Sep 2015 19:04:41 +0000 (13:04 -0600)] 
Time scale support

9 years agoBar spacing is now dynamic at small sizes.
Tanner Linsley [Mon, 21 Sep 2015 18:57:04 +0000 (12:57 -0600)] 
Bar spacing is now dynamic at small sizes.

Closes #1468

9 years agoMerge pull request #1473 from nnnick/v2.0-dev-timescale-fix
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

9 years agoTime scale now draws all ticks, instead of half of them 1473/head
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

9 years agoMerge pull request #1471 from etimberg/fix/mouse-coordinates
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

9 years agoMerge pull request #1470 from etimberg/feature/updated_resize_fix
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

9 years agoUpdate tests for new scale labels 1477/head
Evert Timberg [Sun, 20 Sep 2015 23:41:48 +0000 (19:41 -0400)] 
Update tests for new scale labels

9 years agoUpdate sample files
Evert Timberg [Sun, 20 Sep 2015 23:25:17 +0000 (19:25 -0400)] 
Update sample files

9 years agoTime scale has a label now
Evert Timberg [Sun, 20 Sep 2015 23:24:46 +0000 (19:24 -0400)] 
Time scale has a label now

9 years agoCategory scale has labels
Evert Timberg [Sun, 20 Sep 2015 23:18:59 +0000 (19:18 -0400)] 
Category scale has labels

9 years agoUpdate tests for new config options
Evert Timberg [Sun, 20 Sep 2015 23:06:34 +0000 (19:06 -0400)] 
Update tests for new config options

9 years agoLogarithmic scale now has labels
Evert Timberg [Sun, 20 Sep 2015 23:06:09 +0000 (19:06 -0400)] 
Logarithmic scale now has labels

9 years agoLinear scale has labels
Evert Timberg [Sun, 20 Sep 2015 22:59:58 +0000 (18:59 -0400)] 
Linear scale has labels

9 years agoConvert screen coordinates into canvas coordinates when dealing with mouse events 1471/head
Evert Timberg [Sun, 20 Sep 2015 21:57:27 +0000 (17:57 -0400)] 
Convert screen coordinates into canvas coordinates when dealing with mouse events

9 years agoUpdate charts with default aspect ratio of 1 where it makes sense. If the canvas... 1470/head
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

9 years agoEnsure that radii are always >= 0 for doughnuts and polar area charts
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

9 years agoPrevent a jump in the category scale when the labels need to rotate only when there...
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.

9 years agoRemove responsive file since it is not necessary
Evert Timberg [Sun, 20 Sep 2015 14:30:43 +0000 (10:30 -0400)] 
Remove responsive file since it is not necessary

9 years agoUse hidden iframe to detect resize + obey max width when getting maximum size. Update...
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

9 years agoMerge pull request #1469 from nnnick/revert-1467-feature/resize_problems
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"

9 years agoRevert "Fix resize problems when charts are initially hidden" 1469/head
Evert Timberg [Sat, 19 Sep 2015 21:52:58 +0000 (17:52 -0400)] 
Revert "Fix resize problems when charts are initially hidden"

9 years agoMerge pull request #1465 from nnnick/v2.0-dev-time-scale-bars-and-combo
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

9 years agoMerge pull request #1467 from etimberg/feature/resize_problems
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

9 years agoOnly store the original device context ratio once 1467/head
Evert Timberg [Fri, 18 Sep 2015 23:22:54 +0000 (19:22 -0400)] 
Only store the original device context ratio once

9 years agoMake sure that doughnut and polar area inner & outer radius is >= 0
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

9 years agoRemove core.responsive file. Responsiveness is added during initialization
Evert Timberg [Fri, 18 Sep 2015 22:44:00 +0000 (18:44 -0400)] 
Remove core.responsive file. Responsiveness is added during initialization

9 years agoRevert "Commit built version of scale algo changes"
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.

9 years agoMerge remote-tracking branch 'upstream/v2.0-dev' into feature/resize_problems
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

9 years agoBar and combo support for time scale 1465/head
Tanner Linsley [Fri, 18 Sep 2015 17:31:25 +0000 (11:31 -0600)] 
Bar and combo support for time scale

9 years agoUnit tests for logarithmic scale. Fixed some issues in stacked mode since it's not...
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.

9 years agoMerge pull request #1459 from nnnick/v2.0-dev-feature-time-axis
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

9 years agoMerge pull request #1458 from mennodekker/patch-1
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

9 years agoTabs to spaces + fixed error 1458/head
Menno Dekker [Thu, 17 Sep 2015 08:08:42 +0000 (10:08 +0200)] 
Tabs to spaces + fixed error

9 years agoHover on dataset now works just like hover on label
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

9 years agoTime Scale Rewrite 1459/head
Tanner Linsley [Tue, 15 Sep 2015 17:40:01 +0000 (11:40 -0600)] 
Time Scale Rewrite

9 years agoMerge pull request #1456 from etimberg/feature/logarithmic_scale
Tanner Linsley [Tue, 15 Sep 2015 00:58:17 +0000 (18:58 -0600)] 
Merge pull request #1456 from etimberg/feature/logarithmic_scale

Logarithmic scale

9 years agoHide labels when the user returns null from the userCallback. This is the same as... 1456/head
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

9 years agoFixes to show all lines but not all labels. Added a variable in the template function...
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.

9 years agoUpdate logarithmic sample. Created a new logarithmic sample using AC circuit simulati...
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.

9 years agoRemove dead code in logarithmic scale. Fixed a padding bug that had previously been...
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

9 years agoMerge remote-tracking branch 'upstream/v2.0-dev' into feature/logarithmic_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

9 years agoAttempting to make resize better
Evert Timberg [Mon, 14 Sep 2015 22:50:52 +0000 (18:50 -0400)] 
Attempting to make resize better

9 years agoLet tooltips use time formatted labels if they exist
Tanner Linsley [Fri, 11 Sep 2015 18:20:32 +0000 (12:20 -0600)] 
Let tooltips use time formatted labels if they exist

9 years agoTime Scale Base
Tanner Linsley [Fri, 11 Sep 2015 04:48:48 +0000 (22:48 -0600)] 
Time Scale Base

9 years agoAdd Line chart with time scale sample
Tanner Linsley [Fri, 11 Sep 2015 04:48:20 +0000 (22:48 -0600)] 
Add Line chart with time scale sample

9 years agoAdd moment.js as dependency
Tanner Linsley [Fri, 11 Sep 2015 04:46:51 +0000 (22:46 -0600)] 
Add moment.js as dependency

9 years agoDo not test on gulp watch
Tanner Linsley [Fri, 11 Sep 2015 04:46:07 +0000 (22:46 -0600)] 
Do not test on gulp watch

9 years agoCommit built version of scale algo changes
Evert Timberg [Thu, 10 Sep 2015 00:28:34 +0000 (20:28 -0400)] 
Commit built version of scale algo changes

9 years agoBetter scale fitting algorithm to handle when label rotation changes due to the appli...
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

9 years agoHelper for resize listener
Evert Timberg [Sat, 5 Sep 2015 02:55:57 +0000 (22:55 -0400)] 
Helper for resize listener

9 years agoGet resize listener helper
Evert Timberg [Sat, 5 Sep 2015 02:55:41 +0000 (22:55 -0400)] 
Get resize listener helper

9 years agoMerge pull request #1436 from honza889/reverse-radar 1442/head
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

9 years agoReverse scale on radar/polar area 1436/head
Jan Kalina [Wed, 2 Sep 2015 21:14:12 +0000 (23:14 +0200)] 
Reverse scale on radar/polar area

9 years agoLatest built changes
Evert Timberg [Tue, 1 Sep 2015 22:12:37 +0000 (18:12 -0400)] 
Latest built changes

10 years agoMerge pull request #1430 from etimberg/feature/doughnutLabels
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

10 years agoIf the element has a label, use that in the tooltip instead of the dataset label. 1430/head
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.

10 years agoMerge pull request #1429 from etimberg/feature/unit-test
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

10 years agoMore linear scale tests 1429/head
Evert Timberg [Tue, 1 Sep 2015 00:42:29 +0000 (20:42 -0400)] 
More linear scale tests

10 years agoCheck some more data on the linear scale after fitting
Evert Timberg [Mon, 31 Aug 2015 01:50:41 +0000 (21:50 -0400)] 
Check some more data on the linear scale after fitting

10 years agoStart testing the linear scale fit code
Evert Timberg [Mon, 31 Aug 2015 01:49:39 +0000 (21:49 -0400)] 
Start testing the linear scale fit code