[vtkusers] Patch for VTK-0012047-Possibility-to-hide-vtkPlot-legends

shantanu choudhary choudhary.shantanu at gmail.com
Sat Jul 9 14:00:58 EDT 2011


Hello all,

I also wanted the feature discussed here
http://vtk.1045678.n5.nabble.com/VTK-0012047-Possibility-to-hide-vtkPlot-legends-td4285050.html
I looked for vtkChartLegend.cxx file and added these changes for
disabling the legend for a plot. To disable the legend for any plot,
all one has to do is SetLable("") for the plot.

Let me know if everything is fine with the patch and if any more
changes are needed will be glad to fix it.

-- 
Regards
Shantanu Choudhary
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Legends-for-a-plot-can-be-disabled-by-setting-label-.patch
Type: text/x-diff
Size: 1779 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110709/f59078be/attachment.patch>


More information about the vtkusers mailing list