-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathindex.ts
More file actions
76 lines (69 loc) · 1.4 KB
/
index.ts
File metadata and controls
76 lines (69 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
export * from './defaults';
export * from './misc';
export const SeriesType = {
Area: 'area',
BarX: 'bar-x',
BarY: 'bar-y',
Line: 'line',
Pie: 'pie',
Scatter: 'scatter',
Treemap: 'treemap',
Waterfall: 'waterfall',
Sankey: 'sankey',
} as const;
export enum DashStyle {
Dash = 'Dash',
DashDot = 'DashDot',
Dot = 'Dot',
LongDash = 'LongDash',
LongDashDot = 'LongDashDot',
LongDashDotDot = 'LongDashDotDot',
ShortDash = 'ShortDash',
ShortDashDot = 'ShortDashDot',
ShortDashDotDot = 'ShortDashDotDot',
ShortDot = 'ShortDot',
Solid = 'Solid',
}
export enum SymbolType {
Circle = 'circle',
Diamond = 'diamond',
Square = 'square',
Triangle = 'triangle',
TriangleDown = 'triangle-down',
}
export enum LineCap {
Butt = 'butt',
Round = 'round',
Square = 'square',
None = 'none',
}
export enum LayoutAlgorithm {
Binary = 'binary',
Dice = 'dice',
Slice = 'slice',
SliceDice = 'slice-dice',
Squarify = 'squarify',
}
export const DEFAULT_PALETTE = [
'#4DA2F1',
'#FF3D64',
'#8AD554',
'#FFC636',
'#FFB9DD',
'#84D1EE',
'#FF91A1',
'#54A520',
'#DB9100',
'#BA74B3',
'#1F68A9',
'#ED65A9',
'#0FA08D',
'#FF7E00',
'#E8B0A4',
'#52A6C5',
'#BE2443',
'#70C1AF',
'#FFB46C',
'#DCA3D7',
];
export const DEFAULT_AXIS_LABEL_FONT_SIZE = '11px';