]> git.ipfire.org Git - thirdparty/Chart.js.git/log
thirdparty/Chart.js.git
9 years agotypo 1612/head
Jáchym Toušek [Tue, 3 Nov 2015 12:49:34 +0000 (13:49 +0100)] 
typo

9 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

9 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

9 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.

9 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

9 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

9 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

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

9 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

9 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.

9 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.

9 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

9 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

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

9 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

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

9 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

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

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

9 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)

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

9 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

9 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

9 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

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

9 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

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

9 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

9 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

9 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

9 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

9 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

9 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

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

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

9 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

9 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.

9 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

9 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

9 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

9 years agoDo not draw line up on first point of line
Tanner Linsley [Tue, 27 Oct 2015 01:24:48 +0000 (19:24 -0600)] 
Do not draw line up on first point of line

9 years agoRename 01-Scales to 01-Scales.md
Tanner Linsley [Mon, 26 Oct 2015 18:47:37 +0000 (12:47 -0600)] 
Rename 01-Scales to 01-Scales.md

Closes #1574

9 years agoUpdated Readme, and versions for beta release 2.0.0-beta
Tanner Linsley [Sat, 24 Oct 2015 23:17:13 +0000 (17:17 -0600)] 
Updated Readme, and versions for beta release

9 years agoBuilt Distributables
Tanner Linsley [Sat, 24 Oct 2015 22:47:24 +0000 (16:47 -0600)] 
Built Distributables

9 years agoMerge pull request #1567 from nnnick/fix/rounding
Tanner Linsley [Sat, 24 Oct 2015 07:40:43 +0000 (01:40 -0600)] 
Merge pull request #1567 from nnnick/fix/rounding

Better linear scale tick formatter + small tick generation

9 years agoMerge pull request #1566 from nnnick/v2.0-dev-skip-null-fixes
Tanner Linsley [Sat, 24 Oct 2015 07:35:42 +0000 (01:35 -0600)] 
Merge pull request #1566 from nnnick/v2.0-dev-skip-null-fixes

V2.0 dev skip null fixes

9 years agoUse the new travis CI docker framework (hopefully) 1566/head
Tanner Linsley [Sat, 24 Oct 2015 07:31:08 +0000 (01:31 -0600)] 
Use the new travis CI docker framework (hopefully)

9 years agoradialLinear scale tests now expect rounded values
Tanner Linsley [Sat, 24 Oct 2015 07:25:00 +0000 (01:25 -0600)] 
radialLinear scale tests now expect rounded values

The rounding problems compounded in a few areas (like the
distanceFromCenter function and drawingArea property).  Those are now
more accurate.

9 years agoLine element and controller tests now coincide with the latest skipNull refactor
Tanner Linsley [Sat, 24 Oct 2015 07:23:51 +0000 (01:23 -0600)] 
Line element and controller tests now coincide with the latest skipNull refactor

9 years agoradialLInear getPointPosition now rounds crazy decimals
Tanner Linsley [Sat, 24 Oct 2015 07:23:13 +0000 (01:23 -0600)] 
radialLInear getPointPosition now rounds crazy decimals

This particular part of testing was succeeding in chrome, and failing
in firefox.  It should be rounded anyway.

9 years agorecursive and accurate getRightValue
Tanner Linsley [Sat, 24 Oct 2015 07:22:12 +0000 (01:22 -0600)] 
recursive and accurate getRightValue

9 years agoFix tests affected by changes to default label formatter 1567/head
etimberg [Sat, 24 Oct 2015 02:11:59 +0000 (22:11 -0400)] 
Fix tests affected by changes to default label formatter

9 years agoImproved number format function. Also improved the generation of small tick values
etimberg [Sat, 24 Oct 2015 02:00:59 +0000 (22:00 -0400)] 
Improved number format function. Also improved the generation of small tick values

9 years agoScale min/max calculations now disregard bad values
Tanner Linsley [Fri, 23 Oct 2015 22:41:11 +0000 (16:41 -0600)] 
Scale min/max calculations now disregard bad values

9 years agoPoint Skipping now draws properly and is easier to understand
Tanner Linsley [Fri, 23 Oct 2015 22:37:34 +0000 (16:37 -0600)] 
Point Skipping now draws properly and is easier to understand

9 years agoBad values for data are now converted to NaN
Tanner Linsley [Fri, 23 Oct 2015 22:36:59 +0000 (16:36 -0600)] 
Bad values for data are now converted to NaN

9 years agoSplineCurve function now graciously handles skipped points
Tanner Linsley [Fri, 23 Oct 2015 22:36:33 +0000 (16:36 -0600)] 
SplineCurve function now graciously handles skipped points

9 years agoRadar controller now skips non-numerical coordinates
Tanner Linsley [Fri, 23 Oct 2015 22:36:00 +0000 (16:36 -0600)] 
Radar controller now skips non-numerical coordinates

9 years agoLine controller now skips non-numerical coordinates
Tanner Linsley [Fri, 23 Oct 2015 22:35:52 +0000 (16:35 -0600)] 
Line controller now skips non-numerical coordinates

