<div dir="ltr">I have the issue in my code. Â This does not work:<div><br></div><div><div>Â Â vtkPlot* plot = chart_->AddPlot(vtkChart::LINE);</div><div>Â Â plot->GetPen()->SetLineType(vtkPen::DOT_LINE );</div></div>
<div><br></div><div><br></div><div style>Regards,</div><div style>Alex</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 23, 2013 at 11:07 PM, Hongsongyang <span dir="ltr"><<a href="mailto:hongsongyang@163.com" target="_blank">hongsongyang@163.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="宋体">I am very sorry for my misunderstanding. I also have some problem
in this test case.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="宋体">Although I use the same test condition with you, I could ony show
cosine line(this is different with you).</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="宋体">The attachment is my displaying result.</font></span></div><br>
<blockquote style="BORDER-LEFT:#0000ff 2px solid;PADDING-LEFT:5px;MARGIN-LEFT:5px;MARGIN-RIGHT:0px" dir="ltr">
<div dir="ltr" lang="zh-cn" align="left">
<hr>
<font face="Tahoma"><b>From:</b> <a href="mailto:vtkusers-bounces@vtk.org" target="_blank">vtkusers-bounces@vtk.org</a>
[mailto:<a href="mailto:vtkusers-bounces@vtk.org" target="_blank">vtkusers-bounces@vtk.org</a>] <b>On Behalf Of
</b>Hongsongyang<br><b>Sent:</b> Friday, May 24, 2013 1:58 PM<br><b>To:</b>
'liulewes'; <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br><b>Subject:</b> Re: [vtkusers] vtkChartXy
problem<br></font><br></div><div><div class="h5">
<div></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="宋体">I used the same environment as you discribed(win7 x64,
vtk5.10).</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="宋体">But I could run this test case
successfully.</font></span></div><br>
<blockquote style="BORDER-LEFT:#0000ff 2px solid;PADDING-LEFT:5px;MARGIN-LEFT:5px;MARGIN-RIGHT:0px" dir="ltr">
<div dir="ltr" lang="zh-cn" align="left">
<hr>
<font face="Tahoma"><b>From:</b> <a href="mailto:vtkusers-bounces@vtk.org" target="_blank">vtkusers-bounces@vtk.org</a>
[mailto:<a href="mailto:vtkusers-bounces@vtk.org" target="_blank">vtkusers-bounces@vtk.org</a>] <b>On Behalf Of
</b>liulewes<br><b>Sent:</b> Friday, May 24, 2013 4:53 AM<br><b>To:</b>
<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br><b>Subject:</b> [vtkusers] vtkChartXy
problem<br></font><br></div>
<div></div>
<div dir="ltr">I'm using the vtk example here: <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Plotting/LinePlot" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Plotting/LinePlot</a><br>and
I found out that the cosine line is not shown with the original code.
Further debugging showed that the following line caused the problem:<br><pre>line<span>-</span><span>></span>GetPen<span>(</span><span>)</span><span>-</span><span>></span>SetLineType<span>(</span><span>2</span><span>)</span><span>;<br>
<br>It looked to me that any line type other than the default one will fail to draw correctly.<br>Can anyone give a solution?<br><br>Environment:<br>Win7 x64<br>vtk 5.10<br><br>Lewes<br></span></pre><br></div></blockquote>
</div></div></blockquote></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" 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" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>