[vtkusers] vtkQtBarChartView issue
Jeff Baumes
jeff.baumes at kitware.com
Mon Feb 21 10:25:36 EST 2011
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.
Jeff
On Mon, Feb 21, 2011 at 3:02 AM, justfrom <justfrom at gmail.com> wrote:
> Hi All,
>
> 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.
>
> 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's counter is xxx.
>
> I trace the code but not find proper method to get non-index label.
>
> Could some one help on this issue?
>
> Thanks and Regards
> J.F.
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
--
Jeff Baumes, Ph.D.
Technical Lead, Kitware Inc.
(518) 881-4932
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110221/5435b529/attachment.htm>
More information about the vtkusers
mailing list