Zk Chart setDraggableY(true) minor issue.

asked 2020-08-27 00:18:24 +0800

bztom35 gravatar image bztom35
53 4

updated 2020-08-31 13:01:16 +0800

hawk gravatar image hawk
2655 1 5
http://hawkphoenix.blogsp... ZK Team

I have this checkbox that control when to allow user to drag on a particular time series.

    @Listen("onCheck = #EnableDragOnSeries2")
    public void processingDragRequest(Event event) {

                 if (EnableDragOnSeries2.isChecked()) {
                    System.out.println("Interpolate box checked.");
                   }else {
                   System.out.println("Interpolate box unchecked.");


Once the draggableY() method is set to true, it is always enabled even if I unchecked the checkbox. The only way to turn it off is by calling chart.invalidate().

Is this the default behavior of this draggableY() method?

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2020-08-31 14:46:26 +0800

hawk gravatar image hawk
2655 1 5
http://hawkphoenix.blogsp... ZK Team

updated 2020-08-31 14:46:44 +0800

I have created a bug https://tracker.zkoss.org/browse/ZKCHARTS-108 for your case. Besides, the workaround is what you did: chart.invalidate();

Thanks for reporting such a bug. :)

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2020-08-27 00:18:24 +0800

Seen: 7 times

Last updated: Aug 31

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More