UNPKG

1.61 kBPlain TextView Raw
1// scales
2export { Band } from './scales/band';
3export { Ordinal } from './scales/ordinal';
4export { Constant } from './scales/constant';
5export { Identity } from './scales/identity';
6export { Linear } from './scales/linear';
7export { Point } from './scales/point';
8export { Pow } from './scales/pow';
9export { Sqrt } from './scales/sqrt';
10export { Threshold } from './scales/threshold';
11export { Log } from './scales/log';
12export { Quantize } from './scales/quantize';
13export { Quantile } from './scales/quantile';
14export { Time } from './scales/time';
15export { Base } from './scales/base';
16export { Continuous } from './scales/continuous';
17
18// tick-methods
19export { d3Ticks } from './tick-methods/d3-ticks';
20export { rPretty } from './tick-methods/r-pretty';
21export { wilkinsonExtended } from './tick-methods/wilkinson-extended';
22export { d3Log } from './tick-methods/d3-log';
23export { d3Time } from './tick-methods/d3-time';
24
25// scales types
26export type {
27 BaseOptions,
28 BandOptions,
29 OrdinalOptions,
30 ContinuousOptions,
31 ConstantOptions,
32 IdentityOptions,
33 LinearOptions,
34 PointOptions,
35 PowOptions,
36 TimeOptions,
37 ThresholdOptions,
38 QuantizeOptions,
39 SqrtOptions,
40 QuantileOptions,
41 LogOptions,
42} from './types';
43
44// others
45export type { TickMethod, Interpolate, Comparator, Interpolates } from './types';
46
47// constants
48export {
49 DURATION_SECOND,
50 DURATION_MINUTE,
51 DURATION_HOUR,
52 DURATION_DAY,
53 DURATION_WEEK,
54 DURATION_YEAR,
55 DURATION_MONTH,
56} from './utils';
57
58// interpolators
59export { createInterpolateNumber, createInterpolateValue, createInterpolateColor } from './utils';