We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我现在添加的代码是
aaOptions.chart?.events( AAChartEvents() .load( String.format( """ function() { let points = []; let chart = this; let series = chart.series; let length = series.length; for (let i = 0; i < length; i++) { let pointElement = series[i].data[%s]; points.push(pointElement); } chart.xAxis[0].drawCrosshair(null, points[0]); chart.tooltip.refresh(points); }""", defaultSelectedIndex ) ) )
添加这段代码,现在出现的结果是默认位置为点击效果,但是点击新的圆柱,默认位置的颜色没有变成未选择的颜色,然后就有两个选中的样子。我想要点击新的,去除旧的
The text was updated successfully, but these errors were encountered:
参考这个相似问题:
Sorry, something went wrong.
解决方案也是一样的:
也就是说, 在原来的 JS 的 for 循环中多加一句
JS
for
pointElement.onMouseOver();
就可以了.
No branches or pull requests
我现在添加的代码是
添加这段代码,现在出现的结果是默认位置为点击效果,但是点击新的圆柱,默认位置的颜色没有变成未选择的颜色,然后就有两个选中的样子。我想要点击新的,去除旧的
The text was updated successfully, but these errors were encountered: