-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPriceChart.config.js
More file actions
99 lines (96 loc) · 2.14 KB
/
Copy pathPriceChart.config.js
File metadata and controls
99 lines (96 loc) · 2.14 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
export const options = {
chart: {
animations: { enabled: true },
toolbar: { show: false },
width: '100px'
},
tooltip: {
enabled: true,
theme: false,
style: {
fontSize: '12px',
fontFamily: undefined
},
x: {
show: false,
format: 'dd MMM',
formatter: undefined,
},
y: {
show: true,
title: 'price'
},
marker: {
show: false,
},
items: {
display: 'flex',
},
fixed: {
enabled: false,
position: 'topRight',
offsetX: 0,
offsetY: 0,
},
},
grid: {
show: true,
borderColor: '#767F92',
strokeDashArray: 0
},
plotOptions: {
candlestick: {
colors: {
upward: '#25CE8F',
downward: '#F45353'
}
}
},
xaxis: {
type: 'datetime',
labels: {
show: true,
style: {
colors: '#767F92',
fontSize: '14px',
cssClass: 'apexcharts-xaxis-label',
},
}
},
yaxis: {
labels: {
show: true,
minWidth: 0,
maxWidth: 160,
style: {
color: '#F1F2F9',
fontSize: '14px',
cssClass: 'apexcharts-yaxis-label',
},
offsetX: 0,
offsetY: 0,
rotate: 0,
}
}
}
export const defaultSeries = []
// Code in the series as a temporary placeholder for demonstration
export const series = [
{
data: [
[24.01, [6593.34, 6600, 6582.63, 6600]],
[25.01, [6600, 6604.76, 6590.73, 6593.86]],
[26.01, [6593.86, 6625.76, 6590.73, 6620.00]],
[27.01, [6620.00, 6604.76, 6590.73, 6605.86]],
[28.01, [6605.86, 6604.76, 6590.73, 6590.75]],
[29.01, [6590.75, 6604.76, 6590.73, 6582.10]],
[30.01, [6582.10, 6604.76, 6516.73, 6550.10]],
[31.01, [6550.10, 6604.76, 6550.73, 6600.23]],
[32.01, [6600.23, 6604.76, 6590.73, 6652.89]],
[33.01, [6652.89, 6670.00, 6632.89, 6660.89]],
[34.01, [6660.89, 6670.00, 6632.89, 6650.89]],
[35.01, [6650.89, 6670.00, 6632.89, 6638.89]],
[36.01, [6638.89, 6670.00, 6598.89, 6618.89]],
]
}
]