<div dir="ltr">Hi all,<br><br>I have rendered few line plots using vtkChartXY. But I want to replot some of the data. I looks like it replots everything including X&amp;Y labels. I tried calling <br><br>contextView-&gt;GetRenderer()-&gt;RemoveAllViewProps();<br>
<br>But it doesn&#39;t work!<br><br>My loop is somehting like this<br><br><span style=" color:#c0c0c0;"> </span><span style=" color:#808000;"></span>vtkSmartPointer&lt;vtkChartXY&gt; chart =<br>             vtkSmartPointer&lt;vtkChartXY&gt;::New();<br>
<br>for (int x=0;x&lt;10;x++)<br>    {<br>vtkPlot *line = chart-&gt;AddPlot(vtkChart::LINE);<br>      line-&gt;SetInput(table, 0, 1);<br>}<br><br>contextview-&gt;GetInteractor()-&gt;Initialize();<br>contextView-&gt;view-&gt;GetInteractor()-&gt;Start();<br>
<br>Any suggestions?<br><br>Thanks<br><br>Jothy<br><span style=" color:#c0c0c0;">  </span><br></div>