MinIntervalSize

MinIntervalSize

is an option for IntervalSlider that specifies the minimum size of the interval during interactive editing.

Details

  • The default setting of MinIntervalSize->0 allows the two IntervalSlider thumbs to take on the same value.
  • If a step size is given, any positive MinIntervalSize will effectively be interpreted as a multiple of the step size.
  • If MinIntervalSize is set to a value larger than the domain of the slider, then no interactive editing will be allowed.

Examples

open allclose all

Basic Examples  (2)

By default, IntervalSlider allows the two thumbs to take on the same value:

If the two thumbs must have different values, set MinIntervalSize to a positive number:

Scope  (4)

Any positive value will effectively be interpreted as a multiple of the step size:

MinIntervalSize is often used with a Method setting, to keep the interval oriented:

MinIntervalSize does not change the given initial settings:

MinIntervalSize does not impose limitations on programmatic settings of the interval value:

Possible Issues  (2)

Setting MinIntervalSize larger than the overall slider size will not allow interactive editing:

MinIntervalSize only affects interactions with the IntervalSlider control; other controls are not affected:

Wolfram Research (2014), MinIntervalSize, Wolfram Language function, https://reference.wolfram.com/language/ref/MinIntervalSize.html.

Text

Wolfram Research (2014), MinIntervalSize, Wolfram Language function, https://reference.wolfram.com/language/ref/MinIntervalSize.html.

CMS

Wolfram Language. 2014. "MinIntervalSize." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MinIntervalSize.html.

APA

Wolfram Language. (2014). MinIntervalSize. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MinIntervalSize.html

BibTeX

@misc{reference.wolfram_2023_minintervalsize, author="Wolfram Research", title="{MinIntervalSize}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/MinIntervalSize.html}", note=[Accessed: 29-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_minintervalsize, organization={Wolfram Research}, title={MinIntervalSize}, year={2014}, url={https://reference.wolfram.com/language/ref/MinIntervalSize.html}, note=[Accessed: 29-March-2024 ]}