Merge pull request #1292 from drewnoakes/patch-1

Added support for d3 QuantitiveScale.nice argument: count
This commit is contained in:
Basarat Ali Syed
2013-11-19 18:29:11 -08:00
Vendored
+3 -1
View File
@@ -2438,8 +2438,10 @@ declare module D3 {
clamp(clamp: boolean): QuantitiveScale;
/**
* extend the scale domain to nice round numbers.
*
* @param count Optional number of ticks to exactly fit the domain
*/
nice(): QuantitiveScale;
nice(count?: number): QuantitiveScale;
/**
* get representative values from the input domain.
*