[vtkusers] vtkChartXY without any plot

nclemeur nclemeur at gmail.com
Sat Feb 26 07:22:16 EST 2011


Marcus D. Hanwell-2 wrote:
> 
> It was the preferred behavior specified as I wrote the implementation.
> There is a check in the Paint function that checks for visible plots,
> and returns early if there are none. This could be turned into a flag,
> for the code available now you could simply add an empty plot that is
> visible to (no data) and I think that should work.
> 

Yes this is working. That seems a good workaround. The only downside is that
the (empty) legend box is still shown, but I can switch that off easily too.

Thanks a lot for the hint!

Cheers

Nicolas


-- 
View this message in context: http://vtk.1045678.n5.nabble.com/vtkChartXY-without-any-plot-tp3399972p3401340.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list