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
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
753fd79bf3
Call tooltip update even when tooltip has no active elements
2015-10-31 16:07:36 -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
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
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
etimberg
2b057cf690
Merge remote-tracking branch 'origin/v2.0-dev' into v2.0-dev-tooltip-refactor
2015-10-18 18:17:39 -04:00
Evert Timberg
b36c8ff788
Update controllers to handle datasets that are not visible
2015-10-07 19:54:11 -04:00
Tanner Linsley
ef5cec7f5e
Tooltips now using new lineArray format
2015-10-06 20:40:25 -06:00
Evert Timberg
bc7d1d39fd
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.
2015-09-27 11:58:20 -04:00
Tanner Linsley
b22f569e4d
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
2015-09-24 14:34:26 -06:00
Tanner Linsley
d198157fb8
Time Scale working, troubleshooting log scale
2015-09-24 12:07:40 -06:00
Tanner Linsley
ca48caa8b0
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.
2015-09-24 02:25:21 -06:00
Tanner Linsley
c7107677d2
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
2015-09-23 21:52:31 -06:00
Evert Timberg
4a093196b8
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
2015-09-22 19:22:55 -04:00
Evert Timberg
416a6ac1bd
Remove unneeded functions from core controller. Updated dataset controllers to have a separate function to update the meta data for each dataset
2015-09-21 20:59:53 -04:00
Evert Timberg
39252d4633
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
2015-09-20 10:30:12 -04:00
Evert Timberg
9474d72491
Revert "Fix resize problems when charts are initially hidden"
2015-09-19 17:52:58 -04:00
Evert Timberg
bcbd9a85e6
Merge remote-tracking branch 'upstream/v2.0-dev' into feature/resize_problems
...
Conflicts:
gulpfile.js
2015-09-18 18:38:47 -04:00
Menno Dekker
5047678799
Tabs to spaces + fixed error
2015-09-17 10:08:42 +02:00
Menno Dekker
5ff2b530b9
Hover on dataset now works just like hover on label
...
Fixed some errors in de hover on dataset mode, only tested on bar charts
2015-09-17 09:43:02 +02:00
Evert Timberg
e6220f474b
Attempting to make resize better
2015-09-14 18:50:52 -04:00
Evert Timberg
88896abe48
During a mousemove event only re-render the chart instead of updating it. Updating uses more memory & causes flicker in the axes.
2015-08-08 18:12:01 -04:00
Tanner Linsley
f5b44acc38
onAnimationComplete for zero-frame transitions
2015-08-07 13:39:09 -06:00
Tanner Linsley
f3706b0755
chart.update(0) now draws instantly instead of not at all
2015-08-04 11:24:27 -06:00
Evert Timberg
0caa2a79ae
Legends for Line, Bar & Radar charts.
2015-07-05 14:47:56 -04:00
Tanner Linsley
bc8526efe7
Merge remote-tracking branch 'origin/v2.0-dev' into v2.0-dev
2015-06-22 13:10:52 -06:00
Tanner Linsley
25fd84490b
Support for custom tooltips again
2015-06-22 13:10:49 -06:00
Evert Timberg
46af76a8ed
addData is now supported by the doughnut chart + updated the sample to match.
2015-06-19 19:51:28 -04:00
Tanner Linsley
539af61e1f
Proper stacking order for stacked area charts
2015-06-19 14:23:05 -06:00
Tanner Linsley
85e928b426
Lazy Update and Render option
...
Usage: `.update(animationDuration, [bool])`
Tooltip animations are now "lazy” by default, meaning they can be
interrupted and pivoted by other animations. All others internal
updates are by nature non-interruptible, so hovering over a chart
during a regular `update()` cycle will pivot the tooltip correctly.
2015-06-19 13:29:36 -06:00
Evert Timberg
7796c4e87d
Add and remove data for bar charts
2015-06-17 22:03:24 -04:00
Evert Timberg
19a30f5090
Update controllers to handle adding new datasets
2015-06-16 22:04:52 -04:00
Evert Timberg
056b9550d0
Create interfaces similar to the old interfaces. Ensure that scales always have IDs before controllers are built.
2015-06-16 19:20:26 -04:00
Tanner Linsley
8d1f280771
Even better responsive sizing
2015-06-16 13:19:01 -06:00
Tanner Linsley
a5e4b38252
Draw controllers in reverse (for proper line stacking)
2015-06-16 11:37:07 -06:00
Tanner Linsley
cd5a8d1a50
Fix getMaximumHeight function to use helpers
2015-06-16 11:24:25 -06:00
Tanner Linsley
2d5eb6d57e
Radar chart and radialLinear scale
2015-06-16 00:17:26 -06:00
Tanner Linsley
4c749e78b2
Single scale again.
2015-06-15 23:58:31 -06:00
Tanner Linsley
ef1acfa0e8
Build single scales in core
2015-06-15 23:54:25 -06:00
Tanner Linsley
76e060cf97
Better getElementAtEvent function
2015-06-15 22:43:45 -06:00
Tanner Linsley
36de623401
Merge remote-tracking branch 'origin/feature/controllers' into feature/controllers
2015-06-15 19:14:26 -06:00