9 years agoBubble controller now skips on non-numerical coordinates
Tanner Linsley [Fri, 23 Oct 2015 22:34:40 +0000 (16:34 -0600)] 
Bubble controller now skips on non-numerical coordinates

9 years agoMerge pull request #1542 from nnnick/v2.0-dev-tooltip-refactor
Tanner Linsley [Fri, 23 Oct 2015 19:02:57 +0000 (13:02 -0600)] 
Merge pull request #1542 from nnnick/v2.0-dev-tooltip-refactor

V2.0 dev tooltip refactor

9 years agoOnly use active datasets in the tooltip body 1542/head
Tanner Linsley [Fri, 23 Oct 2015 18:40:56 +0000 (12:40 -0600)] 
Only use active datasets in the tooltip body

9 years agoTrack lastTooltipActive for change animations
Tanner Linsley [Fri, 23 Oct 2015 18:40:38 +0000 (12:40 -0600)] 
Track lastTooltipActive for change animations

Since we split up the hover and tooltips modes, both changes need to be
tracked for visual updates between the two.

9 years agoMerge pull request #1559 from posgarou/bugfix/chart_undefined_in_core_helper
Tanner Linsley [Thu, 22 Oct 2015 18:04:16 +0000 (12:04 -0600)] 
Merge pull request #1559 from posgarou/bugfix/chart_undefined_in_core_helper

Fix mistaken variable assignment in core files

9 years agoFix similar typos in core.controller & element 1559/head
Ryan Mitchell [Thu, 22 Oct 2015 16:47:45 +0000 (12:47 -0400)] 
Fix similar typos in core.controller & element

9 years agoFix typo in core.helpers.js
Ryan Mitchell [Thu, 22 Oct 2015 16:41:03 +0000 (12:41 -0400)] 
Fix typo in core.helpers.js

9 years agoTime scale test fix for optional labels
etimberg [Thu, 22 Oct 2015 01:00:13 +0000 (21:00 -0400)] 
Time scale test fix for optional labels

9 years agotest fix
etimberg [Thu, 22 Oct 2015 00:47:22 +0000 (20:47 -0400)] 
test fix

9 years agoMerge remote-tracking branch 'origin/v2.0-dev' into v2.0-dev-tooltip-refactor
etimberg [Thu, 22 Oct 2015 00:18:23 +0000 (20:18 -0400)] 
Merge remote-tracking branch 'origin/v2.0-dev' into v2.0-dev-tooltip-refactor

9 years agoMerge pull request #1551 from nnnick/travis-unit-test
Tanner Linsley [Wed, 21 Oct 2015 00:38:27 +0000 (18:38 -0600)] 
Merge pull request #1551 from nnnick/travis-unit-test

Unit tests work better with Travis

9 years agoFix JSHint errors 1551/head
etimberg [Wed, 21 Oct 2015 00:33:51 +0000 (20:33 -0400)] 
Fix JSHint errors

9 years agoFix 2 test fails
Evert Timberg [Wed, 21 Oct 2015 00:12:56 +0000 (20:12 -0400)] 
Fix 2 test fails

9 years agoTest in firefox on travis
Evert Timberg [Wed, 21 Oct 2015 00:08:41 +0000 (20:08 -0400)] 
Test in firefox on travis

9 years agoSupport min and max dates on time scale
Tanner Linsley [Tue, 20 Oct 2015 03:23:01 +0000 (21:23 -0600)] 
Support min and max dates on time scale

9 years agoLabels are now optional for the time scale.
etimberg [Mon, 19 Oct 2015 23:20:08 +0000 (19:20 -0400)] 
Labels are now optional for the time scale.

9 years agoFix 2 fails due to a bug fix for the scale label colour.
Evert Timberg [Sun, 18 Oct 2015 23:57:06 +0000 (19:57 -0400)] 
Fix 2 fails due to a bug fix for the scale label colour.

9 years agoDown to 3 test failures
Evert Timberg [Sun, 18 Oct 2015 23:48:57 +0000 (19:48 -0400)] 
Down to 3 test failures

9 years agoFix some test failures
Evert Timberg [Sun, 18 Oct 2015 23:34:56 +0000 (19:34 -0400)] 
Fix some test failures

9 years agoMerge remote-tracking branch 'origin/v2.0-dev' into v2.0-dev-tooltip-refactor
etimberg [Sun, 18 Oct 2015 22:17:39 +0000 (18:17 -0400)] 
Merge remote-tracking branch 'origin/v2.0-dev' into v2.0-dev-tooltip-refactor

9 years agoUpdate docs a bit for new items. Small updates for tooltip labels.
etimberg [Sun, 18 Oct 2015 22:14:56 +0000 (18:14 -0400)] 
Update docs a bit for new items. Small updates for tooltip labels.

9 years agoTime scales now support passing in data as points. Added this to the time scale sampl...
etimberg [Sun, 18 Oct 2015 22:00:46 +0000 (18:00 -0400)] 
Time scales now support passing in data as points. Added this to the time scale sample file.

9 years agoAdd a helper function to reduce code size
etimberg [Sun, 18 Oct 2015 20:31:18 +0000 (16:31 -0400)] 
Add a helper function to reduce code size

