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

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

10 years agoMore helper tests 1428/head
Evert Timberg [Mon, 31 Aug 2015 00:46:26 +0000 (20:46 -0400)] 
More helper tests

10 years agoCore element tests
Evert Timberg [Mon, 31 Aug 2015 00:17:24 +0000 (20:17 -0400)] 
Core element tests

10 years agoBetter debug page reporting of failed tests
Evert Timberg [Sun, 30 Aug 2015 22:23:53 +0000 (18:23 -0400)] 
Better debug page reporting of failed tests

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

10 years agoAdd line controller tests. Fixed an issue when the number of data points changes... 1427/head
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.

10 years agoDoughnut controller tests
Evert Timberg [Sun, 30 Aug 2015 18:56:48 +0000 (14:56 -0400)] 
Doughnut controller tests

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

10 years agoFinish up bar controller tests 1426/head
Evert Timberg [Sun, 30 Aug 2015 14:42:00 +0000 (10:42 -0400)] 
Finish up bar controller tests

10 years agoInitial bar controller tests
Evert Timberg [Sun, 30 Aug 2015 02:27:40 +0000 (22:27 -0400)] 
Initial bar controller tests

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

10 years agoInitial line element tests. Did not test the skipNull functionality since it seems... 1425/head
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.

10 years agoArc element tests
Evert Timberg [Sat, 29 Aug 2015 16:31:44 +0000 (12:31 -0400)] 
Arc element tests

10 years agoRectangle element tests
Evert Timberg [Sat, 29 Aug 2015 12:53:42 +0000 (08:53 -0400)] 
Rectangle element tests

10 years agoDo mock context properties better
Evert Timberg [Sat, 29 Aug 2015 03:20:01 +0000 (23:20 -0400)] 
Do mock context properties better

10 years agoFirst set of tests for point. Started on a mockContext object for testing. Still...
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)

10 years agoStart writing tests for core.helpers. Fix a number of small bugs found during testing
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

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

10 years agoMerge remote-tracking branch 'upstream/v2.0-dev' into feature/unit-test 1424/head
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

10 years agoMerge pull request #1423 from nnnick/v2.0-dev-unit-test-via-travis
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

10 years agoInstall coverage metrics. Use `gulp coverage` to generate coverage reports
Evert Timberg [Fri, 28 Aug 2015 23:02:37 +0000 (19:02 -0400)] 
Install coverage metrics. Use `gulp coverage` to generate coverage reports

10 years agoOrganize Gulpfile, Integrate unit tests with Travis 1423/head
Tanner Linsley [Fri, 28 Aug 2015 22:58:23 +0000 (16:58 -0600)] 
Organize Gulpfile, Integrate unit tests with Travis

10 years agoThis should run the unit tests from the CI system
Evert Timberg [Fri, 28 Aug 2015 22:52:46 +0000 (18:52 -0400)] 
This should run the unit tests from the CI system

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

10 years agoDon't account for paddingLeft until after rotated
Tanner Linsley [Fri, 28 Aug 2015 21:12:35 +0000 (15:12 -0600)] 
Don't account for paddingLeft until after rotated

10 years agoInitial scale tests 1408/head
Evert Timberg [Sun, 23 Aug 2015 21:17:46 +0000 (17:17 -0400)] 
Initial scale tests

10 years agoRemove wrong addition of padding
Evert Timberg [Sun, 23 Aug 2015 21:17:21 +0000 (17:17 -0400)] 
Remove wrong addition of padding

10 years agoWatch mode runs tests.
Evert Timberg [Sun, 23 Aug 2015 19:55:10 +0000 (15:55 -0400)] 
Watch mode runs tests.

10 years agoInitial test setup
Evert Timberg [Sun, 23 Aug 2015 18:58:19 +0000 (14:58 -0400)] 
Initial test setup

10 years agoMerge pull request #1407 from etimberg/fix/category-filter-lines
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

10 years agoCategory scale filter function will hide the grid line if `null` or `undefined` returned. 1407/head
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.

