Hi Jeff,<br><br>Thanks very much. Based on the TestBarGraph example, i 
build the Qt ItemModel manually. And it works fine in vtkQtBarChart.<br><br>Regards<br>J.F.<br><br><div class="gmail_quote">2011/2/21 Jeff Baumes <span dir="ltr">&lt;<a href="mailto:jeff.baumes@kitware.com">jeff.baumes@kitware.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I do not know of API in those classes that allow this. You may want to look at the newer OpenGL-based charts (see VTK/Charts/Testing/Cxx/TestBarGraph.cxx). Marcus may know whether your use case is possible there.<div>
<br></div>
<div>Jeff<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Mon, Feb 21, 2011 at 3:02 AM, justfrom <span dir="ltr">&lt;<a href="mailto:justfrom@gmail.com" target="_blank">justfrom@gmail.com</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">
Hi All,<br><br>i have a question about vtkQtBarChartView usage. I get a vtkTable which has 100 values (each is one counter) in one column and then i display them by vtkQtBarChartView.<br><br>The x-axis only show index label from 0 to 99. But how can i show actual scalar value by x-axis label to tell that the scalar value&#39;s counter is xxx.<br>


<br>I trace the code but not find proper method to get non-index label.<br><br>Could some one help on this issue?<br><br>Thanks and Regards<br>J.F.<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 <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><br clear="all"><br>-- <br>Jeff Baumes, Ph.D.<br>Technical Lead, Kitware Inc.<br>(518) 881-4932<br>
</div>
</blockquote></div><br>