单个柱形图

描述:当前是关于Echarts图表中的 示例。
 
            option = {
   backgroundColor: '#000',
   grid: {
      left: "3%",
      right: "3%",
      bottom: "3%",
      containLabel: true,
   },
   xAxis: {
      type: 'category',
      data: ["1", "2", "3"],
      axisPointer: {
         type: "shadow",
      },
      axisLabel: {
         color: 'white',
         interval: 0,
      },
      axisLine: {
         show: false
      },
      splitLine: {
         show: false
      },
      axisTick: {
         show: false
      },
   },
   yAxis: {
      type: 'value',
      axisLine: {
         show: false
      },
      min: 0,
      axisLabel: {
         formatter: "{value}",
      },
      axisTick: {
         show: false
      },
      splitLine: {
         show: true,
         lineStyle: {
            width: 0.5,
            color: 'rgba(255, 255, 255, 0.4)',
            type: 'dashed'
         }
      },
   },
   series: [
      {
         data: ["1", "2", "3"],
         type: 'bar',
         barWidth: '15px',
         itemStyle: {
            color: '#0887FF'
         },
         label: {
            show: true,
            position: 'top',
            fontSize: 12,
            color: '#F5F5F5',
            offset: [0, -5],
            formatter: '{c}'
         },
      }
   ]
};