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
想在tooltip时候显示单位 KM ,但是如何复用原有的marker chart.tooltip({ showTitle: false, itemTpl:
chart.tooltip({ showTitle: false, itemTpl:
})
The text was updated successfully, but these errors were encountered:
给你一个参考示例,当前是要有 dom 在,应该是自动保留的,当然目前确实不是很好用。
chart.tooltip({ showTitle: false, showMarkers: false, itemTpl: '<li class="g2-tooltip-list-item" data-index={index}>' + '<span style="background-color:{color};" class="g2-tooltip-marker"></span>' + '{name}{value}</li>' });
Sorry, something went wrong.
No branches or pull requests
想在tooltip时候显示单位 KM ,但是如何复用原有的marker
chart.tooltip({ showTitle: false, itemTpl:
{name}:{value}KM
})
The text was updated successfully, but these errors were encountered: