<p dir="ltr">Hi Cory,</p>
<p dir="ltr">Yes, I simply do not set values and there is vtkFloatArray underneath.<br>
I mentioned that creating new columns for new plots will cause the same behaviour. <br>
So I wonder if it is possible to combine several charts in one scene</p>
<p dir="ltr">Regards,<br>
Andrew</p>
<div class="gmail_quote">26 авг. 2015 г. 4:35 PM пользователь "Cory Quammen" <<a href="mailto:cory.quammen@kitware.com">cory.quammen@kitware.com</a>> написал:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Andrew,<div><br></div><div>How are you designating the plot values as (not set)? Are you just not setting them? I'm guessing that the plot is just using whatever the default value is for the array you are plotting, which may be 0.</div><div><br></div><div>I don't know that vtkChartXY supports your use case. I think you will need to use separate plots for each section of you plot.</div><div><br></div><div>Sorry if that isn't much help.</div><div><br></div><div>Cory</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 26, 2015 at 3:41 AM, Andrew Zhilka <span dir="ltr"><<a href="mailto:hotsmileband@gmail.com" target="_blank">hotsmileband@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>I am trying to create a line plot. I have already seen an example and my program works if I have continuous lines.</div><div>Let's say I have the following table (continuous case):<br><br></div><div>X values | Plot value</div><div>1            | 1</div><div>2            | 2<br></div><div>3            | 3<br></div><div>4            | 4<br></div><div><br></div><div>This case works perfectly but if I have the following one</div><div><div><br></div><div>X values | Plot value</div><div>1            | 1</div><div>2            | (not set)<br></div><div>3            | (not set)<br></div><div>4            | 4</div></div><div><br></div><div>the plot behaves like if I set the second and the third plot values to 0. And I just would like to have a gap. Because of this very reason I can not draw 2 lines independently to achieve the gap like this:</div><div><div><br></div><div>X values | Plot value 1| Plot value 2</div><div>1            | 1                | (not set)</div><div>2            | (not set)      | (not set)<br></div><div>3            | (not set)      | (not set)<br></div><div>4            | (not set)      | 4</div></div><div><br></div><div>Please, advise on what can be done to solve the issue</div><div><br></div><div>Regards,</div><div>Andrey</div></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Cory Quammen<br>R&D Engineer<br>Kitware, Inc.</div>
</div>
</blockquote></div>