LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to set auto scale in chart programatically

hi,

 

i have two questions here.

 

1.how to set the auto scale of X and Y in chart by using property node, i want to make in programatically. but i dont want to use the runtime menus.

 

 

2. i am using menu, using event structure - short cut menu selection (user), it popups menu for selection. here i want to shoe the tick mark on each menu items. how to do this..?

 

see the menu items.jpg, i want to show the tick mark like that

 

 

Regards,
Balaji DP
Download All
0 Kudos
Message 1 of 5
(9,545 Views)

Hi,

 

Concerning the scaling problem: You can use the XScale.ScaleFit from the Property Nodes of your chart...

 

ScaleFit.PNG

 

Cheers,

Angel

Message 2 of 5
(9,536 Views)

FOR X SCALE IS OK.

 

WHAT ABOUT THE MENUS..?

Regards,
Balaji DP
0 Kudos
Message 3 of 5
(9,527 Views)

any one help me 

 

 

2. i am using menu, using event structure - short cut menu selection (user), it popups menu for selection. here i want to shoe the tick mark on each menu items. how to do this..?

 

see the menu items.jpg, i want to show the tick mark like that

 

Regards,
Balaji DP
0 Kudos
Message 4 of 5
(9,501 Views)

Hi Balaji,

 

See if this vi helps.  It changes the checked value on menu items in the menu bar and in the shortcut menus (I didn't know which one you needed).

 

Have a great day,

 

Chris V

Applications Engineer
National Instruments
0 Kudos
Message 5 of 5
(9,490 Views)