|
@@ -1,6 +1,6 @@
|
|
<template>
|
|
<template>
|
|
<div class="PSY_chart">
|
|
<div class="PSY_chart">
|
|
- <div id="PSY_chart" style="width: 60%;height:400px;"></div>
|
|
|
|
|
|
+ <div id="PSY_chart" style="width: 70%;height:500px;"></div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -55,6 +55,12 @@ export default {
|
|
{
|
|
{
|
|
type: "category",
|
|
type: "category",
|
|
data: [
|
|
data: [
|
|
|
|
+ "一月",
|
|
|
|
+ "二月",
|
|
|
|
+ "三月",
|
|
|
|
+ "四月",
|
|
|
|
+ "五月",
|
|
|
|
+ "六月",
|
|
"七月",
|
|
"七月",
|
|
"八月",
|
|
"八月",
|
|
"九月",
|
|
"九月",
|
|
@@ -69,7 +75,8 @@ export default {
|
|
],
|
|
],
|
|
yAxis: [
|
|
yAxis: [
|
|
{
|
|
{
|
|
- type: "value"
|
|
|
|
|
|
+ type: "value",
|
|
|
|
+ scale: true
|
|
}
|
|
}
|
|
],
|
|
],
|
|
series: [
|
|
series: [
|
|
@@ -77,7 +84,7 @@ export default {
|
|
name: "数量",
|
|
name: "数量",
|
|
type: "line",
|
|
type: "line",
|
|
barWidth: "50%",
|
|
barWidth: "50%",
|
|
- data: [40, 66, 80, 120, 82, 66],
|
|
|
|
|
|
+ data: [20,27,38,35,50, 66, 98, 120, 99, 66,40,30],
|
|
encode: {
|
|
encode: {
|
|
// Map the "amount" column to X axis.
|
|
// Map the "amount" column to X axis.
|
|
x: "amount",
|
|
x: "amount",
|