The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

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, 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.