[vtkusers] Hide legends for plots in vtkChartXY

Carsten Panch Pedersen panch at trivision.dk
Thu Mar 24 09:23:34 EDT 2011


Hi everyone,

 

I'm using a vtkChartXY to display some plots. On the vtkChartXY I can choose
to show legends (SetShowLegend(true)). Apparently, I cannot select which
plots to show the legends for. Either it's all or none.

 

Is it possible to hide the legends for specific plots? I could set the plot
label to an empty string, but it still leaves drawing of the plot color. I
would like to remove it altogether.

 

Thanks in advance,

 

Carsten

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


More information about the vtkusers mailing list