Online plotting does not work anymore

swiebertjeswiebertje Member Posts: 4 Contributor I
edited November 2018 in Help
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.




Answers

  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    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
  • swiebertjeswiebertje Member Posts: 4 Contributor I
    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.
Sign In or Register to comment.