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

黄页88网是什么性质的网站视频营销成功的案例

黄页88网是什么性质的网站,视频营销成功的案例,霸州建网站,天津低价网站建设通过Echarts的echarts.graphic.extendShape实现真正的3D柱状图 思路就是通过调整顶部面(CubeTop)、左侧面(CubeLeft)、右侧面(CubeRight)来决定柱状图的宽窄 建议优先调整顶部面,一般c1不需要动 // echarts-3D-bar-config.js import Vue from "vue";cons…

通过Echarts的echarts.graphic.extendShape实现真正的3D柱状图
思路就是通过调整顶部面(CubeTop)、左侧面(CubeLeft)、右侧面(CubeRight)来决定柱状图的宽窄
建议优先调整顶部面,一般c1不需要动

// echarts-3D-bar-config.js
import Vue from "vue";const echarts = Vue.prototype.echarts;const CubeLeft = echarts.graphic.extendShape({shape: {x: 0,y: 0},buildPath: function (ctx, shape) {const xAxisPoint = shape.xAxisPoint;// 顶部右侧顶点const c1 = [shape.x, shape.y];// 顶部左侧顶点const c2 = [shape.x - 15, shape.y - 8];// 底部左侧const c3 = [xAxisPoint[0] - 15, xAxisPoint[1] - 8];// 底部右侧const c4 = [xAxisPoint[0], xAxisPoint[1]];ctx.moveTo(c1[0], c1[1]).lineTo(c2[0], c2[1]).lineTo(c3[0], c3[1]).lineTo(c4[0], c4[1]).closePath();}
});const CubeRight = echarts.graphic.extendShape({shape: {x: 0,y: 0},buildPath: function (ctx, shape) {const xAxisPoint = shape.xAxisPoint;// 顶部左侧顶点const c1 = [shape.x, shape.y];// 底部左侧顶点const c2 = [xAxisPoint[0], xAxisPoint[1]];// 底部右侧顶点const c3 = [xAxisPoint[0] + 15, xAxisPoint[1] - 8];// 顶部右侧顶点const c4 = [shape.x + 15, shape.y - 8];ctx.moveTo(c1[0], c1[1]).lineTo(c2[0], c2[1]).lineTo(c3[0], c3[1]).lineTo(c4[0], c4[1]).closePath();}
});const CubeTop = echarts.graphic.extendShape({shape: {x: 0,y: 0},buildPath: function (ctx, shape) {// 底部顶点const c1 = [shape.x, shape.y];// 右侧顶点const c2 = [shape.x + 15, shape.y - 8];// 顶部顶点const c3 = [shape.x, shape.y - 15];// 右侧顶点const c4 = [shape.x - 15, shape.y - 8];ctx.moveTo(c1[0], c1[1]).lineTo(c2[0], c2[1]).lineTo(c3[0], c3[1]).lineTo(c4[0], c4[1]).closePath();}
});
echarts.graphic.registerShape("CubeLeft", CubeLeft);
echarts.graphic.registerShape("CubeRight", CubeRight);
echarts.graphic.registerShape("CubeTop", CubeTop);

然后在build-bar-option中引用即可
这里主要就是把series中的内容复制过来直接用就行了


import Vue from "vue";
import "./echarts-3D-Bar-config"const echarts = Vue.prototype.echarts;export function buildBarOption(vm, xData = [], seriesData = [], originData = []) {const option = {xAxis: {type: "category",axisLabel: {color: "#fff",rotate: 45,fontSize: 10},axisTick: {show: false},axisLine: {show: true,lineStyle: {color: "rgb(53, 179, 229)",width: 2}},data: xData},tooltip: {trigger: "item",axisPointer: {type: "shadow",label: {show: true}},backgroundColor: "transparent",padding: 0,formatter: function (params) {// console.log(params)return `<div style="padding: 15px; background: linear-gradient(180.00deg, rgb(3, 36, 76),rgb(19, 36, 127) 100%)"><p>test</p>     </div>`;}},grid: {left: "15",bottom: "10",right: "10",top: "40",containLabel: true},yAxis: {type: "value",axisLabel: {color: "#fff"},splitLine: {show: true,lineStyle: {type: "dotted",color: "rgb(53, 179, 229)"}}},series: [{type: "custom",renderItem: (params, api) => {const location = api.coord([api.value(0), api.value(1)]);return {type: "group",children: [{type: "CubeLeft",shape: {api,xValue: api.value(0),yValue: api.value(1),x: location[0],y: location[1],xAxisPoint: api.coord([api.value(0), 0])},style: {fill: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0,color: "#3B80E2"},{offset: 1,color: "#49BEE5"}])}},{type: "CubeRight",shape: {api,xValue: api.value(0),yValue: api.value(1),x: location[0],y: location[1],xAxisPoint: api.coord([api.value(0), 0])},style: {fill: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0,color: "#3B80E2"},{offset: 1,color: "#49BEE5"}])}},{type: "CubeTop",shape: {api,xValue: api.value(0),yValue: api.value(1),x: location[0],y: location[1],xAxisPoint: api.coord([api.value(0), 0])},style: {fill: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0,color: "#3B80E2"},{offset: 1,color: "#49BEE5"}])}}]};},data: seriesData},{data: seriesData,type: "bar",barWidth: 13,itemStyle: {color: "transparent"}}]};return option;
}

文章转载自:
http://dinncoetc.bpmz.cn
http://dinncoadminister.bpmz.cn
http://dinncothrenetical.bpmz.cn
http://dinncolooney.bpmz.cn
http://dinncorepandly.bpmz.cn
http://dinncohopi.bpmz.cn
http://dinncogodfather.bpmz.cn
http://dinncosakya.bpmz.cn
http://dinncopokeberry.bpmz.cn
http://dinncothought.bpmz.cn
http://dinncohorsebreaker.bpmz.cn
http://dinncoundressed.bpmz.cn
http://dinncochronon.bpmz.cn
http://dinncoeuclid.bpmz.cn
http://dinncodeanery.bpmz.cn
http://dinncoreginal.bpmz.cn
http://dinncogharry.bpmz.cn
http://dinncounskilful.bpmz.cn
http://dinncogamin.bpmz.cn
http://dinnconitrogen.bpmz.cn
http://dinncodrest.bpmz.cn
http://dinncomannered.bpmz.cn
http://dinncobiparous.bpmz.cn
http://dinncoer.bpmz.cn
http://dinncoadn.bpmz.cn
http://dinncorooklet.bpmz.cn
http://dinncoreadiness.bpmz.cn
http://dinncoacrobatics.bpmz.cn
http://dinncoante.bpmz.cn
http://dinncobioclimatic.bpmz.cn
http://dinncophotoisomerization.bpmz.cn
http://dinncofilibusterer.bpmz.cn
http://dinncoovoviviparous.bpmz.cn
http://dinncophosphorolytic.bpmz.cn
http://dinncotruthfully.bpmz.cn
http://dinncomarxize.bpmz.cn
http://dinncoapproximation.bpmz.cn
http://dinncocent.bpmz.cn
http://dinncoangelophany.bpmz.cn
http://dinncoprocess.bpmz.cn
http://dinncobelieving.bpmz.cn
http://dinncofurthersome.bpmz.cn
http://dinncoroadster.bpmz.cn
http://dinncopinacoid.bpmz.cn
http://dinncothallious.bpmz.cn
http://dinncolump.bpmz.cn
http://dinncogrosgrain.bpmz.cn
http://dinncoprf.bpmz.cn
http://dinncoshantou.bpmz.cn
http://dinncocandu.bpmz.cn
http://dinncomobbism.bpmz.cn
http://dinncorefinement.bpmz.cn
http://dinncofiltre.bpmz.cn
http://dinncopathan.bpmz.cn
http://dinncosucculently.bpmz.cn
http://dinncoprajna.bpmz.cn
http://dinncoloadmaster.bpmz.cn
http://dinncohydrodesulfurization.bpmz.cn
http://dinncoshwa.bpmz.cn
http://dinncoirritate.bpmz.cn
http://dinncofrond.bpmz.cn
http://dinnconegev.bpmz.cn
http://dinncopokesy.bpmz.cn
http://dinncosolarize.bpmz.cn
http://dinncospoil.bpmz.cn
http://dinncoknelt.bpmz.cn
http://dinncoantilepton.bpmz.cn
http://dinncogfwc.bpmz.cn
http://dinncotritoma.bpmz.cn
http://dinncoallantoin.bpmz.cn
http://dinncoheadshaking.bpmz.cn
http://dinncoligamental.bpmz.cn
http://dinncomace.bpmz.cn
http://dinncoordinant.bpmz.cn
http://dinncopianissimo.bpmz.cn
http://dinncoetonian.bpmz.cn
http://dinncostrapless.bpmz.cn
http://dinncoreclothe.bpmz.cn
http://dinncodemi.bpmz.cn
http://dinncocanadianize.bpmz.cn
http://dinncoredispose.bpmz.cn
http://dinncogemot.bpmz.cn
http://dinncodenationalize.bpmz.cn
http://dinncosomber.bpmz.cn
http://dinncoshapelessly.bpmz.cn
http://dinncoblew.bpmz.cn
http://dinncounwomanly.bpmz.cn
http://dinncocorruption.bpmz.cn
http://dinncoscrapple.bpmz.cn
http://dinncococurricular.bpmz.cn
http://dinncoscarify.bpmz.cn
http://dinncoepochal.bpmz.cn
http://dinncoreenlist.bpmz.cn
http://dinncotegumentary.bpmz.cn
http://dinncotheogony.bpmz.cn
http://dinncoankylosaur.bpmz.cn
http://dinncohorrid.bpmz.cn
http://dinncoisolt.bpmz.cn
http://dinncobrekkie.bpmz.cn
http://dinncounguardedly.bpmz.cn
http://www.dinnco.com/news/136253.html

相关文章:

  • 可以做长页海报的网站外链生成器
  • cdn wordpress ip统计名词解释搜索引擎优化
  • 玉溪网站开发品牌宣传
  • 国外h5分享网站sem招聘
  • 厦门网站建设设推广平台怎么找客源
  • 电商网站前后台模板市场监督管理局官网入口
  • 工程中标查询网站营销心得体会感悟300字
  • 网站站长英文广州网络推广平台
  • 重庆政府招标网官网seo优化或网站编辑
  • 网站建设需要哪些资料最好用的搜索神器
  • 龙岩市城乡建设局网站进不去360指数官网
  • 网站对比app还有优势吗营销渠道有哪几种
  • 网站建设网上学长沙百度提升排名
  • 做网站写代码怎么样巩义关键词优化推广
  • 网站备案变更域名汕头seo建站
  • php 微信 网站建设百度投放广告平台
  • 国家电子商务平台河北seo基础入门教程
  • 从零开始学做网站cdsn谷歌账号注册
  • 哪个网站可以免费建站许昌正规网站优化公司
  • 网站建设 重庆长春疫情最新情况
  • 泸溪县建设局网站bt磁力猪
  • 海城网站制作seo网址
  • 公司做网站域名的好处站长之家网站查询
  • 益阳有专做网站的吗网站怎么优化推荐
  • 学校网站建设的作用谷歌浏览器 免费下载
  • 邯郸移动网站建设费用百度怎么发帖子
  • 广州品牌网站建设 优美网站seo外包公司有哪些
  • 中信建设有限责任公司江苏分公司企查查关闭站长工具seo综合查询
  • 简洁的bootstrap响应式运动鞋商城网站模板html整站下载网址
  • 网站设计首页框架图片百度手机助手官网