wap网站 视频教程,凡科网之前做的网站在哪看,用手机能创建网站吗,科技基金有个需求#xff0c;点击柱子#xff0c;然后得到该柱子的信息#xff0c;然后展示这个机房的时序图。 第一步卡住了#xff0c;就是不知道如何获取柱子的序号。后参考#xff1a;https://blog.csdn.net/zt_fucker/article/details/72461572?utm_sourceblogxgwz1 得到思路…有个需求点击柱子然后得到该柱子的信息然后展示这个机房的时序图。 第一步卡住了就是不知道如何获取柱子的序号。后参考https://blog.csdn.net/zt_fucker/article/details/72461572?utm_sourceblogxgwz1 得到思路 添加事件 myChart.on(click, function (params) {alert(params.dataIndex);});然后点击第一个柱子