LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

in bar graph how should we get name of diminsion on perticular bar in labwindow/CVI ?

in bar graph how should we get name of  diminsion on perticular bar in labwindow/CVI ?

 

 

0 Kudos
Message 1 of 4
(3,878 Views)

Can you explain your question a bit more? Can you add an example of what you want to obtain?



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 4
(3,864 Views)

Hi,

 

I guess that you need to get the names of X and Y axis ?

 

So you must use GetCtrlAttribute function, as shown below :

 

char xAxisName[32];

char yAxisName[32];

GetCtrlAttribute (panelHandle, PANEL_BARGRAPH, ATTR_XNAME, xAxisName);

GetCtrlAttribute (panelHandle, PANEL_BARGRAPH, ATTR_YNAME, yAxisName);

 

 

0 Kudos
Message 3 of 4
(3,850 Views)

Here is a screenshot, to make it clear if needed... 🙂

0 Kudos
Message 4 of 4
(3,848 Views)