mirror of
https://github.com/apache/superset.git
synced 2024-09-19 12:09:42 -04:00
fix: d3 scale types (#246)
This commit is contained in:
parent
20452b1cfc
commit
f8bd7c6065
@ -29,6 +29,7 @@
|
||||
"dependencies": {
|
||||
"@types/d3-array": "^2.0.0",
|
||||
"@types/d3-interpolate": "^1.3.1",
|
||||
"@types/d3-scale": "^2.1.1",
|
||||
"@types/d3-time": "^1.0.10",
|
||||
"d3-array": "^2.3.1",
|
||||
"d3-interpolate": "^1.3.2",
|
||||
|
@ -1,3 +1,5 @@
|
||||
export { default as Encoder } from './encoders/Encoder';
|
||||
export { default as ChannelEncoder } from './encoders/ChannelEncoder';
|
||||
export { default as createEncoderFactory } from './encoders/createEncoderFactory';
|
||||
export { default as completeChannelDef } from './fillers/completeChannelDef';
|
||||
export { default as createScaleFromScaleConfig } from './parsers/scale/createScaleFromScaleConfig';
|
||||
|
@ -191,7 +191,7 @@ export interface WithScale<Output extends Value = Value> {
|
||||
/** Each ScaleCategory contains one or more ScaleType */
|
||||
export type ScaleCategory = 'continuous' | 'discrete' | 'discretizing';
|
||||
|
||||
export type CategoricalScaleInput = HasToString | null | undefined;
|
||||
export type CategoricalScaleInput = HasToString;
|
||||
|
||||
export interface ScaleTypeToD3ScaleType<Output extends Value = Value> {
|
||||
[ScaleType.LINEAR]: ScaleLinear<Output, Output>;
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user