[vtkusers] vtkBarChartActor - FontSize() won't work

harshanand harsha.nyshadham at gmail.com
Thu Mar 7 19:24:53 EST 2013


I am not sure why this happening, everything works well for vtkBarChartActor
except for FontSize(), it wont change no matter what value i give . I tried
changing color and it works, but not the fontsize. What might be the reason?

Code:

vtkSmartPointer<vtkBarChartActor> BarChartactor = 
vtkSmartPointer<vtkBarChartActor>::New();
		BarChartactor->SetInput(dataobject);
		BarChartactor->SetTitle("string");
                BarChartactor->GetTitleTextProperty()->SetColor(1,1,0);
                BarChartactor->GetTitleTextProperty()->SetFontSize(20);



--
View this message in context: http://vtk.1045678.n5.nabble.com/vtkBarChartActor-FontSize-won-t-work-tp5719176.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list