<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1467006375617_3912" dir="ltr"><span id="yui_3_16_0_ym19_1_1467006375617_3924">Thanks to Elvis Stansvik for responding to the request. The correction is as below - it is the view's renderwindow that needs to be set to my renderwindow, not the other way around as shown for the Qt widget in the documentation - specifically:</span></div><div id="yui_3_16_0_ym19_1_1467006375617_3912" dir="ltr"> view->SetRenderWindow(GetRenderWindow()); </div><div dir="ltr" id="yui_3_16_0_ym19_1_1467006375617_4031"> view->SetInteractor(GetInteractor()); <br id="yui_3_16_0_ym19_1_1467006375617_4023"></div><div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" id="yui_3_16_0_ym19_1_1467006375617_3928" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1467006375617_3927"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1467006375617_3926"> <div dir="ltr" id="yui_3_16_0_ym19_1_1467006375617_3925"><font size="2" face="Arial" id="yui_3_16_0_ym19_1_1467006375617_3930"><br>----- Forwarded Message -----<br> <b id="yui_3_16_0_ym19_1_1467006375617_4017"><span style="font-weight:bold;" id="yui_3_16_0_ym19_1_1467006375617_4016">From:</span></b> arasu <arasakumaran@yahoo.com><br> <b id="yui_3_16_0_ym19_1_1467006375617_4015"><span style="font-weight: bold;" id="yui_3_16_0_ym19_1_1467006375617_4014">To:</span></b> "vtkusers@vtk.org" <vtkusers@vtk.org> <br> <b id="yui_3_16_0_ym19_1_1467006375617_4013"><span style="font-weight: bold;" id="yui_3_16_0_ym19_1_1467006375617_4012">Sent:</span></b> Sunday, June 26, 2016 4:41 PM<br> <b id="yui_3_16_0_ym19_1_1467006375617_4011"><span style="font-weight: bold;" id="yui_3_16_0_ym19_1_1467006375617_4010">Subject:</span></b> Relationship between interactor/render window and VTKRenderWindowInteractor for VTK Charting<br> </font> </div> <div class="y_msg_container" id="yui_3_16_0_ym19_1_1467006375617_3973"><br>The problem is similiar to the one reported by Elvis Stansvik earlier this month about creating and displaying Chart in own Window. <br><br>I am using C++ on Windows and VTK7.0. I am not using QT. I have adapted the MFC version that comes with VTK to not be dependent on MFC. I am using the lines below (based on the documentation shows for QT )<br> SetRenderWindow(vtkWin32OpenGLRenderWindow::SafeDownCast(view->GetRenderWindow())); <br> view->SetInteractor(GetInteractor()); <br id="yui_3_16_0_ym19_1_1467006375617_4009"><br>I am able to get the chart to display on the Window I create in the program. However the Interactor does not work - i.e. mouse actions do not pan/zoom the chart. <br><br>I have no such problem when using VTK for other visualizations -creating and connecting Mapper / Actor / Renderer / Interactor etc. and connecting the renderwindow to the renderer. The visualization is shown in my window and the display responds to mouse and keyboard actions. What do I need to do in order to do the same with VTK Charting ? The interacting seems to have been initialized and started as I can put a break in the program and step through the Interactor code for mouse events.<br><br>Thanks in advance,<br><br><br></div> </div> </div> </div></div></body></html>