Difference between revisions of "Slider Command"

From GeoGebra Manual
Jump to: navigation, search
m (1 revision)
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)")
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|other}}
<noinclude>{{Manual Page|version=4.0}}<noinclude/>
+
;Slider( <Min>, <Max>, <Increment>, <Speed>, <Width>,<Is Angle>, <Horizontal>, <Animating>, <Boolean Random>)
{{command|other}}
+
:Creates a [[Slider Tool|slider]]. The parameters settings can be as follows:
;Slider[ <Min>, <Max>, <Increment>, <Speed>, <Width>,
+
:*''Min'', ''Max'': set the range of the slider - These parameters are compulsory.
:{{description}}
+
:* ''Increment'': set the increment of the slider's value - default: 0.1
; <Is Angle>, <Horizontal>, <Animating>, <Random>]
+
:* ''Speed'': set the slider speed during animations - default: 1
:{{description}}
+
:* ''Width'': sets the slider width in pixels - default: 100
;Only first two are compulsory.
+
:* ''Is Angle'': sets if the slider is related to an angle. This parameter can be ''true'' or ''false'' - default: ''false''
:{{description}}
+
:* ''Horizontal'': sets whether the slider is shown as an horizontal (''true'') or vertical (''false'') segment - default: ''true''
 +
:* ''Animating'': sets the automatic animation of the slider - default: ''false''
 +
:* ''Random'': sets if the slider assumes continuous values in the [Min, Max] range (''false''), or random values in the same interval (''true'') -  default: ''false''
 +
{{note|1=See also the [[File:Mode slider.svg|link=|26px]] [[Slider Tool|Slider]] tool.}}

Latest revision as of 17:16, 7 October 2017


Slider( <Min>, <Max>, <Increment>, <Speed>, <Width>,<Is Angle>, <Horizontal>, <Animating>, <Boolean Random>)
Creates a slider. The parameters settings can be as follows:
  • Min, Max: set the range of the slider - These parameters are compulsory.
  • Increment: set the increment of the slider's value - default: 0.1
  • Speed: set the slider speed during animations - default: 1
  • Width: sets the slider width in pixels - default: 100
  • Is Angle: sets if the slider is related to an angle. This parameter can be true or false - default: false
  • Horizontal: sets whether the slider is shown as an horizontal (true) or vertical (false) segment - default: true
  • Animating: sets the automatic animation of the slider - default: false
  • Random: sets if the slider assumes continuous values in the [Min, Max] range (false), or random values in the same interval (true) - default: false
Note: See also the Mode slider.svg Slider tool.
© 2024 International GeoGebra Institute