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
The text was updated successfully, but these errors were encountered:
这是代码
..... var annotations = [ { start: ['1992', 'start'], end: ['1992', 'end'] }, { start: ['1994', 'start'], end: ['1994', 'end'] }, { start: ['1996', 'start'], end: ['1996', 'end'] }, { start: ['1999', 'start'], end: ['1999', 'end'] } ] ...... annotations.forEach(f => { chart.annotation().line({ ...f, style: { stroke: '#d9d9d9', lineWidth: 1, lineDash: [10, 10] } }) }) chart.render();
Sorry, something went wrong.
盲猜问题,每次重新 render 的时候,需要手动将 annotations clear 掉。
chart.getAnnotationController().clear();
No branches or pull requests
The text was updated successfully, but these errors were encountered: