Evert Timberg
46af76a8ed
addData is now supported by the doughnut chart + updated the sample to match.
2015-06-19 19:51:28 -04:00
Evert Timberg
2dd49f0c92
Fix a missing this in the scale generateTicks method when manually overriding. Added a sample to test this.
2015-06-19 19:13:31 -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
Tanner Linsley
8cecd5935e
Tooltip Title width now accurately measured
2015-06-19 12:36:22 -06:00
Tanner Linsley
4e30531907
Allow custom skip property to points
2015-06-18 12:49:09 -06:00
Evert Timberg
7796c4e87d
Add and remove data for bar charts
2015-06-17 22:03:24 -04:00
Tanner Linsley
061566ee27
Fix Label custom tooltips
2015-06-17 15:14:26 -06:00
Tanner Linsley
79f8ce0e97
Fixed Custom Tooltips
2015-06-17 15:10:45 -06: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
63530ba66d
Better responsive sizing
2015-06-16 13:06:34 -06:00
Tanner Linsley
088b4fcc55
Fixed: scale.linear range min==max resulted in no scale
2015-06-16 12:04:52 -06:00
Tanner Linsley
e3ffbb155f
Deprecate animationLoop function
2015-06-16 11:57:35 -06:00
Tanner Linsley
48b8a3a2c5
Fixed issue where arc.inRange was sometimes over π threshold
2015-06-16 11:46:50 -06:00
Tanner Linsley
a5e4b38252
Draw controllers in reverse (for proper line stacking)
2015-06-16 11:37:07 -06:00
Tanner Linsley
6065e8c801
helpers.each is now reversible
2015-06-16 11:31:15 -06:00
Tanner Linsley
cd5a8d1a50
Fix getMaximumHeight function to use helpers
2015-06-16 11:24:25 -06:00
Derek Perkins
0d5f282349
Merge pull request #1219 from etimberg/feature/controllers
...
Controller Driven Charts
2015-06-16 10:50:31 -06:00
Tanner Linsley
db981807bb
Polar Area Draws, but has scale resizing issues
2015-06-16 00:39:04 -06:00
Tanner Linsley
c0ccae1031
No logging
2015-06-16 00:20:22 -06:00
Tanner Linsley
9023057906
Old doughnuts are no good.
2015-06-16 00:20:06 -06:00
Tanner Linsley
2d5eb6d57e
Radar chart and radialLinear scale
2015-06-16 00:17:26 -06:00
Tanner Linsley
42648d0a83
Build radial scale details inside itself
2015-06-15 23:59:04 -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
5759f419c0
Pie used new doughnut controller
2015-06-15 22:47:20 -06:00
Tanner Linsley
8b3424bd09
Responsive used proper "each" from helpers
2015-06-15 22:44:06 -06:00
Tanner Linsley
76e060cf97
Better getElementAtEvent function
2015-06-15 22:43:45 -06:00
Tanner Linsley
2aa489643a
Doughnut/Pie accurate radii
2015-06-15 22:43:24 -06:00
Tanner Linsley
36de623401
Merge remote-tracking branch 'origin/feature/controllers' into feature/controllers
2015-06-15 19:14:26 -06:00
Tanner Linsley
74f161b548
Core improvements, arc & doughnut partially working
2015-06-15 19:14:11 -06:00
Evert Timberg
fa1b0db453
Apply correct hover styles
2015-06-15 19:34:40 -04:00
Evert Timberg
d3538a1fbd
use inLabelRange when tooltips are in label mode
2015-06-15 19:21:13 -04:00
Evert Timberg
b21061c164
Remove hover styles
2015-06-15 19:10:47 -04:00
Evert Timberg
8e3d3c2c22
Fix animations
2015-06-15 18:54:46 -04:00
Tanner Linsley
872c9d5ebb
Hover macros, type defaults, and cleanup
2015-06-15 16:18:56 -06:00
Evert Timberg
76d2a782fc
Linear scale is reversible
2015-06-15 17:31:29 -04:00
Tanner Linsley
257bdb2dbb
Hybrid Line and Bar chart - Line Now drawing
2015-06-15 15:27:56 -06:00
Tanner Linsley
b0ece8b516
New controllers, bar drawing (with errors)
2015-06-15 14:36:02 -06:00
Tanner Linsley
aaa2484e1b
Controller function organization
2015-06-14 19:42:39 -06:00
Tanner Linsley
43f2c015f3
Charts become config blocks (themes, if you will :)
2015-06-14 19:30:02 -06:00
Tanner Linsley
d811812356
Little tweaks
2015-06-14 19:26:44 -06:00
Tanner Linsley
d73dae09e7
No hardcoded chart type methods
2015-06-14 19:15:10 -06:00
Tanner Linsley
4047440acc
Git thinks the core file is new now haha
2015-06-14 18:10:00 -06:00
Tanner Linsley
3f9afb1f31
More core file separation, and no duplicate copyrights
2015-06-14 18:09:45 -06:00
Evert Timberg
81c66c8d85
Fix duplicate property
2015-06-14 17:05:46 -04:00
Evert Timberg
0fa2ac4ea0
Bar chart now uses the rectangular canvas & element controllers.
2015-06-14 15:26:34 -04:00
Evert Timberg
886c99623f
Drop the base class in favour of an expanded canvas controller. Renamed 'chart' to 'chartInstance' in the controllers
2015-06-14 13:37:37 -04:00