[vtkusers] How to get information of Tooltip of vtkChartXY

shantanu choudhary choudhary.shantanu at gmail.com
Mon Feb 7 09:21:06 EST 2011


Hello all,

I am working on a Qt+vtk application. I am using vtkChartXY, plotting
data and everything is working fine. Now I want to access Tooltip
information, to get/extract coordinates(of graph) shown when we hover
our mouse over the curve. I see the class having vtkTooltipItem as
protected, and there is a function to SetTooltipInfo, but no
GetTooltipInfo. Is there any other way or standard way to access this
value apart from inheriting vtkChartXY class and accessing this
protected value? I have tried using QWidget->toolTip but without
success.

-- 
Regards
Shantanu Choudhary



More information about the vtkusers mailing list