]> git.ipfire.org Git - thirdparty/Chart.js.git/log
thirdparty/Chart.js.git
10 years agoAdd suggested min and max to documentation. 1689/head
wcatron [Tue, 24 Nov 2015 07:28:15 +0000 (02:28 -0500)] 
Add suggested min and max to documentation.

10 years agoCreate very simple getting started example code.
wcatron [Tue, 24 Nov 2015 04:58:14 +0000 (23:58 -0500)] 
Create very simple getting started example code.

10 years agoUpdate remainder of tables for radar, polar, and pie. 1687/head
wcatron [Tue, 24 Nov 2015 00:32:38 +0000 (19:32 -0500)] 
Update remainder of tables for radar, polar, and pie.

10 years agoClean up periods and comments.
wcatron [Mon, 23 Nov 2015 17:09:40 +0000 (12:09 -0500)] 
Clean up periods and comments.

10 years agoUpdate options to tables, update example for bar. 1684/head
wcatron [Mon, 23 Nov 2015 17:03:38 +0000 (12:03 -0500)] 
Update options to tables, update example for bar.

10 years agoUpdate line chart documentation options to table.
wcatron [Fri, 20 Nov 2015 00:55:12 +0000 (19:55 -0500)] 
Update line chart documentation options to table.

10 years agoUpdate getting started documentation default options w/ table. 1669/head
wcatron [Thu, 19 Nov 2015 21:14:13 +0000 (16:14 -0500)] 
Update getting started documentation default options w/ table.

10 years agoUpdate doughnut documentation for intiializer and data. 1668/head
wcatron [Thu, 19 Nov 2015 16:47:47 +0000 (11:47 -0500)] 
Update doughnut documentation for intiializer and data.

10 years agoUpdate Rader initializer and data structure keys.
wcatron [Thu, 19 Nov 2015 16:43:00 +0000 (11:43 -0500)] 
Update Rader initializer and data structure keys.

10 years agoUpdate initializer documentation for Bar.
wcatron [Thu, 19 Nov 2015 16:35:38 +0000 (11:35 -0500)] 
Update initializer documentation for Bar.

10 years agoMerge pull request #1667 from nnnick/fix/pie-legend
Evert Timberg [Thu, 19 Nov 2015 02:38:52 +0000 (21:38 -0500)] 
Merge pull request #1667 from nnnick/fix/pie-legend

Pie and Polar area legend functions

10 years agoMerge pull request #1662 from nnnick/fix/string-linear-data
Evert Timberg [Thu, 19 Nov 2015 02:35:56 +0000 (21:35 -0500)] 
Merge pull request #1662 from nnnick/fix/string-linear-data

Handle data as strings in numeric scales

10 years agoFix polar area legends 1667/head
etimberg [Thu, 19 Nov 2015 02:30:16 +0000 (21:30 -0500)] 
Fix polar area legends

10 years agofix pie & doughnut legend
etimberg [Thu, 19 Nov 2015 02:24:49 +0000 (21:24 -0500)] 
fix pie & doughnut legend

10 years agoMake sure data is converted to a number in scales when determining min and max. Add... 1662/head
Evert Timberg [Tue, 17 Nov 2015 23:43:18 +0000 (18:43 -0500)] 
Make sure data is converted to a number in scales when determining min and max. Add tests for this condition to linear, radialLinear, and logarithmic scales.

10 years agoFix tests
Evert Timberg [Tue, 17 Nov 2015 23:38:19 +0000 (18:38 -0500)] 
Fix tests

10 years agoMerge pull request #1642 from nnnick/fix/1527
Tanner Linsley [Mon, 16 Nov 2015 23:10:24 +0000 (16:10 -0700)] 
Merge pull request #1642 from nnnick/fix/1527

Doughnut, polar area, and radar samples should use the same canvas style

10 years agoMerge pull request #1645 from nnnick/fix/null-callback
Tanner Linsley [Mon, 16 Nov 2015 23:10:16 +0000 (16:10 -0700)] 
Merge pull request #1645 from nnnick/fix/null-callback

Hide lines for which the tick label callback returns null or undefined

10 years agoMerge pull request #1646 from nnnick/fix/1640
Tanner Linsley [Mon, 16 Nov 2015 23:10:01 +0000 (16:10 -0700)] 
Merge pull request #1646 from nnnick/fix/1640

Can now replace entire chart data object on the fly

10 years agoMerge pull request #1647 from nnnick/fix/1324
Tanner Linsley [Mon, 16 Nov 2015 23:09:53 +0000 (16:09 -0700)] 
Merge pull request #1647 from nnnick/fix/1324

