Commit Graph
131 Commits
Author SHA1 Message Date
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
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
Brandon Luong c4733bccc5 pairs document 2014-10-22 14:14:56 -07:00
Brandon Luong d50b10def2 Making accessor have optional arguments and include index 2014-10-22 14:04:53 -07:00
Justin Lan 996282fe8c Add Selection.classed(object)
.classed() allows an object map as input, similar to .attr() and .style().
2014-10-16 10:54:37 -07:00
Masahiro Wakame caca8f03bb Merge pull request #2910 from jtlan/line-area-defined
Update signature of arguments to defined()
2014-10-01 11:24:50 +09:00
Justin Lan 7cdf294639 Update signature of arguments to defined()
The function passed in can take the index.
2014-09-30 17:35:58 -07:00
Brandon Luong ce52526966 Merge branch 'master' into d3MapEntries 2014-09-30 14:25:03 -07:00
Brandon Luong da6dfc85a7 KeyValue -> MapKeyValue 2014-09-30 14:22:23 -07:00
Brandon Luong 6e5bc3c514 Correcting typing for d3.map.entries 2014-09-30 14:20:57 -07:00
Poul Kjeldager Sørensen 326d9660c0 Update d3.d.ts
this makes the following possible from typescript:
`var context = canvas.node<HTMLCanvasElement>().getContext('2d');`

alternative to

`var context = (<HtmlCanvasElement>canvas.node()).getContext('2d');`
2014-09-05 22:32:26 +02:00
Masahiro Wakame a9fa66235c Merge pull request #2769 from mhegazy/tscParamsChange
Remove quotes from response files
2014-09-05 11:31:35 +09:00
Mohamed Hegazy 2aaa293cb1 Remove quotes from response files 2014-09-02 14:53:39 -07:00
Brandon Luong e2b37fc978 stack layout out update definition 2014-09-02 11:47:22 -07:00
Brandon Luong c3df7fb18e update stacklayout x y 2014-08-27 23:18:44 -07:00
Daniel Mane bb52146cfb [refactor] Switch from Array<type> notation to type[] syntactic sugar.
This is more idiomatic.
Exactly the same semantics as before, per section 3.6.4 of the Typescript Lang Specification
2014-08-22 22:29:16 -07:00
Daniel Mane 039152e617 Implement generic typing for D3.Map and D3.Set 2014-08-22 21:16:48 -07:00
vvakame cf075d8eb4 Merge branch 'd3-treelayout' of github.com:rolandzwaga/DefinitelyTyped into rolandzwaga-d3-treelayout 2014-08-20 13:13:53 +09:00
Steven dbd1973487 Updated Force Layout nodes and links
Different layouts have different definitions for node objects and link objects.
I created a new `GraphNodeForce` and `GraphLinkForce` interface for the Force Layout.
See the [docs](https://github.com/mbostock/d3/wiki/Force-Layout#nodes) for more info.
2014-08-11 13:44:29 -07:00
Adrien Bustany 548cb78ce6 d3: Fix file permissions
There is no reason to have this file executable.
2014-08-09 23:44:47 +02:00
Adrien Bustany 186c0182cd d3: Enable usage as an external module 2014-08-09 23:44:06 +02:00
Masahiro Wakame f0f38e3f3f Merge pull request #2640 from bmcfluff/master
d3: Typed Scale interface to remove duplicate code
2014-08-09 23:32:28 +09:00
Masahiro Wakame abb3a82d37 Merge pull request #2653 from danmane/umaster
Add missing properties to definitions for D3.set and D3.map.
2014-08-09 23:21:49 +09:00
Daniel Mane 2f1b69b353 Add missing properties to definitions for D3.set and D3.map.
Paramaterize the function type for Set.add
2014-08-07 22:36:44 -07:00
Benjamin Cosman fa83d0d39c d3: Changed Scale names for consistency 2014-08-07 21:50:52 -07:00
Steven fcfe9fee87 Color.brighter has an optional number parameter 2014-08-07 18:24:19 -07:00
Benjamin Cosman 95434e76f1 d3: Typed Scale interface to remove duplicate code 2014-08-06 15:33:20 -07:00
Masahiro Wakame 0645ad6fcd Merge pull request #2621 from hstitz-jku/patch-1
Added the nodeSize function to TreeLayout
2014-08-06 00:19:51 +09:00
Brian Malehorn 98e3fadf93 Merge remote-tracking branch 'upstream/master' into d3-getter-setter
Conflicts:
	d3/d3.d.ts
2014-08-04 17:06:20 -07:00
Holger Stitz e3a212a892 Added the nodeSize function to TreeLayout
Documentation https://github.com/mbostock/d3/wiki/Tree-Layout#nodeSize
2014-08-04 17:02:03 +02:00
Roland Zwaga d0d8d7887c Fixed: D3.Layout.TreeLayout.nodes() returns Array<GraphNode> instead of TreeLayout 2014-07-29 11:35:42 +02:00
Daniel Mane 61144d85fd Rename "QuantitiveScale" to "QuantitativeScale" for consistency with
d3's API docs and common usage of the english language.

Close #2573
2014-07-28 13:41:43 -07:00
Brian Malehorn c0df8aa594 fix a number of bugs in d3.d.ts
Most are a result of setter = foo.bar(x), getter = foo.bar()
only reflecting the setter signature.
2014-07-21 17:56:42 -07:00
Maxim Efremov 5e885cd60f d3.js: Improve D3.Svg.Symbol 2014-07-09 13:00:04 +04:00
Izzy Cecil 935a7a1cc2 Made D3Events inherit from lib.d.ts Event interface. 2014-07-08 20:05:15 -06:00