问题描述
我正在使用 amCharts 条形图的自定义工具提示来显示其他详细信息。但由于某种原因,工具提示渲染得很晚。无法弄清楚为什么会这样。
this.categoryAxis.datafields.avgViewTimeY = "avg_view_time"
this.categoryAxis.datafields.viewTimey = 'view_time'
this.categoryAxis.datafields.exitY = "exits_per_view"
this.categoryAxis.datafields.intPerViewY = "interactions_per_view"
this.categoryAxis.datafields.totalViewY = "views"
this.categoryAxis.tooltipHTML = `<div style="background: #333; display: flex; align-items: center; justify-content: space-between; width: 100%;">${avgViewTime + viewTime + exits + intPerView + totalView}</div>`
即使所有的值都在这里,tooltipHtml 需要时间来呈现。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)