当前位置: 首页 > news >正文

东莞的网站建设公司哪家好电商网站开发人员配置

东莞的网站建设公司哪家好,电商网站开发人员配置,网站销户说明,定制建站 app建设uniapp使用echarts 1.下载资源包2.引入资源包3.代码示例注意事项 1.下载资源包 https://echarts.apache.org/zh/download.html 2.引入资源包 将资源包放入项目内 3.代码示例 <template><div style"width:100%;height:500rpx" id"line" ref&…

uniapp使用echarts

  • 1.下载资源包
    • 2.引入资源包
    • 3.代码示例
    • 注意事项

1.下载资源包

https://echarts.apache.org/zh/download.html

2.引入资源包

将资源包放入项目内
在这里插入图片描述

3.代码示例

<template><div style="width:100%;height:500rpx" id="line" ref="line"></div>
</template><script>import * as echarts from '@/config/echarts.min.js';export default {data() {return {chartDom: "",myChart: "",option: "",};},// onLoad() {// 	this.$nextTick(() => {// 		this.chartDom = document.getElementById("main");// 		this.myChart = echarts.init(this.chartDom);// 		this.initChart();// 	});// },mounted() {this.$nextTick(() => {this.initChart();});},methods: {initChart() {this.chartDom = document.getElementById("line");this.myChart = echarts.init(this.chartDom);// return;// this.chart = echarts.init(this.$el, "macarons");this.option = {tooltip: {trigger: 'axis',axisPointer: {type: 'shadow'}},legend: {},grid: {left: '3%',right: '4%',bottom: '3%',containLabel: true},xAxis: [{type: 'category',data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']}],yAxis: [{type: 'value'}],series: [{name: 'Direct',type: 'bar',emphasis: {focus: 'series'},data: [320, 332, 301, 334, 390, 330, 320]},{name: 'Email',type: 'bar',stack: 'Ad',emphasis: {focus: 'series'},data: [120, 132, 101, 134, 90, 230, 210]},{name: 'Union Ads',type: 'bar',stack: 'Ad',emphasis: {focus: 'series'},data: [220, 182, 191, 234, 290, 330, 310]},{name: 'Video Ads',type: 'bar',stack: 'Ad',emphasis: {focus: 'series'},data: [150, 232, 201, 154, 190, 330, 410]},{name: 'Search Engine',type: 'bar',data: [862, 1018, 964, 1026, 1679, 1600, 1570],emphasis: {focus: 'series'},markLine: {lineStyle: {type: 'dashed'},data: [[{type: 'min'}, {type: 'max'}]]}},{name: 'Baidu',type: 'bar',barWidth: 5,stack: 'Search Engine',emphasis: {focus: 'series'},data: [620, 732, 701, 734, 1090, 1130, 1120]},// {// 	name: 'Google',// 	type: 'bar',// 	stack: 'Search Engine',// 	emphasis: {// 		focus: 'series'// 	},// 	data: [120, 132, 101, 134, 290, 230, 220]// },// {// 	name: 'Bing',// 	type: 'bar',// 	stack: 'Search Engine',// 	emphasis: {// 		focus: 'series'// 	},// 	data: [60, 72, 71, 74, 190, 130, 110]// },// {// 	name: 'Others',// 	type: 'bar',// 	stack: 'Search Engine',// 	emphasis: {// 		focus: 'series'// 	},// 	data: [62, 82, 91, 84, 109, 110, 120]// }]};this.option && this.myChart.setOption(this.option);},},}
</script><style>
</style>

注意事项

div中的id 需要对应document中的id,且最好是唯一的,不重复的

http://www.yayakq.cn/news/359171/

相关文章:

  • 企业网站建设电话简约的网站设计界面
  • 建设项目网站免费网页游戏平台
  • 升级的网站显示什么北京网站设计合理刻
  • 网站做标题有用吗个人简历网页设计模板
  • 服务器怎么做网站小游戏网站开发
  • 网站界面设计规划中国制造网外贸站
  • 网站优化网站建设公司网络销售是什么样的工作
  • 做网站公司需要什么职位网络服务器性能
  • 手机建站免费做ppt做好的网站
  • 公司企业logo宁波seo排名优化哪家好
  • 查看网站被恶意镜像wordpress分享到朋友圈
  • 互联网门户网站建设做一个网站价格
  • 高端网站开发公司有哪些wordpress vip下载
  • 网站推广联系磁遁8刺盾云做返利网站能赚钱的
  • 做网站语言排名2018装修案例视频
  • 网站建设的常用词怎么推广网站建设业务
  • 甘肃省城乡城乡建设厅网站自建房设计图
  • 快速迁移网站杭州旅游 网站建设
  • 企业建设营销网站有哪些步骤永久免费网站建设方案
  • 网站建设费入如保入账开封到濮阳
  • 燕郊网站制作网站开发定价
  • 河北省正定县城乡建设网站急招二级建造师
  • 网站建设开题报告数据库建立wordpress注册会员才能看
  • 海口快速建站公司推荐购物网站开发的必要性
  • 百度新闻搜索威海优化联系电话
  • 如何做购物券网站wordpress调用评论
  • 网址我的上网主页win10优化工具
  • 怎么做视频解析网站在线教育网站html模板
  • seo网站策划苏州好的做网站的公司有哪些
  • 安陆网站的建设wordpress升级崩了