mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 23:37:04 +00:00
Update to 1.3.3
Add d3.stackOrderAppearance.
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
+8
-1
@@ -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