<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<STYLE>.hmmessage P {
        PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
        FONT-FAMILY: &#24494;&#36719;&#38597;&#40657;; FONT-SIZE: 12pt
}
</STYLE>

<META name=GENERATOR content="MSHTML 9.00.8112.16484"></HEAD>
<BODY class=hmmessage>
<DIV dir=ltr align=left><SPAN class=168135705-24052013><FONT color=#0000ff 
size=2 face=&#23435;&#20307;>I used the same environment as you discribed(win7 x64, 
vtk5.10).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=168135705-24052013><FONT color=#0000ff 
size=2 face=&#23435;&#20307;>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 class=OutlookMessageHeader align=left>
  <HR tabIndex=-1>
  <FONT size=2 face=Tahoma><B>From:</B> vtkusers-bounces@vtk.org 
  [mailto:vtkusers-bounces@vtk.org] <B>On Behalf Of </B>liulewes<BR><B>Sent:</B> 
  Friday, May 24, 2013 4:53 AM<BR><B>To:</B> vtkusers@vtk.org<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 class=de1>line<SPAN class=sy2>-</SPAN><SPAN class=sy1>&gt;</SPAN>GetPen<SPAN class=br0>(</SPAN><SPAN class=br0>)</SPAN><SPAN class=sy2>-</SPAN><SPAN class=sy1>&gt;</SPAN>SetLineType<SPAN class=br0>(</SPAN><SPAN class=nu0>2</SPAN><SPAN class=br0>)</SPAN><SPAN class=sy4>;<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></BODY></HTML>