<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div><div>The simplest solution might be just to add multiple viewports to the render window and render a different chart in each.<br></div><div><br></div><div class="ydpd7ba7c2csignature"><div style="font-size:16px;"><div>Todd Martin, Ph.D.<br></div><div>Freelance Engineer/Software Architect.</div><br></div></div></div>
<div><br></div><div><br></div>
<div id="yahoo_quoted_3678297117" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Friday, April 13, 2018, 10:48:11 AM GMT+12, Marcus D. Hanwell <marcus.hanwell@kitware.com> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div dir="ltr">On Sat, Apr 7, 2018 at 5:52 PM, Zoltan Takacs <<a shape="rect" ymailto="mailto:zozonmr@gmail.com" href="mailto:zozonmr@gmail.com">zozonmr@gmail.com</a>> wrote:<br clear="none">><br clear="none">> I am trying to get 4 charts (vtkChartXY) into a window (multiple contextviews in a window I guess). I have looked at the examples for lineplot and scatterplot however if I add a chart2 to view they are displayed on the top each other. What is the best way to achieve this?<br clear="none">><br clear="none">By default charts fill a full view, as pointed out you can try<br clear="none">vtkChartMatrix, or you can borrow some of that code to make the charts<br clear="none">a fixed size. You would then need to manage where they are placed, and<br clear="none">how big they are when the widget they are in resizes. You can have as<br clear="none">many charts as you wish in one widget/context view. The bulk of<br clear="none">vtkChartMatrix just manages resizing when the window size is changed.<div class="yqt9442880103" id="yqtfd38925"><br clear="none">_______________________________________________<br clear="none">Powered by www.kitware.com<br clear="none"><br clear="none">Visit other Kitware open-source projects at <a shape="rect" href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br clear="none"><br clear="none">Please keep messages on-topic and check the VTK FAQ at: <a shape="rect" href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br clear="none"><br clear="none">Search the list archives at: <a shape="rect" href="http://markmail.org/search/?q=vtkusers" target="_blank">http://markmail.org/search/?q=vtkusers</a><br clear="none"><br clear="none">Follow this link to subscribe/unsubscribe:<br clear="none"><a shape="rect" href="https://vtk.org/mailman/listinfo/vtkusers" target="_blank">https://vtk.org/mailman/listinfo/vtkusers</a><br clear="none"></div></div></div>
</div>
</div></div></body></html>