10 years agoMerge pull request #1406 from etimberg/fix/combo-bar-width
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

10 years agoCount the number of bars when determining the bar width 1406/head
Evert Timberg [Sat, 22 Aug 2015 20:56:02 +0000 (16:56 -0400)] 
Count the number of bars when determining the bar width

10 years agoMerge pull request #1404 from etimberg/fix/setLineDash
Evert Timberg [Sat, 22 Aug 2015 20:17:02 +0000 (16:17 -0400)] 
Merge pull request #1404 from etimberg/fix/setLineDash

Only setLineDash if available

10 years agoIf setLineDash is not available, do not set it. 1404/head
Evert Timberg [Sat, 22 Aug 2015 20:13:19 +0000 (16:13 -0400)] 
If setLineDash is not available, do not set it.

10 years agoMerge pull request #1403 from etimberg/fix/labelArea
Evert Timberg [Sat, 22 Aug 2015 18:36:00 +0000 (14:36 -0400)] 
Merge pull request #1403 from etimberg/fix/labelArea

Fixes #1393

10 years agoCategory scale now takes a smaller size if no labels are being displayed. 1403/head
Evert Timberg [Sat, 22 Aug 2015 18:30:30 +0000 (14:30 -0400)] 
Category scale now takes a smaller size if no labels are being displayed.

Updated linear scale code to use proper bottom padding. This is important when not displaying x axis labels

10 years agoMerge pull request #1380 from etimberg/fix/template-caching
Evert Timberg [Sat, 22 Aug 2015 17:50:33 +0000 (13:50 -0400)] 
Merge pull request #1380 from etimberg/fix/template-caching

Fixes template caching issues

10 years agoMerge branch 'v2.0-dev' of https://github.com/nnnick/Chart.js into fix/template-caching 1380/head
Evert Timberg [Sat, 15 Aug 2015 14:57:13 +0000 (10:57 -0400)] 
Merge branch 'v2.0-dev' of https://github.com/nnnick/Chart.js into fix/template-caching

10 years agoProper template string caching
Evert Timberg [Sat, 15 Aug 2015 14:56:55 +0000 (10:56 -0400)] 
Proper template string caching

10 years agoFix bracket placement
Evert Timberg [Sat, 15 Aug 2015 14:54:34 +0000 (10:54 -0400)] 
Fix bracket placement

10 years agoMerge pull request #1374 from fastrde/v2.0-dev
Evert Timberg [Fri, 14 Aug 2015 23:50:15 +0000 (19:50 -0400)] 
Merge pull request #1374 from fastrde/v2.0-dev

Fix for #1373

10 years agoFix for #1373 1374/head
Fabian Strachanski [Thu, 13 Aug 2015 08:50:56 +0000 (10:50 +0200)] 
Fix for #1373

10 years agoinitial logarithmic scale
Evert Timberg [Sat, 8 Aug 2015 22:34:19 +0000 (18:34 -0400)] 
initial logarithmic scale

10 years agoDuring a mousemove event only re-render the chart instead of updating it. Updating...
Evert Timberg [Sat, 8 Aug 2015 22:12:01 +0000 (18:12 -0400)] 
During a mousemove event only re-render the chart instead of updating it. Updating uses more memory & causes flicker in the axes.

10 years agoLinear scale has proper padding in both vertical and horizontal orientations. Should...
Evert Timberg [Sat, 8 Aug 2015 15:52:20 +0000 (11:52 -0400)] 
Linear scale has proper padding in both vertical and horizontal orientations. Should prevent labels from getting cut off even when axes are not displayed.

10 years agoFix the outerRadius calculation with respect to the border width. Previously the...
Evert Timberg [Sat, 8 Aug 2015 14:14:37 +0000 (10:14 -0400)] 
Fix the outerRadius calculation with respect to the border width. Previously the border width was divided by 2 twice rather than once.

10 years agoMerge pull request #1367 from achichenin/patch-1
Evert Timberg [Sat, 8 Aug 2015 12:46:01 +0000 (08:46 -0400)] 
Merge pull request #1367 from achichenin/patch-1

