@nivo/scales
Advanced tools
Comparing version 0.79.0 to 0.80.0
@@ -35,3 +35,3 @@ import { ScaleAxis, ScaleSpec, ScaleValue, SerieAxis, ComputedSerieAxis } from './types'; | ||
export declare const compareDateValues: (a: Date, b: Date) => boolean; | ||
export declare function computeScale<Input extends ScaleValue>(spec: ScaleSpec, data: ComputedSerieAxis<any>, size: number, axis: ScaleAxis): import("./types").ScaleSymlog | import("d3-scale").ScaleLogarithmic<number, number, never> | import("./types").ScaleLinear<number> | import("./types").ScalePoint<Input> | import("./types").ScaleBand<Input> | import("./types").ScaleTime<Date | import("d3-scale").NumberValue>; | ||
export declare function computeScale<Input extends ScaleValue>(spec: ScaleSpec, data: ComputedSerieAxis<any>, size: number, axis: ScaleAxis): import("./types").ScaleLog | import("./types").ScaleSymlog | import("./types").ScaleLinear<number> | import("./types").ScalePoint<Input> | import("./types").ScaleBand<Input> | import("./types").ScaleTime<Date | import("d3-scale").NumberValue>; | ||
/** | ||
@@ -46,4 +46,4 @@ * Compute x/y d3 scales from an array of data series, and scale specifications. | ||
series: ComputedSerie<S, D>[]; | ||
xScale: import("./types").ScaleSymlog | import("d3-scale").ScaleLogarithmic<number, number, never> | import("./types").ScaleLinear<number> | import("./types").ScaleTime<Date | import("d3-scale").NumberValue> | import("./types").ScalePoint<D["x"]> | import("./types").ScaleBand<D["x"]>; | ||
yScale: import("./types").ScaleSymlog | import("d3-scale").ScaleLogarithmic<number, number, never> | import("./types").ScaleLinear<number> | import("./types").ScaleTime<Date | import("d3-scale").NumberValue> | import("./types").ScalePoint<D["y"]> | import("./types").ScaleBand<D["y"]>; | ||
xScale: import("./types").ScaleLog | import("./types").ScaleSymlog | import("./types").ScaleLinear<number> | import("./types").ScaleTime<Date | import("d3-scale").NumberValue> | import("./types").ScalePoint<D["x"]> | import("./types").ScaleBand<D["x"]>; | ||
yScale: import("./types").ScaleLog | import("./types").ScaleSymlog | import("./types").ScaleLinear<number> | import("./types").ScaleTime<Date | import("d3-scale").NumberValue> | import("./types").ScalePoint<D["y"]> | import("./types").ScaleBand<D["y"]>; | ||
x: { | ||
@@ -50,0 +50,0 @@ all: unknown[]; |
@@ -1,3 +0,3 @@ | ||
import { ComputedSerieAxis, ScaleAxis, ScaleLogSpec } from './types'; | ||
export declare const createLogScale: ({ base, min, max }: ScaleLogSpec, data: ComputedSerieAxis<number>, size: number, axis: ScaleAxis) => import("d3-scale").ScaleLogarithmic<number, number, never>; | ||
import { ComputedSerieAxis, ScaleAxis, ScaleLog, ScaleLogSpec } from './types'; | ||
export declare const createLogScale: ({ base, min, max }: ScaleLogSpec, data: ComputedSerieAxis<number>, size: number, axis: ScaleAxis) => ScaleLog; | ||
//# sourceMappingURL=logScale.d.ts.map |
{ | ||
"name": "@nivo/scales", | ||
"version": "0.79.0", | ||
"version": "0.80.0", | ||
"license": "MIT", | ||
@@ -37,3 +37,3 @@ "author": { | ||
}, | ||
"gitHead": "c9d8f198962d242872a0267e304f950eb57e2ec4" | ||
"gitHead": "df352b82a7d3b7938fb3a1bd9be3f602cbc8a67f" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
146155
343