指标柱状图
<v-chart
:options="option1"
:autoresize="true"
style="width: 95%;height: 100%;"
/>
option1 = {
color: ["#079AEF"],
tooltip: {
trigger: "axis",
axisPointer: {
type: "line",
lineStyle: {
color: "rgba(50,243,255,1)",
width: 2,
type: "dashed"
}
},
backgroundColor: "rgba(16,75,136,.5)",
borderColor: "rgba(50,243,255,1)",
borderWidth: 1
},
grid: {
left: "5%",
right: "4%",
top: "4%",
bottom: "20%",
containLabel: true
},
xAxis: {
type: "value",
boundaryGap: [0, 0.01],
nameTextStyle: {
color: "#fff",
fontSize: 12
},
axisLine: {
show: true,
lineStyle