比较好的echart案例

本文介绍了使用ECharts库创建的高质量图表案例,包括清晰易读的指标柱状图和直观的仪表盘展示,帮助读者理解如何在项目中有效运用ECharts进行数据可视化。
摘要由CSDN通过智能技术生成

指标柱状图

在这里插入图片描述

 <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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值