Thanks a lot.<br>This really works much better than vtkBarChartActor. Is there a way to change bar labels? If there are 5 bins, by default the bar names are numbers from 0 to 4. I want to replace them with some intervals like &quot;0 - 4&quot;, &quot;5-9&quot; .. etc. Is this possible?<br>
<br>What I need is something like (with vtkBarChartActor:)<br><br>actor-&gt;SetBarLabel(i, barName[i]); where barName contains names of bars on x-axis<br><br>Thanks a lot.<br>Aytekin<br><br><div class="gmail_quote">On Thu, Mar 26, 2009 at 9:46 AM, Jeff Baumes <span dir="ltr">&lt;<a href="mailto:jeff.baumes@kitware.com">jeff.baumes@kitware.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">If you have access to Qt, GUISupport\Qt\vtkQtBarChartView may be a<br>
better choice. It can display the contents of a vtkTable.<br>
<br>
Jeff<br>
<div><div></div><div class="h5"><br>
On Wed, Mar 25, 2009 at 12:42 PM, Aytekin Vargun &lt;<a href="mailto:varguna@gmail.com">varguna@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hello,<br>
&gt; I am using vtkBarChartActor to display a histogram in one of my<br>
&gt; applications. I have a couple of questions about this:<br>
&gt; - The font on the y-axis of the barchart is too large.<br>
&gt; - The title of the barchart is almost unreadable since the font is too<br>
&gt; small.<br>
&gt; - Similarly the intervals shown on x-axis are printed with with small fonts.<br>
&gt; - Right next to the bar chart, the bins on the x-axis are displayed again. I<br>
&gt; want to display frequencies instead there. Is this possible?<br>
&gt;<br>
&gt; In general, How can I play with fonts? Should I use vtkTextProperty or any<br>
&gt; other suggestions?<br>
&gt; Thanks a lot.<br>
&gt; Aytekin<br>
&gt;<br>
&gt; --<br>
&gt; My web page: <a href="http://www.cs.rpi.edu/%7Evargua" target="_blank">http://www.cs.rpi.edu/~vargua</a><br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
&gt;<br>
<font color="#888888"><br>
<br>
<br>
--<br>
Jeff Baumes, Ph.D.<br>
R&amp;D Engineer, Kitware Inc.<br>
(518) 371-3971 x132<br>
<a href="mailto:jeff.baumes@kitware.com">jeff.baumes@kitware.com</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>My web page: <a href="http://www.cs.rpi.edu/~vargua">http://www.cs.rpi.edu/~vargua</a><br>