9 years agoFactor out `getLabelForIndex` into each scale so we can return appropriate data based...
etimberg [Sun, 18 Oct 2015 20:13:57 +0000 (16:13 -0400)] 
Factor out `getLabelForIndex` into each scale so we can return appropriate data based on the scale type

9 years agoUse correct function to get `afterBody` lines for tooltip.
etimberg [Sun, 18 Oct 2015 14:39:54 +0000 (10:39 -0400)] 
Use correct function to get `afterBody` lines for tooltip.

9 years agoAll tooltip callbacks support arrays for lines, and no drawing invisible tooltips.
Tanner Linsley [Sat, 17 Oct 2015 21:53:33 +0000 (15:53 -0600)] 
All tooltip callbacks support arrays for lines, and no drawing invisible tooltips.

Simply return a string for a single line tooltip, or return an array to
create multiple lines.

9 years agoMerge pull request #1512 from nnnick/v2.0-dev-bubble-controller
Evert Timberg [Sat, 17 Oct 2015 12:46:44 +0000 (08:46 -0400)] 
Merge pull request #1512 from nnnick/v2.0-dev-bubble-controller

Bubble Chart Type and Bubble Controller

9 years agoMerge pull request #1541 from nnnick/v2.0-dev-testing-fixes
Evert Timberg [Sat, 17 Oct 2015 12:30:37 +0000 (08:30 -0400)] 
Merge pull request #1541 from nnnick/v2.0-dev-testing-fixes

Testing fixes for time scale

9 years agoTesting fixes for time scale 1541/head
Tanner Linsley [Sat, 17 Oct 2015 03:14:07 +0000 (21:14 -0600)] 
Testing fixes for time scale

9 years agoMerge pull request #1540 from nnnick/fix/scale-tick-font-size
Tanner Linsley [Sat, 17 Oct 2015 02:48:46 +0000 (20:48 -0600)] 
Merge pull request #1540 from nnnick/fix/scale-tick-font-size

Draw scale ticks using correct font

9 years agoUse the correct font for the ticks. Ensure that scale labels fill in the correct... 1539/head 1540/head
etimberg [Sat, 17 Oct 2015 02:00:43 +0000 (22:00 -0400)] 
Use the correct font for the ticks. Ensure that scale labels fill in the correct colour.

9 years agoMerge pull request #1538 from lpaluszk/v2.0-dev
Evert Timberg [Sat, 17 Oct 2015 01:25:34 +0000 (21:25 -0400)] 
Merge pull request #1538 from lpaluszk/v2.0-dev

Fix HTMLIframeElement remove/removeNode issue in removeResizeListener…

9 years agoFix HTMLIframeElement remove/removeNode issue in removeResizeListener method 1538/head
Lucas Styles [Fri, 16 Oct 2015 23:35:47 +0000 (00:35 +0100)] 
Fix HTMLIframeElement remove/removeNode issue in removeResizeListener method

9 years agoMerge pull request #1526 from etimberg/fix/responsive-config-setting
Tanner Linsley [Tue, 13 Oct 2015 17:46:14 +0000 (11:46 -0600)] 
Merge pull request #1526 from etimberg/fix/responsive-config-setting

Use the correct merged responsive setting in the resize listener

9 years agoBefore labels can rotate, we need the appropriate left, right, top, & bottom attribut...
Evert Timberg [Tue, 13 Oct 2015 15:43:00 +0000 (11:43 -0400)] 
Before labels can rotate, we need the appropriate left, right, top, & bottom attributes of the scale set with default values so that tick spacing can be determined. After ensuring that this happens, tests needed to be updated. Added unit testing for the scale service.

9 years agoFix JSHint task
Evert Timberg [Tue, 13 Oct 2015 14:33:59 +0000 (10:33 -0400)] 
Fix JSHint task

9 years agoTooltip Hooks
Tanner Linsley [Mon, 12 Oct 2015 20:51:00 +0000 (14:51 -0600)] 
Tooltip Hooks

9 years agoMerge pull request #1525 from etimberg/fix/scale-merge
Tanner Linsley [Mon, 12 Oct 2015 17:51:21 +0000 (11:51 -0600)] 
Merge pull request #1525 from etimberg/fix/scale-merge

Merge scale settings at the correct time

9 years agoPut comment back in correct spot 1526/head
Evert Timberg [Mon, 12 Oct 2015 13:19:14 +0000 (09:19 -0400)] 
Put comment back in correct spot

9 years agoFix a race condition in the resize listener & use the correct merged config object...
Evert Timberg [Mon, 12 Oct 2015 13:16:49 +0000 (09:16 -0400)] 
Fix a race condition in the resize listener & use the correct merged config object for the responsive setting

9 years agoOnly merge scale defaults with the global scale defaults when getting the scale defau... 1525/head
Evert Timberg [Mon, 12 Oct 2015 12:58:03 +0000 (08:58 -0400)] 
Only merge scale defaults with the global scale defaults when getting the scale defaults. Otherwise, the user does not have the ability to change them via the global settings since registration occurs when the library is loaded.