mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Merge pull request #32668 from denisname/d3-shape-1.3.3
d3-shape: Update to 1.3.3
This commit is contained in:
@@ -1464,6 +1464,7 @@ seriesDatum = seriesPoint.data;
|
||||
let order: number[];
|
||||
const seriesAnyAny: d3Shape.Series<any, any> = seriesArray[0];
|
||||
|
||||
order = d3Shape.stackOrderAppearance(seriesAnyAny);
|
||||
order = d3Shape.stackOrderAscending(seriesAnyAny);
|
||||
order = d3Shape.stackOrderDescending(seriesAnyAny);
|
||||
order = d3Shape.stackOrderInsideOut(seriesAnyAny);
|
||||
|
||||
Vendored
+9
-2
@@ -1,4 +1,4 @@
|
||||
// Type definitions for D3JS d3-shape module 1.2
|
||||
// Type definitions for D3JS d3-shape module 1.3
|
||||
// Project: https://github.com/d3/d3-shape/
|
||||
// Definitions by: Tom Wanzek <https://github.com/tomwanzek>
|
||||
// Alex Ford <https://github.com/gustavderdrache>
|
||||
@@ -7,7 +7,7 @@
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
// Last module patch version validated against: 1.2.0
|
||||
// Last module patch version validated against: 1.3.3
|
||||
|
||||
import { Path } from 'd3-path';
|
||||
|
||||
@@ -2670,6 +2670,13 @@ export function stack<Datum, Key>(): Stack<any, Datum, Key>;
|
||||
*/
|
||||
export function stack<This, Datum, Key>(): Stack<This, Datum, Key>;
|
||||
|
||||
/**
|
||||
* Returns a series order such that the earliest series (according to the maximum value) is at the bottom.
|
||||
*
|
||||
* @param series A series generated by a stack generator.
|
||||
*/
|
||||
export function stackOrderAppearance(series: Series<any, any>): number[];
|
||||
|
||||
/**
|
||||
* Returns a series order such that the smallest series (according to the sum of values) is at the bottom.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user