RapidMiner

RapidMiner

Online plotting does not work anymore

Contributor II

Online plotting does not work anymore

Hi there,

The processlog operator for displaying data during process runtime does not update the plot view anymore. It seems to be some kind of problem with the datatable events. Only the table view is updated correctly for each new logged value.




2 REPLIES
Elite

Re: Online plotting does not work anymore

Hi,
as you have noticed we have changed the plotters completely. Might be, there has something gone wrong. We will check that.
Thank you for your hint.

Greetings,
  Sebastian
Old World Computing - Establishing the Future

Check out the Jackhammer Extension for RapidMiner! Crunch more data easier and with up to 700% speed up! Available only here

Contributor II

Re: Online plotting does not work anymore

I did some investigation for the problem and it appears that not all plotters have an consisted implementation for handling dataTable updates. PlotterAdapter listens to dataTable update events but only invokes a repaint. Concrete plotters should update themselves with the new data before executing the repaint. But there's no such contract available in PlotterAdapter.

At this point only a few concrete plotters responds to datatable updates by refreshing their data. I've seen different implementations for handling the datatable updates. For example the old ScatterPlotter overwrites paintComponent.

A solution could be to create an abstract method in PlotterAdapter, updatePlotter() for example, which will be called from dataTableUpdated before calling repaint. Concrete Plotters will then refresh their data in updatePlotter so the next repaint shows the dataTable update.