<div dir="ltr"><div>Hi John,<br></div><div><br></div><div>You may need to set the chart as modified: myChart->Modified();<br><br></div><div>It this doesn't work, could you write a minimal example to able to replicate your problem?<br>
<br></div><div>Arnaud<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 18, 2012 at 10:12 PM, John Platt <span dir="ltr"><<a href="mailto:jcplatt@dsl.pipex.com" target="_blank">jcplatt@dsl.pipex.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div bgcolor="#ffffff"><div class="im">
<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>
</div><blockquote style="BORDER-LEFT:#000000 2px solid;PADDING-LEFT:5px;PADDING-RIGHT:0px;MARGIN-LEFT:5px;MARGIN-RIGHT:0px" dir="ltr"><div class="im">
<div style="FONT:10pt arial;BACKGROUND:#e4e4e4"><b>From:</b>
<a title="arnaud.barre@gmail.com" href="mailto:arnaud.barre@gmail.com" target="_blank">Arnaud
BARRE</a> </div>
<div style="FONT:10pt arial"><b>To:</b> <a title="jcplatt@dsl.pipex.com" href="mailto:jcplatt@dsl.pipex.com" target="_blank">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><div><div class="h5"><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></div></div></blockquote></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>