[vtkusers] Problem with vtkChartXY with multiple vtkPlots in different corners

CuriousGTime chrisportka at gmail.com
Mon Mar 4 18:38:48 EST 2013


I'm using a vtkChartXY and plotting multiple lines with vtkPlots.  Some of
the plots I want to display on a different axis, so I'm using
SetPlotCorner(plot, 0) to plot on the left axis and SetPlotCorner(plot, 1)
to plot on the right axis.  This all works fine, the plots show up and the
axis' are generated nicely.

The problem is when this chart is interacted with by the user (via panning,
scrolling, zooming) anything plotted on the right axis doesn't work
properly.  Namely, panning vertically doesn't effect lines plotted on the
right axis - they don't move up or down and so the right y-axis also does
not update.

Everything on the left axis works as expected, zooming and panning properly
with the axis ticks updating properly.  Anybody have any ideas?

Oh, and I'm using vtk 5.8.  Thanks!



--
View this message in context: http://vtk.1045678.n5.nabble.com/Problem-with-vtkChartXY-with-multiple-vtkPlots-in-different-corners-tp5719012.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list