[vtkusers] VTK 5.8 vtkChartXY - axes and plot disappear while panning/zooming, release build only

John Platt jcplatt at dsl.pipex.com
Mon Dec 12 18:26:38 EST 2011


Hi,

I have an XY chart with log X and linear Y axes. Panning/zooming works fine in the debug build but in the release build, the axes and plot lines disappear at certain positions and cannot be recovered. There is no problem if the x-axis is linear.

Running the release version through the debugger, qDebug() gives the following output from  vtkChartXY::UpdateLayout()

this->Point1[1] = 35
this->Point1[1] = 7432042
this->Point1[1] = 7432042
this->Point1[1] = 7432042

However, if instead of printing this->Point1[1],  qDebug() is used to output origin[1], the problem goes away (no output is printed). Printing both values introduces the problem again

this->Point1[1] = 35 
this->Point1[1] = 7431866
this->Point1[1] = 7431866
this->Point1[1] = 7431866

Platform WinXP, VS2008, Qt4.6.2, VTK 5.8.0 statically linked 

Can anyone help?

Many thanks,

John.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111212/eecdbebf/attachment.htm>


More information about the vtkusers mailing list