App2.js
1.39 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
import React, { Component } from 'react';
import './App.css';
import axios from 'axios';
import 'bootstrap/dist/css/bootstrap.min.css';
import 'tui-chart/dist/tui-chart.css'
import {ColumnChart} from '@toast-ui/react-chart'
const data = {
categories: ['월', '화','수', '목', '금','토','일'],
series: [
{
name: ['심연 1채'],
data: [20, 15, 50, 7, 40, 40,100]
},
{
name: '2위',
data: [8, 10, 7, 20, 50, 30,80]
},
{
name: '3위',
data: [20, 15, 50, 7, 40, 40,4]
},
{
name: '4위',
data: [8, 10, 7, 20, 50, 30,5]
}
]
};
const options = {
chart: {
width: 1160,
height: 650,
title: 'Monthly Revenue',
format: '1,000'
},
yAxis: {
title: '아이템 드롭 갯수',
min: 0,
max: 100,
suffix: '개'
},
xAxis: {
title: '날짜',
},
series: {
showLabel: true
},
legend: {
align: 'top'
}
};
class App2 extends Component{
constructor(props) {
super(props)
this.state = {
host : '',
searchList: this.props.searchList,
myEpicData: [],
myChannelData: [],
screenWidth: 0, //보여지는 윈도우 가로길이
}
}
componentDidUpdate(){
}
render() {
return(
<div>
</div>
);
}
}
export default App2;