<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:΢ÈíÑźÚ
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br><div>
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:΢ÈíÑźÚ;
}
--></style>
<div dir="ltr">My fault, cosine is shown but sine is not. Probably the dotted lines are not handled correctly in win7 x64?<br>I tried the same code in xp and it worked like on the webpage. Anyone is following the issue?<br><br><div><hr id="ecxstopSpelling">From: afboucher@gmail.com<br>Date: Fri, 24 May 2013 07:57:24 -0700<br>Subject: Re: [vtkusers] vtkChartXy problem<br>To: hongsongyang@163.com<br>CC: lewes_infor@hotmail.com; vtkusers@vtk.org<br><br><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>Regards,</div><div>Alex</div></div><div class="ecxgmail_extra"><br><br><div class="ecxgmail_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="ecxgmail_quote" style="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" align="left" lang="zh-cn">
<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" align="left" lang="zh-cn">
<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></div>                                            </div></div>                                            </div></body>
</html>