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
Is your feature request related to a problem? Please describe.
I can currently find no way to add a DataPointSelect callback to a chart. The EventsBuilder only accepts javascript code in the form of Strings.
Describe the solution you'd like
A withDataPointSelection() method that allows me to call a metho in Java.
Describe alternatives you've considered
I have found no way to call java code from javascript.
Additional context
/
The text was updated successfully, but these errors were encountered:
There is a workaround for this that works for me. Make sure to pass the getId() of the view as the elementId.
In View:
@ClientCallable
public void handleChartClickEvent(int seriesIndex, String seriesName, int dataPointIndex, String categoryLabel, double value, int mouseX, int mouseY) {
// do something
}
Is your feature request related to a problem? Please describe.
I can currently find no way to add a DataPointSelect callback to a chart. The EventsBuilder only accepts javascript code in the form of Strings.
Describe the solution you'd like
A withDataPointSelection() method that allows me to call a metho in Java.
Describe alternatives you've considered
I have found no way to call java code from javascript.
Additional context
/
The text was updated successfully, but these errors were encountered: