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 "0 - 4", "5-9" .. etc. Is this possible?<br>
<br>What I need is something like (with vtkBarChartActor:)<br><br>actor->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"><<a href="mailto:jeff.baumes@kitware.com">jeff.baumes@kitware.com</a>></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 <<a href="mailto:varguna@gmail.com">varguna@gmail.com</a>> wrote:<br>
><br>
> Hello,<br>
> I am using vtkBarChartActor to display a histogram in one of my<br>
> applications. I have a couple of questions about this:<br>
> - The font on the y-axis of the barchart is too large.<br>
> - The title of the barchart is almost unreadable since the font is too<br>
> small.<br>
> - Similarly the intervals shown on x-axis are printed with with small fonts.<br>
> - Right next to the bar chart, the bins on the x-axis are displayed again. I<br>
> want to display frequencies instead there. Is this possible?<br>
><br>
> In general, How can I play with fonts? Should I use vtkTextProperty or any<br>
> other suggestions?<br>
> Thanks a lot.<br>
> Aytekin<br>
><br>
> --<br>
> My web page: <a href="http://www.cs.rpi.edu/%7Evargua" target="_blank">http://www.cs.rpi.edu/~vargua</a><br>
><br>
</div></div>> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <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:<br>
> <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>
><br>
<font color="#888888"><br>
<br>
<br>
--<br>
Jeff Baumes, Ph.D.<br>
R&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>