Pascoual
|
234efc5267
|
Fix: tooltips checks indent
|
2015-11-10 01:00:30 +01:00 |
|
Pascoual
|
c4d02a8f96
|
Fix: no tooltips when missing data for one or more dataset
|
2015-11-10 00:53:08 +01:00 |
|
Tanner Linsley
|
b0380d4ede
|
Check if dataset is visible when adding active elements to a tooltip
|
2015-11-01 22:50:16 -07:00 |
|
Tanner Linsley
|
28bc80e439
|
ElementsAtLabel now returns all datasets' elements at the found index
|
2015-11-01 22:44:31 -07:00 |
|
Tanner Linsley
|
d46524aedc
|
Tooltip's label mode now uses average position of all points
|
2015-11-01 22:43:44 -07:00 |
|
Tanner Linsley
|
f4a5a30451
|
Only call custom tooltips when elements have changed. But be sure to call update internally any time that tooltips need to be redrawn.
|
2015-11-01 13:56:36 -07:00 |
|
Tanner Linsley
|
93a923d38f
|
Remove logs
|
2015-10-31 18:17:42 -06:00 |
|
Tanner Linsley
|
22aabdbfab
|
Update tooltip only when things change (which will only trigger customTooltips when model changes)
|
2015-10-31 18:17:32 -06:00 |
|
Tanner Linsley
|
5ba1ec0d3b
|
More concise change detection
|
2015-10-31 18:17:06 -06:00 |
|
Tanner Linsley
|
8398d26d10
|
Remove Tooltip opacity from core-controller
|
2015-10-31 18:16:35 -06:00 |
|
Tanner Linsley
|
fa33f3158e
|
Don't kill lastActives on chart hover exit
|
2015-10-31 18:15:58 -06:00 |
|
Tanner Linsley
|
0fa03fad24
|
Handle opacity in the tooltip update method
|
2015-10-31 18:14:56 -06:00 |
|
Tanner Linsley
|
ecf5801787
|
call the custom callback in tooltip options
|
2015-10-31 16:07:57 -06:00 |
|
Tanner Linsley
|
753fd79bf3
|
Call tooltip update even when tooltip has no active elements
|
2015-10-31 16:07:36 -06:00 |
|
etimberg
|
c316f90999
|
Polar area tooltip improvements
|
2015-10-30 21:04:45 -04:00 |
|
etimberg
|
1017934dce
|
tooltips for radar charts are working
|
2015-10-30 20:35:36 -04:00 |
|
etimberg
|
6716dbb7e5
|
Fix up arguments to tooltip callbacks. Simplified code in some places and removed old code.
|
2015-10-30 20:12:05 -04:00 |
|
etimberg
|
9bebedd967
|
Play around with tooltip to see if a better API is possible. No longer crashes for polar area / doughnut / radar charts
|
2015-10-28 22:52:43 -04:00 |
|
Tanner Linsley
|
559ee6291e
|
Merge pull request #1567 from nnnick/fix/rounding
Better linear scale tick formatter + small tick generation
|
2015-10-24 01:40:43 -06:00 |
|
Tanner Linsley
|
1c40d50097
|
recursive and accurate getRightValue
|
2015-10-24 01:22:12 -06:00 |
|
etimberg
|
0c3d9ec5dd
|
Improved number format function. Also improved the generation of small tick values
|
2015-10-23 22:00:59 -04:00 |
|
Tanner Linsley
|
7b13e902ff
|
Bad values for data are now converted to NaN
|
2015-10-23 16:36:59 -06:00 |
|
Tanner Linsley
|
9d540cebb6
|
SplineCurve function now graciously handles skipped points
|
2015-10-23 16:36:33 -06:00 |
|
Tanner Linsley
|
3a20d1187e
|
Merge pull request #1542 from nnnick/v2.0-dev-tooltip-refactor
V2.0 dev tooltip refactor
|
2015-10-23 13:02:57 -06:00 |
|
Tanner Linsley
|
60f2426774
|
Only use active datasets in the tooltip body
|
2015-10-23 12:41:21 -06:00 |
|
Tanner Linsley
|
bc41909e7a
|
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.
|
2015-10-23 12:41:21 -06:00 |
|
Ryan Mitchell
|
57979a2270
|
Fix similar typos in core.controller & element
|
2015-10-22 12:47:45 -04:00 |
|
Ryan Mitchell
|
ef1c4fb0cb
|
Fix typo in core.helpers.js
|
2015-10-22 12:41:03 -04:00 |
|
etimberg
|
24e8fe3a4b
|
Merge remote-tracking branch 'origin/v2.0-dev' into v2.0-dev-tooltip-refactor
|
2015-10-21 20:18:23 -04:00 |
|
etimberg
|
e46a2cb074
|
Fix JSHint errors
|
2015-10-20 20:33:51 -04:00 |
|
Evert Timberg
|
86a52d0302
|
Fix some test failures
|
2015-10-18 19:34:56 -04:00 |
|
etimberg
|
2b057cf690
|
Merge remote-tracking branch 'origin/v2.0-dev' into v2.0-dev-tooltip-refactor
|
2015-10-18 18:17:39 -04:00 |
|
etimberg
|
082391e385
|
Update docs a bit for new items. Small updates for tooltip labels.
|
2015-10-18 18:14:56 -04:00 |
|
etimberg
|
7603b3cc36
|
Time scales now support passing in data as points. Added this to the time scale sample file.
|
2015-10-18 18:00:46 -04:00 |
|
etimberg
|
ceaa4ff03f
|
Add a helper function to reduce code size
|
2015-10-18 16:31:18 -04:00 |
|
etimberg
|
180209e55c
|
Factor out getLabelForIndex into each scale so we can return appropriate data based on the scale type
|
2015-10-18 16:13:57 -04:00 |
|
etimberg
|
f650445ddc
|
Use correct function to get afterBody lines for tooltip.
|
2015-10-18 10:39:54 -04:00 |
|
Tanner Linsley
|
19a7c57e2f
|
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.
|
2015-10-17 15:53:33 -06:00 |
|
etimberg
|
3699addf16
|
Use the correct font for the ticks. Ensure that scale labels fill in the correct colour.
|
2015-10-16 22:00:43 -04:00 |
|
Lucas Styles
|
4a48e19cac
|
Fix HTMLIframeElement remove/removeNode issue in removeResizeListener method
|
2015-10-17 00:35:47 +01:00 |
|
Tanner Linsley
|
6c4c4695d9
|
Merge pull request #1526 from etimberg/fix/responsive-config-setting
Use the correct merged responsive setting in the resize listener
|
2015-10-13 11:46:14 -06:00 |
|
Evert Timberg
|
e39298db3c
|
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.
|
2015-10-13 11:43:00 -04:00 |
|
Tanner Linsley
|
b835d5f209
|
Tooltip Hooks
|
2015-10-12 14:51:00 -06:00 |
|
Evert Timberg
|
93ee8f85f6
|
Put comment back in correct spot
|
2015-10-12 09:19:14 -04:00 |
|
Evert Timberg
|
1232ca53f0
|
Fix a race condition in the resize listener & use the correct merged config object for the responsive setting
|
2015-10-12 09:16:49 -04:00 |
|
Evert Timberg
|
a756e0de15
|
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.
|
2015-10-12 08:58:03 -04:00 |
|
Evert Timberg
|
b36c8ff788
|
Update controllers to handle datasets that are not visible
|
2015-10-07 19:54:11 -04:00 |
|
Evert Timberg
|
22e7934804
|
Helper to determine if a dataset is visible or not
|
2015-10-07 19:10:10 -04:00 |
|
Tanner Linsley
|
ef5cec7f5e
|
Tooltips now using new lineArray format
|
2015-10-06 20:40:25 -06:00 |
|
Evert Timberg
|
77faacb467
|
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
|
2015-09-27 21:34:16 -04:00 |
|