<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19393">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>Hi Arnaud,<BR><BR>Thanks for your suggestion but it does not change the
behaviour.<BR>Here is my code for changing the chart title colour
...<BR><BR> vtkTextProperty* txtProp =
myChart->GetTitleProperties();<BR> txtProp->SetColor( r,
g, b );<BR> myChart->GetScene()->SetDirty( true
);<BR><BR>Thanks for your help.<BR><BR>John.<BR><BR>----- Original Message -----
</DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"
dir=ltr>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=arnaud.barre@gmail.com href="mailto:arnaud.barre@gmail.com">Arnaud
BARRE</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=jcplatt@dsl.pipex.com
href="mailto:jcplatt@dsl.pipex.com">John Platt</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, December 18, 2012 6:19
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [vtkusers] vtkChart -
difficulty changing title colour and font size</DIV>
<DIV><BR></DIV>
<DIV dir=ltr>
<DIV>How do you modify these properties? You can use the method
vtkScene::SetDirty. For example chart->GetScene()->SetDirty(true); This
should update your modifications in the next
rendering.<BR><BR></DIV>Arnaud<BR></DIV>
<DIV class=gmail_extra><BR><BR>
<DIV class=gmail_quote>On Tue, Dec 18, 2012 at 7:07 PM, John Platt <SPAN
dir=ltr><<A href="mailto:jcplatt@dsl.pipex.com"
target=_blank>jcplatt@dsl.pipex.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote><U></U>
<DIV bgcolor="#ffffff">
<DIV><FONT face=Arial>Hi,</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>I'm having trouble changing the text colour and font
size of the chart & axes titles. They will change when bold or
italic is toggled and also after a lot of zooming in the chart. Maybe there
is some issue with caching. Has anybody else had problems?</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>VTK 5.8.0, Qt 4.6.2, Win XP, VS
2008</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>Thanks,</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT
face=Arial>John.</FONT></DIV></DIV><BR>_______________________________________________<BR>Powered
by <A href="http://www.kitware.com"
target=_blank>www.kitware.com</A><BR><BR>Visit other Kitware open-source
projects at <A href="http://www.kitware.com/opensource/opensource.html"
target=_blank>http://www.kitware.com/opensource/opensource.html</A><BR><BR>Please
keep messages on-topic and check the VTK FAQ at: <A
href="http://www.vtk.org/Wiki/VTK_FAQ"
target=_blank>http://www.vtk.org/Wiki/VTK_FAQ</A><BR><BR>Follow this link to
subscribe/unsubscribe:<BR><A
href="http://www.vtk.org/mailman/listinfo/vtkusers"
target=_blank>http://www.vtk.org/mailman/listinfo/vtkusers</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV></BLOCKQUOTE></BODY></HTML>