[vtkusers] vtkChartLegend SetOpacity not working
Marcus D. Hanwell
marcus.hanwell at kitware.com
Thu Jul 7 14:17:16 EDT 2011
On Thu, Jul 7, 2011 at 1:01 PM, Joseph Melnyk <JMelnyk at pile.com> wrote:
> For what it's worth, this solution worked wonderfully. One only needs to do chart->GetLegend()->GetBrush()->SetOpactiy([0-255]) to set the opacity.
>
This looks like an oversight on my part - I failed to respect the
opacity in the parent class for the legend.
Marcus
More information about the vtkusers
mailing list