Difference between revisions of "SetLabelMode Command"

From GeoGebra Manual
Jump to: navigation, search
m
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}}
 
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}}
;SetLabelMode[ <Object>, <Number> ]
+
;SetLabelMode( <Object>, <Number> )
:Changes the label mode of given object according to the table below. Integers distinct from the ones listed in table are treated as 0.
+
:Changes the label mode of given object according to the table below.<br/> Integers distinct from the ones listed in table are treated as 0 : Label is Name.<br/> For 3 & 9, if Caption is empty, Name is used.
  
{| class="pretty"
+
 
 +
 
 +
{| class="pretty" align="center"
 
!Number
 
!Number
 
!Mode
 
!Mode
Line 18: Line 20:
 
|3
 
|3
 
|[[Labels and Captions#Captions|Caption]]
 
|[[Labels and Captions#Captions|Caption]]
 +
|-
 +
|9
 +
|[[Labels and Captions#Captions|Caption]] + Value
 
|}
 
|}

Revision as of 14:50, 7 October 2017


SetLabelMode( <Object>, <Number> )
Changes the label mode of given object according to the table below.
Integers distinct from the ones listed in table are treated as 0 : Label is Name.
For 3 & 9, if Caption is empty, Name is used.


Number Mode
0 Name
1 Name + Value
2 Value
3 Caption
9 Caption + Value
© 2024 International GeoGebra Institute