|
|
|
@ -1,10 +1,10 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div class="dashboard-editor-container">
|
|
|
|
|
|
|
|
|
|
<panel-group @handleSetLineChartData="handleSetLineChartData" />
|
|
|
|
|
<panel-group @handleSetLineChartData="handleSetLineChartData"/>
|
|
|
|
|
|
|
|
|
|
<el-row style="background:#fff;padding:16px 16px 0;margin-bottom:32px;">
|
|
|
|
|
<line-chart :chart-data="lineChartData" />
|
|
|
|
|
<line-chart :chart-data="lineChartData"/>
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
<el-row :gutter="32">
|
|
|
|
@ -15,7 +15,7 @@
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :xs="24" :sm="24" :lg="8">
|
|
|
|
|
<div class="chart-wrapper">
|
|
|
|
|
<pie-chart />
|
|
|
|
|
<pie-chart/>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
@ -34,8 +34,9 @@ import BarChart from './dashboard/BarChart'
|
|
|
|
|
|
|
|
|
|
const lineChartData = {
|
|
|
|
|
newVisitis: {
|
|
|
|
|
expectedData: [100, 120, 161, 134, 105, 160, 165],
|
|
|
|
|
actualData: [120, 82, 91, 154, 162, 140, 145]
|
|
|
|
|
expectedData: [99, 98, 95, 93, 96, 93, 97],
|
|
|
|
|
actualData: [99, 98, 95, 93, 96, 93, 97],
|
|
|
|
|
expedData: [200, 192, 120, 144, 160, 130, 140]
|
|
|
|
|
},
|
|
|
|
|
messages: {
|
|
|
|
|
expectedData: [200, 192, 120, 144, 160, 130, 140],
|
|
|
|
@ -87,7 +88,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-width:1024px) {
|
|
|
|
|
@media (max-width: 1024px) {
|
|
|
|
|
.chart-wrapper {
|
|
|
|
|
padding: 8px;
|
|
|
|
|
}
|
|
|
|
|