|
|
|
@ -28,6 +28,11 @@ class Signinstatistics extends Component {
|
|
|
|
|
city: "Tokyo",
|
|
|
|
|
temperature: 7
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
month: "Jan",
|
|
|
|
|
city: "main",
|
|
|
|
|
temperature:3
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
month: "Jan",
|
|
|
|
|
city: "London",
|
|
|
|
@ -38,6 +43,11 @@ class Signinstatistics extends Component {
|
|
|
|
|
city: "Tokyo",
|
|
|
|
|
temperature: 6.9
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
month: "Feb",
|
|
|
|
|
city: "main",
|
|
|
|
|
temperature: 4.5
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
month: "Feb",
|
|
|
|
|
city: "London",
|
|
|
|
@ -142,6 +152,11 @@ class Signinstatistics extends Component {
|
|
|
|
|
month: "Dec",
|
|
|
|
|
city: "London",
|
|
|
|
|
temperature: 4.8
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
month: "Dec",
|
|
|
|
|
city: "main",
|
|
|
|
|
temperature: 5
|
|
|
|
|
}
|
|
|
|
|
];
|
|
|
|
|
const cols = {
|
|
|
|
@ -154,68 +169,98 @@ class Signinstatistics extends Component {
|
|
|
|
|
<Row type="flex" justify="space-between" className={"mt20"}>
|
|
|
|
|
<Col span={6}>
|
|
|
|
|
<Card style={{ width: 209 }} className={"gutterrowbox lishiqiandao"}>
|
|
|
|
|
<p></p>
|
|
|
|
|
<p></p>
|
|
|
|
|
<p>Card content</p>
|
|
|
|
|
<div className={"gutterrowboxcontent"}>200</div>
|
|
|
|
|
</Card>
|
|
|
|
|
</Col>
|
|
|
|
|
<Col span={6}>
|
|
|
|
|
<Card style={{ width: 209 }} className={"ml8 gutterrowbox daokeqiandao"}>
|
|
|
|
|
<p></p>
|
|
|
|
|
<p></p>
|
|
|
|
|
<p>Card content</p>
|
|
|
|
|
<div className={"gutterrowboxcontent"}>200</div>
|
|
|
|
|
</Card>
|
|
|
|
|
</Col>
|
|
|
|
|
<Col span={6}>
|
|
|
|
|
<Card style={{ width: 209 }} className={"ml14 gutterrowbox kuangkeqiandao"}>
|
|
|
|
|
<p></p>
|
|
|
|
|
<p></p>
|
|
|
|
|
<p>Card content</p>
|
|
|
|
|
<div className={"gutterrowboxcontent"}>200</div>
|
|
|
|
|
</Card>
|
|
|
|
|
</Col>
|
|
|
|
|
<Col span={6} >
|
|
|
|
|
<Card style={{ width: 209 }} className={"ml20 gutterrowbox qingjiaqiandao"}>
|
|
|
|
|
<p></p>
|
|
|
|
|
<p></p>
|
|
|
|
|
<p>Card content</p>
|
|
|
|
|
<div className={"gutterrowboxcontent"}>200</div>
|
|
|
|
|
</Card>
|
|
|
|
|
</Col>
|
|
|
|
|
</Row>
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
<Chart height={400} data={data} scale={cols} forceFit>
|
|
|
|
|
<Legend />
|
|
|
|
|
<Axis name="month" />
|
|
|
|
|
<Axis
|
|
|
|
|
name="temperature"
|
|
|
|
|
label={{
|
|
|
|
|
formatter: val => `${val}°C`
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
<Tooltip
|
|
|
|
|
crosshairs={{
|
|
|
|
|
type: "y"
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
<Geom
|
|
|
|
|
type="line"
|
|
|
|
|
position="month*temperature"
|
|
|
|
|
size={2}
|
|
|
|
|
color={"city"}
|
|
|
|
|
shape={"smooth"}
|
|
|
|
|
/>
|
|
|
|
|
<Geom
|
|
|
|
|
type="point"
|
|
|
|
|
position="month*temperature"
|
|
|
|
|
size={4}
|
|
|
|
|
shape={"circle"}
|
|
|
|
|
color={"city"}
|
|
|
|
|
style={{
|
|
|
|
|
stroke: "#fff",
|
|
|
|
|
lineWidth: 1
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
</Chart>
|
|
|
|
|
<div className={"SigninstatisticsChart mt20"}>
|
|
|
|
|
<div className={"pd30"}>
|
|
|
|
|
<Row>
|
|
|
|
|
<Col span={14}>
|
|
|
|
|
<Row type="flex" justify="start">
|
|
|
|
|
<Col span={5}>
|
|
|
|
|
<Row>
|
|
|
|
|
<Col span={12} className={"mindaoke mr5"}></Col>
|
|
|
|
|
<Col>到课率</Col>
|
|
|
|
|
</Row>
|
|
|
|
|
</Col>
|
|
|
|
|
<Col span={5}>
|
|
|
|
|
<Row>
|
|
|
|
|
<Col span={12} className={"minkuangke mr5"}></Col>
|
|
|
|
|
<Col>旷课率</Col>
|
|
|
|
|
</Row>
|
|
|
|
|
</Col>
|
|
|
|
|
<Col span={5}>
|
|
|
|
|
<Row>
|
|
|
|
|
<Col span={12} className={"minqingjia mr5"}></Col>
|
|
|
|
|
<Col>请假率</Col>
|
|
|
|
|
</Row>
|
|
|
|
|
</Col>
|
|
|
|
|
</Row>
|
|
|
|
|
</Col>
|
|
|
|
|
<Col span={10}> <Row type="flex" justify="end">
|
|
|
|
|
<Col span={5}>col-4</Col>
|
|
|
|
|
<Col span={5}>col-4</Col>
|
|
|
|
|
</Row></Col>
|
|
|
|
|
</Row>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div className={"padding03000"}>
|
|
|
|
|
<Chart height={400} data={data} scale={cols} forceFit>
|
|
|
|
|
{/*<Legend />*/}
|
|
|
|
|
<Axis name="month" />
|
|
|
|
|
<Axis
|
|
|
|
|
name="temperature"
|
|
|
|
|
label={{
|
|
|
|
|
formatter: val => `${val}%`
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
<Tooltip
|
|
|
|
|
crosshairs={{
|
|
|
|
|
type: "y"
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
<Geom
|
|
|
|
|
type="line"
|
|
|
|
|
position="month*temperature"
|
|
|
|
|
size={2}
|
|
|
|
|
color={"city"}
|
|
|
|
|
shape={"smooth"}
|
|
|
|
|
style={{
|
|
|
|
|
stroke: "#26C7C9",
|
|
|
|
|
lineWidth: 1
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
<Geom
|
|
|
|
|
type="point"
|
|
|
|
|
position="month*temperature"
|
|
|
|
|
size={4}
|
|
|
|
|
shape={"circle"}
|
|
|
|
|
color={"city"}
|
|
|
|
|
style={{
|
|
|
|
|
stroke: "#FF835C",
|
|
|
|
|
lineWidth: 1
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
</Chart>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</React.Fragment>
|
|
|
|
|
|
|
|
|
|