The popup menu in the old visualizations is broken

yzanyzan Member Posts: 66 Unicorn
edited October 2019 in Help
Model visualizations, like in Naive Bayes (Kernel), still use JFreeChart. However, the popup menu (displayed on right click) in these charts is broken. The popup menu displays correctly, but the selected command "gets eaten" and the desired action never happens. This is unfortunate because zooming out just with a touchpad (without a physical right click) is an ordeal.

The issue is in com.rapidminer.gui.plotter.charts.AbstractChartPanel:
public void actionPerformed(ActionEvent event) {

String command = event.getActionCommand();

// many of the zoom methods need a screen location - all we have is
// the zoomPoint, but it might be null. Here we grab the x and y
// coordinates, or use defaults...
double screenX = -1.0;
double screenY = -1.0;
if (this.zoomPoint != null) {
screenX = this.zoomPoint.getX();
screenY = this.zoomPoint.getY();
}

if (super.getChart() == null) { // THIS EVALUATES TO TRUE. THIS STATEMENT WAS ADDED AFTER RAPIDMINER 5.3, WHERE THE MENU STILL WORKED...
return;
}

// ...COMMANDS THAT FOLLOW NEVER GET EXECUTED.
This issue seems to be pretty old:




Answers

  • sgenzersgenzer Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager
    @Marco_Boeck how do we file this?
Sign In or Register to comment.