Page 1 of 1

Disable right click on Chart

Posted: Mon Sep 03, 2007 12:41 pm
by 7663379
Hi,

How can I disable the right-click drag?

Best regards,
Unicoders

Posted: Mon Sep 03, 2007 1:16 pm
by narcis
Hi Unicoders,

You can try using this:

Code: Select all

                tChart.getPanning().setActive(false);
Or this:

Code: Select all

                tChart.getPanning().setAllow(ScrollMode.NONE);

Thanks

Posted: Tue Sep 04, 2007 9:13 am
by 7663379
Thank you!
It worked perfectly.

BR,
Unicoders