奇淼(piexlmax
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
web/src/view/dashboard/dashbordCharts/echartsLine.vue
|
|
@ -11,6 +11,7 @@ |
|
|
|
</template> |
|
|
|
<script> |
|
|
|
import echarts from 'echarts' |
|
|
|
import { toRaw } from 'vue' |
|
|
|
import 'echarts/theme/macarons' |
|
|
|
|
|
|
|
var dataAxis = [] |
|
|
@ -64,7 +65,7 @@ export default { |
|
|
|
this.setOptions() |
|
|
|
}, |
|
|
|
setOptions() { |
|
|
|
this.chart.setOption({ |
|
|
|
toRaw(this.chart).setOption({ |
|
|
|
grid: { |
|
|
|
left: '40', |
|
|
|
right: '20', |
|
|
|