Commit Graph
60 Commits
Author SHA1 Message Date
MissFishie 9ae21ba16f Fix incorrect return type for PieLayout methods
PieLayout methods should return type PieLayout so that chaining is possible after one of these methods are called.  This is consistent with all other types defined in this file.
2014-03-06 17:17:03 -08:00
André Farzat 72997bd719 Fixing Set interface method from 'Add' to 'add' 2014-02-13 17:43:48 -02:00
Bartvds 0efeed5c45 added/fixed headers a-d
https://github.com/borisyankov/DefinitelyTyped/issues/1570
2014-01-24 00:22:06 +01:00
Igor Oleinikov 12058a9447 Fix #1545 2014-01-18 21:24:56 +04:00
anwalkers cca98c346e moved invertExtent(y: any): any[]; to Scale interface from QuantizeScale interface 2014-01-09 10:16:24 -08:00
anwalkers 40210142d6 added invertExtent to d3.d.ts 2014-01-09 10:11:00 -08:00
Samuel Lai 4e6158da8b d3.entries accepts objects, not arrays (but returns an array).
See example usage in the docs - https://github.com/mbostock/d3/wiki/Arrays#wiki-d3_entries.
2014-01-07 19:30:07 +11:00
Neil Stalker d2c9aac1de Fixes for TS0.9.5 2013-12-06 22:36:06 +00:00
Tom Crockett ba0936348d Add/improve documentation for some D3.Selection methods 2013-12-01 03:12:13 -07:00
chaosmail 4008778541 Updated d3.d.ts and added size() function to Selection 2013-11-25 20:19:58 +01:00
chaosmail 845ef32826 Updated d3.d.ts fixed typo in scale threshold function 2013-11-24 17:15:01 +01:00
Tom Crockett d7ad31ba43 Add missing formal parameter name 2013-11-21 02:54:07 -08:00
Tom Crockett b9434af57b Fix the type of Zoom application 2013-11-21 01:12:15 -08:00
Tom Crockett 2c47116ce6 Add method for obtaining UTC TimeScale 2013-11-21 01:03:55 -08:00
Tom Crockett e5ef1afbee Fix comment typo 2013-11-21 00:44:23 -08:00
Tom Crockett f0a1ca6c97 Add color component fields for other color spaces besides RGB 2013-11-21 00:43:58 -08:00
Drew Noakes de5ac7d0fe Added support for QuantitiveScale.nice argument: count
See [the documentation](https://github.com/mbostock/d3/wiki/Quantitative-Scales#wiki-linear_nice) for details.

Tested in my codebase and works well.
2013-11-19 15:06:32 +00:00
Masahiro Wakame 1b28c3344b Removed not required .tscparams 2013-11-19 13:56:28 +09:00
Neil Stalker bb247ebabb d3: add additional type parameter to array functions 2013-11-16 11:38:15 +00:00
Tom Crockett bdd47777bd Add no-arg overload of selection.data()
There is a no-arg version of [the `data()` method on selections](https://github.com/mbostock/d3/wiki/Selections#wiki-data) which returns the previously-assigned data. From the docs:

> If values is not specified, then this method returns the array of data for the first group in the selection.
2013-11-15 22:36:25 -08:00
vvakame 34899afaae Merge commit '2772dfeec9cdb1744f6c010babef9e40b6770dd7' into plan-of-destroy-implicitAny 2013-10-18 12:41:53 +09:00
Juan Tamayo 366bad1e4d Add missing 'get' from Selection.datum 2013-10-15 19:48:49 -07:00
vvakame 2708bc05cd Fixed tsc failed on Node.js v0.8.25 2013-10-03 11:23:38 +09:00
vvakame 3fe1f6bc4e Fixed to CI test passing 2013-10-03 10:18:58 +09:00
Derek Cicerone 2f6ef85160 Add missing r, g, b for RGBColor and empty() for Selection 2013-10-01 15:00:04 -04:00
Felix Fung 79215bd245 Fix d3 Selection.node and update test
tsc d3-test.ts passes
2013-09-10 02:18:42 -04:00
Felix Fung 971a757638 D3's Selection.node() returns an HTMLElement
d3_documentElement = document.documentElement and d3_select is
initialized from a querySelection so node() will only ever return
HTMLElement or null. We mistook it for SVGLocatable because of the
following in d3-test.js:

var box = label.node().getBBox();

But that's a different node() function altogether.
2013-09-06 10:51:09 -04:00
Jonas 5524c9f258 toString on Color returns a string 2013-08-23 10:25:06 +02:00
Diullei Gomes 21e347b29b Merge pull request #887 from ashwinr/master
update d3 and mocha definitions
2013-08-20 18:28:04 -07:00
ashwinr eba1bc3c13 Update d3.d.ts
Fix transform definition.
2013-08-19 15:51:33 -04:00
Diullei Gomes d300cf5a8a Merge pull request #881 from ashwinr/master
add definition for d3.transform
2013-08-17 18:04:02 -07:00
Ashwin Ramaswamy ef53454ef4 add definition for d3.transform 2013-08-17 16:36:44 -04:00
Ben Jackman e2e81a42db d3: Got rid of implicit any errors.
Signed-off-by: Ben Jackman <ben@jackman.biz>
2013-08-16 00:13:31 -05:00
Michael Miller eb598fa197 Add support for d3.round to D3.Base 2013-08-15 05:00:06 -04:00
Michael Miller 79af0ec053 Add support for d3's tickPadding and tickValues functions. 2013-08-15 04:49:00 -04:00
Diullei Gomes b0f8d75035 bug fix - d3 2013-07-22 12:28:19 -03:00
Utkarsh Upadhyay fb2e396858 Fix issue #668.
Change the spellings of Types/docs to American English.
2013-07-21 21:45:19 +02:00
Utkarsh Upadhyay 7525e6f5d4 Fix type of keyFunction in d3.nest().key(keyFunction) 2013-07-14 22:40:12 +02:00
Utkarsh Upadhyay 253488be2a Replace HTMLelementSVGLocatable with SVGLocatable 2013-07-14 02:14:45 +02:00
Utkarsh Upadhyay 06c68fb372 Improve d3's types. 2013-07-14 02:00:35 +02:00
Neil Stalker 12116b890f Update d3 2013-06-20 20:11:40 +01:00
Boris Yankov 3643a97a0f Merge hansrwindhoff pull-request 2013-05-25 14:18:11 +03:00
Neil Stalker e85d85f91a Update d3 superformula definition 2013-05-18 08:01:20 +01:00
hansrwindhoff 9a255728e9 Force is part of Layout
I missed that ...
2013-04-30 08:15:27 -06:00
hansrwindhoff 1123b76048 force layout defs 2013-04-26 21:00:58 -06:00
Neil Stalker 54f6dbc7bf Fix issues in d3 definition 2013-04-23 12:24:02 +01:00
Richard Birkby a6975c8496 Add more D3 Transition methods 2013-03-27 23:10:11 +00:00
Neil Stalker be0cf8a3d3 Update d3 definition 2013-02-25 20:18:28 +00:00
Neil Stalker d9cb849184 Update d3 definition 2013-02-24 21:00:10 +00:00
Diullei Gomes e4a13a007f d3js header was normalized. 2013-02-16 18:22:53 -02:00