Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.

create image always returning null

Legacy UserLegacy User Member Posts: 0 Newbie
edited November 2018 in Help
Hi All,


IOObject io=ioResult.getElementAt(0);
TreeModel model=(TreeModel) ioResult.getElementAt(0);
  Renderer createRenderer = RendererService.createRenderer(io, "Graph View");
      Component visualizationComponent=  createRenderer.getVisualizationComponent(io, ioResult);
      System.out.println(visualizationComponent.isDisplayable());
      Image createImage = visualizationComponent.createImage(100, 100);
        Graphics graphics = createImage.getGraphics();


visualizationComponent.isDisplayable()....false.
here createImage always returning null
what could be the reason?

thanks in advance.

Tagged:

Answers

Sign In or Register to comment.