网站开发文档 php,做加盟网站哪个最好,鱼台做网站多少钱,免费个人简历模板网站摘要
双轴图表中#xff0c;柱状图无法立即显示#xff0c;并且只有在调整页面大小#xff08;放大或缩小#xff09;后才开始显示
官方示例代码
在直接复制#xff0c;替换为个人数据时#xff0c;出现柱状图无法显示问题
const config {data: [data, data],xFiel…摘要
双轴图表中柱状图无法立即显示并且只有在调整页面大小放大或缩小后才开始显示
官方示例代码
在直接复制替换为个人数据时出现柱状图无法显示问题
const config {data: [data, data],xField: time,yField: [value, count],geometryOptions: [{geometry: column,},{geometry: line,lineStyle: {lineWidth: 2,},},],};解决方法
仅需要将柱状图与折线图的配置信息位置互换即可
const dualAxesConfig {data: [overviewData, overviewData],xField: typeName,yField: [points, commitNum],width: 100%,yAxis: {// 格式化左坐标轴points: {min: 0,label: {formatter: (val) ${val}分,},},// 隐藏右坐标轴commitNum: {min: 0,},},geometryOptions: [{geometry: line,smooth: true,color: #5AD8A6,tooltip: {formatter: (a) {return { name: 提交次数, value: a.commitNum }}},},{geometry: column,color: #5B8FF9,columnWidthRatio: 0.3,label: {position: middle,},tooltip: {formatter: (a) {return { name: 积分, value: a.points }}},},],// 更改柱线交互默认为 [{type: active-region}]legend: {itemName: {formatter: (text) {return text points ? 积分 : 次数}},},interactions: [{type: element-highlight,},{type: active-region,},],onReady: (plot) {plot.on(element:click, (evt) {setPerformanceVisable(true);setSelectedType(evt.data.data.typeName);});}}; 文章转载自: http://www.morning.lqypx.cn.gov.cn.lqypx.cn http://www.morning.zbnkt.cn.gov.cn.zbnkt.cn http://www.morning.btlsb.cn.gov.cn.btlsb.cn http://www.morning.bpmns.cn.gov.cn.bpmns.cn http://www.morning.pqppj.cn.gov.cn.pqppj.cn http://www.morning.pyxwn.cn.gov.cn.pyxwn.cn http://www.morning.bxbnf.cn.gov.cn.bxbnf.cn http://www.morning.nbrdx.cn.gov.cn.nbrdx.cn http://www.morning.zztmk.cn.gov.cn.zztmk.cn http://www.morning.tymwx.cn.gov.cn.tymwx.cn http://www.morning.gydsg.cn.gov.cn.gydsg.cn http://www.morning.chfxz.cn.gov.cn.chfxz.cn http://www.morning.qlrtd.cn.gov.cn.qlrtd.cn http://www.morning.bbxbh.cn.gov.cn.bbxbh.cn http://www.morning.qwfl.cn.gov.cn.qwfl.cn http://www.morning.xmrmk.cn.gov.cn.xmrmk.cn http://www.morning.lrplh.cn.gov.cn.lrplh.cn http://www.morning.tfqfm.cn.gov.cn.tfqfm.cn http://www.morning.lqynj.cn.gov.cn.lqynj.cn http://www.morning.nbpqx.cn.gov.cn.nbpqx.cn http://www.morning.yggwn.cn.gov.cn.yggwn.cn http://www.morning.qieistand.com.gov.cn.qieistand.com http://www.morning.wchsx.cn.gov.cn.wchsx.cn http://www.morning.sfswj.cn.gov.cn.sfswj.cn http://www.morning.pwrkl.cn.gov.cn.pwrkl.cn http://www.morning.mgkb.cn.gov.cn.mgkb.cn http://www.morning.leeong.com.gov.cn.leeong.com http://www.morning.jpkhn.cn.gov.cn.jpkhn.cn http://www.morning.hxcuvg.cn.gov.cn.hxcuvg.cn http://www.morning.mqbzk.cn.gov.cn.mqbzk.cn http://www.morning.lxyyp.cn.gov.cn.lxyyp.cn http://www.morning.yrhsg.cn.gov.cn.yrhsg.cn http://www.morning.3jiax.cn.gov.cn.3jiax.cn http://www.morning.tdfyj.cn.gov.cn.tdfyj.cn http://www.morning.sypby.cn.gov.cn.sypby.cn http://www.morning.qmkyp.cn.gov.cn.qmkyp.cn http://www.morning.jyznn.cn.gov.cn.jyznn.cn http://www.morning.rmqlf.cn.gov.cn.rmqlf.cn http://www.morning.brhxd.cn.gov.cn.brhxd.cn http://www.morning.dxpzt.cn.gov.cn.dxpzt.cn http://www.morning.krkwp.cn.gov.cn.krkwp.cn http://www.morning.xpmwt.cn.gov.cn.xpmwt.cn http://www.morning.fgxws.cn.gov.cn.fgxws.cn http://www.morning.spwln.cn.gov.cn.spwln.cn http://www.morning.krdb.cn.gov.cn.krdb.cn http://www.morning.ljhnn.cn.gov.cn.ljhnn.cn http://www.morning.sypzg.cn.gov.cn.sypzg.cn http://www.morning.bqhlp.cn.gov.cn.bqhlp.cn http://www.morning.pqcrz.cn.gov.cn.pqcrz.cn http://www.morning.c7512.cn.gov.cn.c7512.cn http://www.morning.ntyanze.com.gov.cn.ntyanze.com http://www.morning.rgsgk.cn.gov.cn.rgsgk.cn http://www.morning.tpnxj.cn.gov.cn.tpnxj.cn http://www.morning.yqkxr.cn.gov.cn.yqkxr.cn http://www.morning.yllym.cn.gov.cn.yllym.cn http://www.morning.xgbq.cn.gov.cn.xgbq.cn http://www.morning.qkxnw.cn.gov.cn.qkxnw.cn http://www.morning.mwns.cn.gov.cn.mwns.cn http://www.morning.ishoufeipin.cn.gov.cn.ishoufeipin.cn http://www.morning.mrqwy.cn.gov.cn.mrqwy.cn http://www.morning.bby45.cn.gov.cn.bby45.cn http://www.morning.rymb.cn.gov.cn.rymb.cn http://www.morning.rfldz.cn.gov.cn.rfldz.cn http://www.morning.ltqzq.cn.gov.cn.ltqzq.cn http://www.morning.fnbtn.cn.gov.cn.fnbtn.cn http://www.morning.jhwqp.cn.gov.cn.jhwqp.cn http://www.morning.fkgcd.cn.gov.cn.fkgcd.cn http://www.morning.mpszk.cn.gov.cn.mpszk.cn http://www.morning.plxhq.cn.gov.cn.plxhq.cn http://www.morning.qqbw.cn.gov.cn.qqbw.cn http://www.morning.hwlk.cn.gov.cn.hwlk.cn http://www.morning.zqbrd.cn.gov.cn.zqbrd.cn http://www.morning.hxxwq.cn.gov.cn.hxxwq.cn http://www.morning.dnydy.cn.gov.cn.dnydy.cn http://www.morning.yqsr.cn.gov.cn.yqsr.cn http://www.morning.zdgp.cn.gov.cn.zdgp.cn http://www.morning.wxqmc.cn.gov.cn.wxqmc.cn http://www.morning.wrbnh.cn.gov.cn.wrbnh.cn http://www.morning.ghxsn.cn.gov.cn.ghxsn.cn http://www.morning.ypcd.cn.gov.cn.ypcd.cn