Update 00-Getting-Started.md

10 years agoMerge pull request #1365 from pratyushmittal/v2.0-dev
Evert Timberg [Sat, 8 Aug 2015 12:45:13 +0000 (08:45 -0400)] 
Merge pull request #1365 from pratyushmittal/v2.0-dev

Added documentation for maxRotation of labels

10 years agoUpdate 00-Getting-Started.md 1367/head
achichenin [Sat, 8 Aug 2015 12:15:57 +0000 (15:15 +0300)] 
Update 00-Getting-Started.md

tiny typo fix

10 years agoAdded documentation for maxRotation of labels 1365/head
Pratyush Mittal [Sat, 8 Aug 2015 08:37:24 +0000 (14:07 +0530)] 
Added documentation for maxRotation of labels

10 years agoonAnimationComplete for zero-frame transitions
Tanner Linsley [Fri, 7 Aug 2015 19:39:09 +0000 (13:39 -0600)] 
onAnimationComplete for zero-frame transitions

10 years agoMerge pull request #1357 from bakura10/mirror-linear-scale
Evert Timberg [Wed, 5 Aug 2015 22:00:47 +0000 (18:00 -0400)] 
Merge pull request #1357 from bakura10/mirror-linear-scale

Add support for mirror option on labels

10 years agoAdd support for mirror option 1357/head
Michaël Gallego [Wed, 5 Aug 2015 15:40:44 +0000 (17:40 +0200)] 
Add support for mirror option

10 years agoBuild
Tanner Linsley [Tue, 4 Aug 2015 17:25:04 +0000 (11:25 -0600)] 
Build

10 years agochart.update(0) now draws instantly instead of not at all
Tanner Linsley [Tue, 4 Aug 2015 17:24:27 +0000 (11:24 -0600)] 
chart.update(0) now draws instantly instead of not at all

10 years agoMore Accurate animation frame dropper
Tanner Linsley [Mon, 3 Aug 2015 23:17:49 +0000 (17:17 -0600)] 
More Accurate animation frame dropper

10 years agoMerge pull request #1354 from nnnick/v2.0-dev-feature-auto-skip-labels
Evert Timberg [Mon, 3 Aug 2015 19:37:08 +0000 (15:37 -0400)] 
Merge pull request #1354 from nnnick/v2.0-dev-feature-auto-skip-labels

Auto-skip crowded axis-labels

10 years agoNo Logs 1353/head 1354/head
Tanner Linsley [Mon, 3 Aug 2015 19:06:53 +0000 (13:06 -0600)] 
No Logs

10 years agoDatasetWidth now incorporates chartPaddingLeft
Tanner Linsley [Mon, 3 Aug 2015 19:06:40 +0000 (13:06 -0600)] 
DatasetWidth now incorporates chartPaddingLeft

10 years agoAuto Skip Labels Attempt 1
Tanner Linsley [Tue, 7 Jul 2015 02:28:05 +0000 (22:28 -0400)] 
Auto Skip Labels Attempt 1

10 years agoMerge branch 'v2.0-dev' of https://github.com/nnnick/Chart.js into v2.0-dev
Evert Timberg [Sun, 5 Jul 2015 18:56:54 +0000 (14:56 -0400)] 
Merge branch 'v2.0-dev' of https://github.com/nnnick/Chart.js into v2.0-dev

10 years agoBuilt legend version
Evert Timberg [Sun, 5 Jul 2015 18:56:35 +0000 (14:56 -0400)] 
Built legend version

10 years agoDoughnut legends (only makes sense for first dataset).
Evert Timberg [Sun, 5 Jul 2015 18:56:22 +0000 (14:56 -0400)] 
Doughnut legends (only makes sense for first dataset).

10 years agoPolar area legends
Evert Timberg [Sun, 5 Jul 2015 18:48:04 +0000 (14:48 -0400)] 
Polar area legends

10 years agoLegends for Line, Bar & Radar charts.
Evert Timberg [Sun, 5 Jul 2015 18:47:56 +0000 (14:47 -0400)] 
Legends for Line, Bar & Radar charts.

10 years agoRemove log call from polar area draw.
Evert Timberg [Sun, 5 Jul 2015 18:36:27 +0000 (14:36 -0400)] 
Remove log call from polar area draw.

10 years agoMerge pull request #1278 from tuttnauer/patch-2
Evert Timberg [Sun, 5 Jul 2015 12:01:31 +0000 (08:01 -0400)] 
Merge pull request #1278 from tuttnauer/patch-2

Hover missing in parameter name

10 years agoHover missing in parameter name 1278/head
Guy [Sun, 5 Jul 2015 09:32:03 +0000 (12:32 +0300)] 
Hover missing in parameter name

In the 1st dataset, the second time "pointBorderWidth" appeared it was under a comment referring to hover so I corrected it to be "pointHoverBorderWidth".  Also in the 2nd dataset. Needs to be tested.

10 years agoBuilt files to include dataset scale changes
Evert Timberg [Sat, 4 Jul 2015 23:17:01 +0000 (19:17 -0400)] 
Built files to include dataset scale changes

10 years agoUpdate scale docs.
Evert Timberg [Mon, 22 Jun 2015 23:47:51 +0000 (19:47 -0400)] 
Update scale docs.

10 years agoMerge pull request #1242 from etimberg/fix/documentation
Evert Timberg [Mon, 22 Jun 2015 23:06:48 +0000 (19:06 -0400)] 
Merge pull request #1242 from etimberg/fix/documentation

Updated some docs + minor improvement to category scale

10 years agoLine chart doc updates 1242/head
Evert Timberg [Mon, 22 Jun 2015 23:05:50 +0000 (19:05 -0400)] 
Line chart doc updates

10 years agoAdd userCallback to category scale + demo file
Evert Timberg [Mon, 22 Jun 2015 23:03:01 +0000 (19:03 -0400)] 
Add userCallback to category scale + demo file

10 years agoUpdate getting started docs
Evert Timberg [Mon, 22 Jun 2015 22:46:12 +0000 (18:46 -0400)] 
Update getting started docs

10 years agoGulp build
Tanner Linsley [Mon, 22 Jun 2015 19:11:19 +0000 (13:11 -0600)] 
Gulp build

10 years agoMerge remote-tracking branch 'origin/v2.0-dev' into v2.0-dev
Tanner Linsley [Mon, 22 Jun 2015 19:10:52 +0000 (13:10 -0600)] 
Merge remote-tracking branch 'origin/v2.0-dev' into v2.0-dev

10 years agoSupport for custom tooltips again
Tanner Linsley [Mon, 22 Jun 2015 19:10:49 +0000 (13:10 -0600)] 
Support for custom tooltips again

10 years agoMerge pull request #1232 from etimberg/feature/line-stroke
Derek Perkins [Sat, 20 Jun 2015 15:07:48 +0000 (09:07 -0600)] 
Merge pull request #1232 from etimberg/feature/line-stroke

More user editable properties for line elements

10 years agoCan now change more properties for line drawing. Updated the sample file to demo 1232/head
Evert Timberg [Sat, 20 Jun 2015 13:47:35 +0000 (09:47 -0400)] 
Can now change more properties for line drawing. Updated the sample file to demo

10 years agoCategory scale label rotation improvements
Evert Timberg [Sat, 20 Jun 2015 00:24:14 +0000 (20:24 -0400)] 
Category scale label rotation improvements

10 years agoaddData is now supported by the doughnut chart + updated the sample to match.
Evert Timberg [Fri, 19 Jun 2015 23:51:28 +0000 (19:51 -0400)] 
addData is now supported by the doughnut chart + updated the sample to match.

10 years agoFix a missing `this` in the scale `generateTicks` method when manually overriding...
Evert Timberg [Fri, 19 Jun 2015 23:13:31 +0000 (19:13 -0400)] 
Fix a missing `this` in the scale `generateTicks` method when manually overriding. Added a sample to test this.