[vtkusers] Colors in BarPlot

Darshan Pai darshanpai at gmail.com
Wed Apr 4 20:25:26 EDT 2012


Just to add to the previous question.

For the vtkPlotPoints I have a color array which is connected to the
category array .
I have added a functionality where depending on the category that was
selected, I make the selected category as a opaque point, where the others
are transperant. My issue is the tooptip will show the blanked points value
too .
Now I know that I need to change some event handler, but not sure which one
is this . Can anyone help ? I do not even know whether if I subclass
vtkPlotPoints , what is it I change.

Regards
Darshan

On Wed, Apr 4, 2012 at 6:52 PM, Darshan Pai <darshanpai at gmail.com> wrote:

> I have an array with values , that I feed it to a vtkPlotBar,. Every bar
> is colored with the same color .
> I have category information which I have annotated using different colors.
> Is it possible to color the different bars with respect to category?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120404/2781d76d/attachment.htm>


More information about the vtkusers mailing list