-
Bug
-
Resolution: Fixed
-
Normal
-
2.1.1
-
Security Level: Jimmy
-
None
Steps to Reproduce
Run attached example (zul + java)
Click on the button
Current Result
Values are removed but not added
Expected Result
Values should be removed and added
Debug Info
Root Cause
Point DESTROY event was changed into Series DESTROY event, which is wrong (should be REMOVED).
Workaround
Extend charts such as:
public class ChartsWorkaround extends Charts { @Override public void onSyncModel() { super.onSyncModel(); invalidate(); } }
in zul:
<charts id="chart" type="spline" model="@bind(vm.model)" use="org.zkoss.support.ChartsWorkaround" />
- relates to
-
ZKCHARTS-53 DefaultXYModel removeValue() causes model data error after B-ZKCHARTS-19
-
- Resolved
-