[Vaadin Chart] click listener does not fire immediately

Hi,

chart.addPointClickListener(this);

chart.setImmediate(true);

Is this a server push problem? The above two lines will fire the listener after mouse is clicked and moved. Single click will not fire the event. Add setImmediate does not help. Thanks!

Br,
Xuan

Hi,

This example works fine for me:
http://demo.vaadin.com/charts/#ClickToAddPoint

Would you post a full code example and details about the environment where you can repeat your issue?

cheers,
matti

Hi,

Evil IE problem. After you said it is working for you, I opened my chrome… yes, it works in chorme but not in my IE 9.0.8. I need to move the mouse a little bit to trigger the event. It is too bad I cannot use the click listener as my user group uses IE only. Thanks for confirming!

Br,
Xuan

I’m experiencing the same problem, but in my case it happens with all major browsers. I’ve just created a ticket:

http://dev.vaadin.com/ticket/14268

The sample linked by Matti works for me; running it in debug mode (http://demo.vaadin.com/charts/?debug#ClickToAddPoint) reveals that it’s built with 7.1.7, while my examples were built with version 7.2.2 and 7.2.5. I tried to recompile my example with Vaadin 7.1.9 (I used this instead of 7.1.7 because I had the jars stored in my Ivy cache) and… it works. I guess Vaadin 7.2 has broken something.

Hi,

Looks like that indeed. Thanks for bringing this up, this needs to be fixed soon.

cheers,
matti

HiMatti,
I am using Vaadin Column Bar chart. I want to add a click listener when the user clicks on the one of the bar charts and then open a sub window with table to show the detail data related to that bar olumn. How can this be done?