echarts+vue实现多条圆角渐变色统计柱状图表(修改x、y坐标系颜色样式,修改柱状图颜色形状)

项目原码链接(使用前请先npm install自动安装依赖)

效果图:

echarts+vue实现多条圆角渐变色统计柱状图表(修改x、y坐标系颜色样式,修改柱状图颜色形状)_第1张图片
ps:使用前请使用npm导入echarts

main.js

// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

import echarts from 'echarts'
Vue.prototype.$echarts = echarts

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: ''
})

App.vue







你可能感兴趣的:(Echarts)