[vtkusers] vtkChartXy problem

liulewes lewes_infor at hotmail.com
Thu May 23 16:53:16 EDT 2013


I'm using the vtk example here: http://www.vtk.org/Wiki/VTK/Examples/Cxx/Plotting/LinePlot
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:
line->GetPen()->SetLineType(2);

It looked to me that any line type other than the default one will fail to draw correctly.
Can anyone give a solution?

Environment:
Win7 x64
vtk 5.10

Lewes

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130523/5d6e0f0a/attachment.htm>


More information about the vtkusers mailing list