You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a param ListSelector, used to build a panel CheckBoxGroup, and an echart
The number of series of the echart varies according to the number of values selected in the CheckBoxGroup.
When I click new values, a new serie is added, and the plot is properly updated.
But when I unclick an existing value, the plot isn't updated.
More details :
in both cases, the echart series are updated. see the reproduction code below.
having a look at the messages passing through the Websocket, I know that "ModelChanged" messages are received by the browser, with updated series. Check screenshots below.
It's really only removing a serie that is failing. Adding series always work. This is illustrated in the video below. For instance, running my reproduction code, run the following sequence :
check 2 (it's updated)
check 4 (it's updated)
uncheck 4 (it's not updated)
check8 (it's updated as expected)
Complete, minimal, self-contained example code that reproduces the issue
@MarcSkovMadsen thanks a lot for pointing out the original issue ! Very helpful :) I've been able to test one of the suggested workarounds, and provided a fix in PR #5435
Software version info
Description
I have a param
ListSelector
, used to build a panelCheckBoxGroup
, and anechart
The number of series of the echart varies according to the number of values selected in the
CheckBoxGroup
.When I click new values, a new serie is added, and the plot is properly updated.
But when I unclick an existing value, the plot isn't updated.
More details :
in both cases, the echart series are updated. see the reproduction code below.
having a look at the messages passing through the Websocket, I know that "ModelChanged" messages are received by the browser, with updated series. Check screenshots below.
It's really only removing a serie that is failing. Adding series always work. This is illustrated in the video below. For instance, running my reproduction code, run the following sequence :
Complete, minimal, self-contained example code that reproduces the issue
Stack traceback and/or browser JavaScript console output
No console output
Screen recording
echarts.bug.demo.mov
Screenshots of the messages in the websocket
Step 1 : Before removing a serie. There are two series in the echart config
Step 2 : After removing a serie. There is one serie in the echart config, as it should be.
The text was updated successfully, but these errors were encountered: