svonderohe commented on code in PR #20563:
URL: https://github.com/apache/echarts/pull/20563#discussion_r1871750207
##########
src/chart/line/LineView.ts:
##########
@@ -1031,7 +1031,6 @@ class LineView extends ChartView {
_changePolyState(toState: DisplayState) {
const polygon = this._polygon;
- setStatesFlag(this._polyline, toState);
polygon && setStatesFlag(polygon, toState);
Review Comment:
I believe the first call to `setStatesFlag` is not intentional. Removing the
call fixes the error I was encountering since the second call has a null check
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]