Fall back to line settings for points if necessary

10 years agoMerge pull request #1644 from nnnick/fix/touch-events
Tanner Linsley [Mon, 16 Nov 2015 23:09:41 +0000 (16:09 -0700)] 
Merge pull request #1644 from nnnick/fix/touch-events

Do not bind to touchend events for tooltips

10 years agoMerge pull request #1653 from nnnick/fix/1381
Tanner Linsley [Mon, 16 Nov 2015 23:07:58 +0000 (16:07 -0700)] 
Merge pull request #1653 from nnnick/fix/1381

Fixes flickering during animations

10 years agoUpdate samples 1653/head
Evert Timberg [Sun, 15 Nov 2015 16:17:02 +0000 (11:17 -0500)] 
Update samples

10 years agoCan now skip in all cases (start, mid, end) whether or not there is a look
Evert Timberg [Sun, 15 Nov 2015 16:16:41 +0000 (11:16 -0500)] 
Can now skip in all cases (start, mid, end) whether or not there is a look

10 years agoKeep this as NaN so point._view.skip is set correctly
Evert Timberg [Sun, 15 Nov 2015 16:16:17 +0000 (11:16 -0500)] 
Keep this as NaN so point._view.skip is set correctly

10 years agoFix line tests. Still need to add tests of the skip code.
Evert Timberg [Sun, 15 Nov 2015 04:16:07 +0000 (23:16 -0500)] 
Fix line tests. Still need to add tests of the skip code.

10 years agoFix an incorrect test setup
Evert Timberg [Sun, 15 Nov 2015 03:52:10 +0000 (22:52 -0500)] 
Fix an incorrect test setup

10 years agoHandle transitioning NaNs
Evert Timberg [Sun, 15 Nov 2015 03:49:53 +0000 (22:49 -0500)] 
Handle transitioning NaNs

10 years agoPrevent NaN results when previous, point, and next are all the same
Evert Timberg [Sun, 15 Nov 2015 03:49:08 +0000 (22:49 -0500)] 
Prevent NaN results when previous, point, and next are all the same

10 years agosome duplicate code cleanup
Evert Timberg [Sun, 15 Nov 2015 03:06:37 +0000 (22:06 -0500)] 
some duplicate code cleanup

10 years agoRefactor the lineToNextPoint functionality to give the correct draw line behaviour...
Evert Timberg [Sun, 15 Nov 2015 02:57:22 +0000 (21:57 -0500)] 
Refactor the lineToNextPoint functionality to give the correct draw line behaviour. Makes the code a little cleaner too.

10 years agoTypo
Evert Timberg [Sat, 14 Nov 2015 03:42:42 +0000 (22:42 -0500)] 
Typo

10 years agoCleanup
Evert Timberg [Sat, 14 Nov 2015 03:42:33 +0000 (22:42 -0500)] 
Cleanup

10 years agoSimplify code for capping bezier control points. Cap the X direction as well.
Evert Timberg [Sat, 14 Nov 2015 03:15:23 +0000 (22:15 -0500)] 
Simplify code for capping bezier control points. Cap the X direction as well.

10 years agoRefactor the line drawing code. Tests are broken.
Evert Timberg [Sat, 14 Nov 2015 03:04:38 +0000 (22:04 -0500)] 
Refactor the line drawing code. Tests are broken.

10 years agoMerge pull request #1649 from nnnick/fix/scale_fitting
Evert Timberg [Fri, 13 Nov 2015 18:57:00 +0000 (13:57 -0500)] 
Merge pull request #1649 from nnnick/fix/scale_fitting

Improve the fitting of vertical axes

10 years agoAlways include padding to ensure that we can always see the tick labels of vertical... 1649/head
Evert Timberg [Fri, 13 Nov 2015 18:24:22 +0000 (13:24 -0500)] 
Always include padding to ensure that we can always see the tick labels of vertical axes

10 years agoUse the dataset backgroundColor, borderWidth, and borderColor, if specified, for... 1647/head
Evert Timberg [Fri, 13 Nov 2015 16:21:44 +0000 (11:21 -0500)] 
Use the dataset backgroundColor, borderWidth, and borderColor, if specified, for points. Added tests for this case.

10 years agoUpdate line sample to change the entire data object 1646/head
Evert Timberg [Fri, 13 Nov 2015 15:01:38 +0000 (10:01 -0500)] 
Update line sample to change the entire data object

10 years agoReference data from the main controller wherever possible. Updated tests to account...
Evert Timberg [Fri, 13 Nov 2015 14:38:35 +0000 (09:38 -0500)] 
Reference data from the main controller wherever possible. Updated tests to account for this.

10 years agoUpdate tooltip colour draw code
Evert Timberg [Fri, 13 Nov 2015 13:20:39 +0000 (08:20 -0500)] 
Update tooltip colour draw code

10 years agoTest for skipping drawing 1645/head
Evert Timberg [Thu, 12 Nov 2015 02:49:07 +0000 (21:49 -0500)] 
Test for skipping drawing

10 years agoBail out, same as the x axis
Evert Timberg [Thu, 12 Nov 2015 02:40:29 +0000 (21:40 -0500)] 
Bail out, same as the x axis

10 years agoDo not bind to touchend events. This is the same as v1.x 1644/head
Evert Timberg [Thu, 12 Nov 2015 02:21:25 +0000 (21:21 -0500)] 
Do not bind to touchend events. This is the same as v1.x

10 years agoDoughnut, polar area, and radar samples should use the same canvas style 1642/head
etimberg [Thu, 12 Nov 2015 00:06:36 +0000 (19:06 -0500)] 
Doughnut, polar area, and radar samples should use the same canvas style

10 years agoMerge pull request #1632 from pascoual/v2.0-dev
Evert Timberg [Tue, 10 Nov 2015 00:46:41 +0000 (19:46 -0500)] 
Merge pull request #1632 from pascoual/v2.0-dev

Fix: no tooltips when missing data for one or more dataset

10 years agoFix: tooltips checks indent 1632/head
Pascoual [Tue, 10 Nov 2015 00:00:30 +0000 (01:00 +0100)] 
Fix: tooltips checks indent

10 years agoFix: no tooltips when missing data for one or more dataset
Pascoual [Mon, 9 Nov 2015 23:53:08 +0000 (00:53 +0100)] 
Fix: no tooltips when missing data for one or more dataset

10 years agoMerge pull request #1628 from nnnick/chrome-travis
Tanner Linsley [Sat, 7 Nov 2015 21:00:34 +0000 (14:00 -0700)] 
Merge pull request #1628 from nnnick/chrome-travis

Travis CI should also run tests on chrome

10 years agoFix tests 1628/head
Evert Timberg [Sat, 7 Nov 2015 14:40:41 +0000 (09:40 -0500)] 
Fix tests

10 years agoTravis CI should also run tests on chrome
Evert Timberg [Sat, 7 Nov 2015 14:34:07 +0000 (09:34 -0500)] 
Travis CI should also run tests on chrome

10 years agoMerge pull request #1627 from pascoual/v2.0-dev
Evert Timberg [Sat, 7 Nov 2015 00:56:29 +0000 (19:56 -0500)] 
Merge pull request #1627 from pascoual/v2.0-dev

Add: options.ticks.maxTicksLimit

10 years agoUpdate doc for options.ticks.maxTicksLimit 1627/head
Pascal Richier [Sat, 7 Nov 2015 00:46:14 +0000 (01:46 +0100)] 
Update doc for options.ticks.maxTicksLimit

10 years agoUpdate doc for options.ticks.maxTicksLimit
Pascal Richier [Sat, 7 Nov 2015 00:42:19 +0000 (01:42 +0100)] 
Update doc for options.ticks.maxTicksLimit

10 years agoAdd options.ticks.maxTicksLimit
Pascal Richier [Sat, 7 Nov 2015 00:39:30 +0000 (01:39 +0100)] 
Add options.ticks.maxTicksLimit

To be able to change default '11' value

10 years agoAdd options.ticks.maxTicksLimit
Pascal Richier [Sat, 7 Nov 2015 00:37:09 +0000 (01:37 +0100)] 
Add options.ticks.maxTicksLimit

To be able to change default '11' value

10 years agoMerge pull request #1601 from nnnick/fix/stacked-bar-line-scale
Evert Timberg [Tue, 3 Nov 2015 23:14:37 +0000 (18:14 -0500)] 
Merge pull request #1601 from nnnick/fix/stacked-bar-line-scale

Fixed stacked scale calculation for combo charts

10 years agoMerge pull request #1612 from enumag/patch-1
Evert Timberg [Tue, 3 Nov 2015 13:47:43 +0000 (08:47 -0500)] 
Merge pull request #1612 from enumag/patch-1

typo

10 years agotypo 1612/head
Jáchym Toušek [Tue, 3 Nov 2015 12:49:34 +0000 (13:49 +0100)] 
typo

10 years agoMerge pull request #1606 from levithomason/patch-1
Evert Timberg [Mon, 2 Nov 2015 12:29:46 +0000 (07:29 -0500)] 
Merge pull request #1606 from levithomason/patch-1

Fix getting started global chart config typo

10 years agofix getting started global chart config typo 1606/head
Levi Thomason [Mon, 2 Nov 2015 07:03:14 +0000 (23:03 -0800)] 
fix getting started global chart config typo

10 years agoMerge pull request #1603 from nnnick/fix-tooltips
Derek Perkins [Mon, 2 Nov 2015 05:52:46 +0000 (22:52 -0700)] 
Merge pull request #1603 from nnnick/fix-tooltips

Only call custom tooltips when elements have changed.  But be sure to call update internally any time that tooltips need to be redrawn.

10 years agoCheck if dataset is visible when adding active elements to a tooltip 1603/head
Tanner Linsley [Mon, 2 Nov 2015 05:50:16 +0000 (22:50 -0700)] 
Check if dataset is visible when adding active elements to a tooltip

10 years agoElementsAtLabel now returns all datasets' elements at the found index
Tanner Linsley [Mon, 2 Nov 2015 05:44:31 +0000 (22:44 -0700)] 
ElementsAtLabel now returns all datasets' elements at the found index

10 years agoTooltip's label mode now uses average position of all points
Tanner Linsley [Mon, 2 Nov 2015 05:43:44 +0000 (22:43 -0700)] 
Tooltip's label mode now uses average position of all points

10 years agoBuilt files
Evert Timberg [Mon, 2 Nov 2015 01:42:13 +0000 (20:42 -0500)] 
Built files

10 years agoMerge pull request #1604 from nnnick/fix/stacked-bar-x
Tanner Linsley [Mon, 2 Nov 2015 01:36:55 +0000 (18:36 -0700)] 
Merge pull request #1604 from nnnick/fix/stacked-bar-x

Fixes bar charts when only Y scale is in stacked mode

10 years agoUse correct option to detect stacked mode along x axis. 1604/head
Evert Timberg [Mon, 2 Nov 2015 01:26:58 +0000 (20:26 -0500)] 
Use correct option to detect stacked mode along x axis.

10 years agoOnly call custom tooltips when elements have changed. But be sure to call update... 1602/head
Tanner Linsley [Sun, 1 Nov 2015 20:56:36 +0000 (13:56 -0700)] 
Only call custom tooltips when elements have changed.  But be sure to call update internally any time that tooltips need to be redrawn.

10 years agoLog scale + tests 1601/head
Evert Timberg [Sun, 1 Nov 2015 14:07:18 +0000 (09:07 -0500)] 
Log scale + tests

10 years agoUpdate linear scale + tests
Evert Timberg [Sun, 1 Nov 2015 13:45:12 +0000 (08:45 -0500)] 
Update linear scale + tests

10 years agoMerge pull request #1600 from nnnick/fix-line-stacked-area
Derek Perkins [Sun, 1 Nov 2015 04:48:29 +0000 (22:48 -0600)] 
Merge pull request #1600 from nnnick/fix-line-stacked-area

Fix line stacked area

10 years agoAllow line controller to calculate stacked values 1600/head
Tanner Linsley [Sun, 1 Nov 2015 04:45:25 +0000 (22:45 -0600)] 
Allow line controller to calculate stacked values

10 years agoStacked Area Example
Tanner Linsley [Sun, 1 Nov 2015 04:45:11 +0000 (22:45 -0600)] 
Stacked Area Example

10 years agoMerge pull request #1586 from nnnick/fix/begin-at-zero-issue-with-constant-data
Evert Timberg [Sun, 1 Nov 2015 00:23:57 +0000 (20:23 -0400)] 
Merge pull request #1586 from nnnick/fix/begin-at-zero-issue-with-constant-data

Scale expansion if min === max will only occur after ticks.beginAtZero is handled

10 years agoCommit Built Files
Tanner Linsley [Sun, 1 Nov 2015 00:22:52 +0000 (18:22 -0600)] 
Commit Built Files

10 years agoMerge pull request #1599 from nnnick/fix-more-custom-tooltips
Derek Perkins [Sun, 1 Nov 2015 00:21:54 +0000 (18:21 -0600)] 
Merge pull request #1599 from nnnick/fix-more-custom-tooltips

Fix more custom tooltips

10 years agoBetter Example 1599/head
Tanner Linsley [Sun, 1 Nov 2015 00:17:52 +0000 (18:17 -0600)] 
Better Example

10 years agoRemove logs
Tanner Linsley [Sun, 1 Nov 2015 00:17:42 +0000 (18:17 -0600)] 
Remove logs

10 years agoUpdate tooltip only when things change (which will only trigger customTooltips when...
Tanner Linsley [Sun, 1 Nov 2015 00:17:32 +0000 (18:17 -0600)] 
Update tooltip only when things change (which will only trigger customTooltips when model changes)

10 years agoMore concise change detection
Tanner Linsley [Sun, 1 Nov 2015 00:17:06 +0000 (18:17 -0600)] 
More concise change detection

10 years agoRemove Tooltip opacity from core-controller
Tanner Linsley [Sun, 1 Nov 2015 00:16:35 +0000 (18:16 -0600)] 
Remove Tooltip opacity from core-controller

10 years agoDon't kill lastActives on chart hover exit
Tanner Linsley [Sun, 1 Nov 2015 00:15:58 +0000 (18:15 -0600)] 
Don't kill lastActives on chart hover exit

10 years agoHandle opacity in the tooltip update method
Tanner Linsley [Sun, 1 Nov 2015 00:14:56 +0000 (18:14 -0600)] 
Handle opacity in the tooltip update method

10 years agoCommit Built Files
Tanner Linsley [Sat, 31 Oct 2015 22:40:23 +0000 (16:40 -0600)] 
Commit Built Files

10 years agoMerge pull request #1597 from nnnick/fix-custom-tooltips
Evert Timberg [Sat, 31 Oct 2015 22:16:08 +0000 (18:16 -0400)] 
Merge pull request #1597 from nnnick/fix-custom-tooltips

Fix custom tooltips

10 years agocommas to pass jshint 1597/head
Tanner Linsley [Sat, 31 Oct 2015 22:09:11 +0000 (16:09 -0600)] 
commas to pass jshint

10 years agoCustom Tooltip example now works with the basics
Tanner Linsley [Sat, 31 Oct 2015 22:08:55 +0000 (16:08 -0600)] 
Custom Tooltip example now works with the basics

10 years agocall the custom callback in tooltip options
Tanner Linsley [Sat, 31 Oct 2015 22:07:57 +0000 (16:07 -0600)] 
call the custom callback in tooltip options

10 years agoCall tooltip update even when tooltip has no active elements
Tanner Linsley [Sat, 31 Oct 2015 22:07:36 +0000 (16:07 -0600)] 
Call tooltip update even when tooltip has no active elements

10 years agoMerge pull request #1596 from nnnick/fix/v2.0-beta0-tooltips
Tanner Linsley [Sat, 31 Oct 2015 17:23:47 +0000 (11:23 -0600)] 
Merge pull request #1596 from nnnick/fix/v2.0-beta0-tooltips

Improve v2.0.0-beta0 tooltips

10 years agoTests for suggestedMin and suggestedMax options 1586/head
Evert Timberg [Sat, 31 Oct 2015 15:40:51 +0000 (11:40 -0400)] 
Tests for suggestedMin and suggestedMax options

10 years agosuggestedMin and suggestedMax options for scales
etimberg [Sat, 31 Oct 2015 15:01:40 +0000 (11:01 -0400)] 
suggestedMin and suggestedMax options for scales

10 years agoPolar area tooltip improvements 1596/head
etimberg [Sat, 31 Oct 2015 01:04:45 +0000 (21:04 -0400)] 
Polar area tooltip improvements

10 years agoDoughnut chart tooltips work
etimberg [Sat, 31 Oct 2015 00:48:31 +0000 (20:48 -0400)] 
Doughnut chart tooltips work

10 years agotooltips for radar charts are working
etimberg [Sat, 31 Oct 2015 00:35:36 +0000 (20:35 -0400)] 
tooltips for radar charts are working

10 years agoFix up arguments to tooltip callbacks. Simplified code in some places and removed...
etimberg [Sat, 31 Oct 2015 00:12:05 +0000 (20:12 -0400)] 
Fix up arguments to tooltip callbacks. Simplified code in some places and removed old code.

10 years agoPlay around with tooltip to see if a better API is possible. No longer crashes for...
etimberg [Thu, 29 Oct 2015 02:52:43 +0000 (22:52 -0400)] 
Play around with tooltip to see if a better API is possible. No longer crashes for polar area / doughnut / radar charts

10 years agoScale expansion if min === max will only occur after ticks.beginAtZero is handled 1581/head
etimberg [Wed, 28 Oct 2015 00:04:21 +0000 (20:04 -0400)] 
Scale expansion if min === max will only occur after ticks.beginAtZero is handled

10 years agoelement.line.js now passes tests
Tanner Linsley [Tue, 27 Oct 2015 01:40:52 +0000 (19:40 -0600)] 
element.line.js now passes tests