This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
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
Breaking Change (5.0.0-beta.10) #4657
Comments
放到 release 的描述中吧。 |
嗯嗯,我在 release 里面引用了这个 issue 的。 |
what happened to functions like getEngine, registerInteraction etc? |
const chart = new Chart();
// ....
const { canvas } = chart.getContext().canvas;
const elements = canvas.document.getElementsByClassName('element');
elements[0].addEventListener('click', () => {}); So for 4.0 users, the best time to upgrade is after releasing 5.1.0. Sorry for the inconvenience caused to you, we'll provide detailed upgrade docs and optimize API docs as soon as possible. |
@pearmini |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Breaking Change (5.0.0-beta.10)
There are some breaking changes for 5.0.0-beta.10.
node.interaction
Change Interaction from array prop to object prop.(#4628)
node.coordinate
Change coordinate from array prop to object prop. (#4637)
node.state
Specify the state of elements by
mark.state
API rather than in thechart.interaction
.(#4649)mark.label.style
Specify style props supported by G element through
label.style
.(#4639)The text was updated successfully, but these errors were encountered: