Gildor
1740c40614
fix d3 bisector type signature
2015-06-23 18:03:16 -07:00
Alex Ford
cf09bf76ce
Liberalize type of d3.event. Addresses #4590 .
2015-06-11 16:09:10 -04:00
Justin Lan
8ab53b38cf
Fix some errors in the d3 definitions
...
== Interval.offset() ==
Should take a number not a Date as the second parameter
(https://github.com/mbostock/d3/wiki/Time-Intervals#interval_offset )
== svg.line.defined() and svg.area.defined() ==
In two places setter signature for defined() wasn't listed.
== svg.symbol()'s index parameter is optional ==
https://github.com/mbostock/d3/wiki/SVG-Shapes#_symbol
2015-06-02 21:17:55 -07:00
Alex Ford
808f545d7e
Merge branch 'master' of github.com:borisyankov/DefinitelyTyped
...
Conflicts:
d3/d3.d.ts
2015-05-29 13:27:55 -04:00
Jordi Aranda
c514d8784a
Fixes in callback type definition in xhr methods
2015-05-19 18:57:52 +02:00
Jordi Aranda
2dc99a0141
Callback type definition fix in xhr methods
2015-05-19 18:31:48 +02:00
Guillaume Mouron
b0289ac7a3
Insert and append can take functions returning a DOM element
...
This is specified in the d3 documentation :
- append : https://github.com/mbostock/d3/wiki/Selections#append
- insert : https://github.com/mbostock/d3/wiki/Selections#insert
Also visible in the code : https://github.com/mbostock/d3/blob/master/d3.js#L802 and https://github.com/mbostock/d3/blob/master/d3.js#L818
2015-05-18 12:07:28 +02:00
Daniel Beckwith
332ac5b1f4
Adds shiftKey property to D3Event.
2015-05-03 01:10:35 -04:00
hansrwindhoff
08ae0b1793
typing for Arbitrary Delimiters
...
https://github.com/mbostock/d3/wiki/CSV#arbitrary-delimiters
2015-04-20 11:32:59 -06:00
Masahiro Wakame
ebc03ee2d5
Merge pull request #4062 from gildorwang/d3-add-charge-distance
...
Add definition for D3 chargeDistance
2015-04-12 10:19:30 +09:00
Masahiro Wakame
3b78ba4850
Merge pull request #4057 from rcchen/master
...
Added interpolate typings for functions in svg.line/area
2015-04-12 08:38:17 +09:00
Gildor
e52779e5dc
Add definition for D3 chargeDistance
2015-04-08 17:44:40 +08:00
Masahiro Wakame
f86c9e1080
Merge pull request #4005 from markwongsk/d3-keyboard-events
...
Added more keyboard events to d3.event
2015-04-07 23:08:14 +09:00
Roger Chen
ddd1b5cbbd
Added interpolate typings for functions in svg.line/area
2015-04-06 15:34:20 -07:00
Alex Ford
23515939b9
remove refs to non-existent "D3"
2015-04-03 15:36:58 -04:00
Alex Ford
7be20013e6
Merge branch 'master' of github.com:borisyankov/DefinitelyTyped
...
Conflicts:
d3/d3-tests.ts
d3/d3.d.ts
2015-04-03 11:02:57 -04:00
Masahiro Wakame
7cc0989d85
Merge pull request #4017 from bluong/master
...
[D3] - Symbol usage optionally takes in datum/index arguments
2015-04-03 01:18:35 +09:00
Masahiro Wakame
ca93d1daf2
Merge pull request #3894 from abakirov/d3
...
Make entire D3.Selection generic
2015-04-03 01:13:51 +09:00
Brandon Luong
97f2b68e11
making datum/index usage optional
2015-03-31 16:50:21 -07:00
Anatoly Bakirov
0858c16a2c
Make entire D3.Selection generic
2015-03-31 15:05:18 -07:00
Alex Ford
663240f969
ordinal scales use any string-coercible type
2015-03-31 11:03:02 -04:00
Alex Ford
b9546998e3
noImplicitAny compliance
2015-03-31 10:51:58 -04:00
Alex Ford
16d084b052
Add more default types for D3 scales
2015-03-31 10:51:43 -04:00
Mark Wong Siang Kai
04a29d46fc
Added more keyboard events to d3.event
...
-- these events come from https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent
but I didn't include all of them
2015-03-30 16:20:23 -07:00
Alex Ford
6f60566a5e
add self to contributor header
2015-03-30 15:28:48 -04:00
Alex Ford
39debc285e
Fix tests and broken references
2015-03-30 15:26:22 -04:00
Alex Ford
7600257d34
Update d3.d.ts
2015-03-30 14:55:16 -04:00
Audrey
1c05872e78
Include padAngle to PieLayout interface
...
Based on line 68 of pie.js https://github.com/mbostock/d3/blob/master/src/layout/pie.js
2015-03-30 11:53:44 -04:00
Masahiro Wakame
e3d6cc4ba7
Merge pull request #3775 from dani-h/master
...
Made all of the GraphNode values optional
2015-03-25 01:04:29 +09:00
Masahiro Wakame
54ac039b06
Merge pull request #3898 from gcastre/d3
...
D3 Add missing optional index parameter
2015-03-25 00:49:35 +09:00
Grégoire Castre
3fe4c86588
Add missing optional index parameter
2015-03-18 14:23:56 +01:00
Gildor
3890e183a8
Make D3.Selection.datum generic so that return values have type
2015-03-17 14:38:24 +08:00
Masahiro Wakame
2cf1fe8487
Merge pull request #3870 from EthanLozano/ethanlozano/d3-map-update
...
Ethanlozano/d3 map update
2015-03-15 23:10:27 +09:00
Ethan Lozano
10dffb326a
Added d3.map tests
2015-03-14 00:47:21 -07:00
Ethan Lozano
9facd2c541
Added more overloaded d3.map constructors (issue 3869)
2015-03-14 00:47:03 -07:00
Gildor
309691d455
Fix the signature of D3.Transition.each
2015-03-12 13:59:37 +08:00
Gildor
fb26a9485b
Fix signature of D3.ForceLayout.size()
2015-03-10 16:42:49 +08:00
Brandon Luong
55fd327d6b
symbol API takes in accessor
2015-03-05 19:37:54 -08:00
Gildor
c6b6779a46
Fix return type of Selection.classed(string) to boolean
2015-03-05 16:25:35 +08:00
Dani H
7238786d4d
Made all of the GraphNode values optional
...
When passing data to a d3 structure the data can be very flexible.
The current interface of the GraphNode requires many data attributes
to be present, most of which aren't required to draw the
visualization. In fact, d3 calculates some of them itself, so passing
them to the GraphNode would be redundant.
In this example http://bl.ocks.org/mbostock/4063269#flare.json , Mike
Bostock uses the attribute className to identify name and packageName
to identify color in the GraphNode. This means that he doesn't only
ignore all of the attributes DefintelyTyped provides, but comes up
with his own attributes. This means that the data passed in could in
fact be a hashmap/js object type with arbitrary attributes. It's only
when the data is used with d3 methods to identify what attribute
represents size/color etc... that the type becomes relevant.
So either the GraphNode should be less restrictive (or in fact an
arbitrary hashmap) or I've misunderstood some core concept.
You don't have to necessarily merge this pull request, if I'm right
some parts will have to be rewritten (GraphNodes seem to be used
everywhere), but hopefully it might spark some discussion.
2015-03-02 23:04:29 +01:00
Skitch
99dce32c09
Added optional index parameter to DSV's parse row accessor
2015-02-24 10:53:05 -05:00
Matt Traynham
516266a0ac
Updates to d3
2015-02-23 14:15:12 -05:00
Brandon Luong
0584949b84
Removing comment disallowing for filter to be used with a string
2015-02-18 00:54:44 -08:00
Ben Ripkens
09b31dbffb
An axis can be applied to transitions
...
This is documented in the D3 API documentation:
https://github.com/mbostock/d3/wiki/SVG-Axes#_axis
2014-12-03 18:45:35 +01:00
Ben Ripkens
2b89a26bb0
d3: Transition.call(...) defines wrong signature
...
The D3 definition file contains an error in the signature of
Transition.call(...). The callback will be passed the transition
object and it supports optional arguments similar to
Selection.call(...).
2014-12-03 16:57:08 +01:00
Laurent Leborgne
13da362b0e
fix typo on D3 layout "separation" method
...
"separation" is the method name and was names "seperation" into the definition
2014-11-26 09:23:02 +01:00
Brandon Luong
8d31c74586
Revert optional
2014-11-13 17:19:03 -08:00
Brandon Luong
4130eba4cf
Adding signature
2014-11-13 17:17:19 -08:00
Brandon Luong
5ffc677fc7
select arg doesnt have to exist
2014-11-13 17:14:26 -08:00
Masahiro Wakame
d4ad0c24d7
Merge pull request #3021 from bluong/pairs
...
Pairs
2014-10-27 11:34:36 +09:00