VerticalGauge

VerticalGauge[value]

draws a linear gauge showing value in a range of 0 to 1.

VerticalGauge[value,{min,max}]

draws a linear gauge showing value in a range of min to max.

VerticalGauge[Dynamic[value],]

allows value to be set interactively using the gauge.

VerticalGauge[{value1,value2,},]

draws a gauge showing multiple values.

Details and Options

Examples

open allclose all

Basic Examples  (4)

Generate a dial gauge for a particular value:

Generate a gauge using values with units:

Generate a gauge that displays multiple values:

Generate a dial gauge with an interactive value:

Scope  (21)

Data and Layouts  (6)

Data values do not have to be within the range of the scale:

Nonreal data is taken to be missing and typically uses the min value of the gauge:

The min and max specified are sorted so that the smaller number of the list is always the min:

Generate a gauge using values with units:

Specify the displayed units with TargetUnits:

Change the position of the scale:

Specify a constant horizontal and vertical padding:

Styling and Appearance  (9)

Use a theme to control the overall appearance:

Use explicit styles for the markers:

Use any gradient or indexed color schemes from ColorData to style the markers:

Change the type of markers used:

Change where the markers are placed:

Position the marker in the frame:

Use any graphic or image for the marker:

Change the style of the face of the gauge:

Change the style of the frame around the gauge:

Specify ranges of the scale to be colored by the index on the dial face:

Labeling  (6)

Use GaugeLabels to add a label to the gauge face:

Add a display of the scale value:

Add a display of the gauge units:

Show units and scale value:

Use Placed to change the location of the label on the face of the gauge:

Use a list to specify more than one label:

Options  (71)

Background  (1)

Insert a background color behind the gauge:

Use GaugeFaceStyle to set the face style:

GaugeFaceElementFunction  (3)

List built-in settings for GaugeFaceElementFunction:

For detailed settings use Palettes ChartElementSchemes:

Write a custom GaugeFaceElementFunction:

GaugeFaceStyle  (3)

Specify the style for the gauge face:

Use None to turn off the face:

Use a Texture as a gauge face:

GaugeFrameElementFunction  (2)

List built-in settings for GaugeFrameElementFunction:

For detailed settings, use Palettes ChartElementSchemes:

GaugeFrameSize  (3)

Use an explicit width in the graphics coordinate system to draw the frame:

Use None to turn off the frame:

Use named sizes for the frame:

GaugeFrameStyle  (1)

Use directives to change the rendering of the gauge frame:

GaugeLabels  (9)

Show the value as a label:

Specify a label:

Labels can be any expression:

Use Placed to control label placement:

Position labels at values along the scale:

Position labels using a scaled coordinate system along the scale:

Use a scaled coordinate system over the entire gauge:

Place all labels at the middle of the scale and vary the coordinates within the label:

Use a list to specify more than one label:

GaugeMarkers  (9)

Turn the markers on and off:

List built-in settings for GaugeMarkers:

For detailed settings, use Palettes ChartElementSchemes:

Use an image or graphic for a marker:

Use Placed to change the location of the marker:

Position the marker in the frame:

Fill a cumulative bar to the value:

Fill segments that are centered on division values:

Sequential markers are activated when the value rounds to the division value:

Fill segments that are between division values:

Sequential markers are activated when the value is greater than or equal to the division value:

Use an image or graphic for a cumulative marker:

GaugeStyle  (5)

Style the gauge marker:

By default different styles are chosen for multiple markers:

Specify a list of styles:

Use any gradient or indexed color schemes from ColorData:

Specify the style for cumulative markers up to the gauge value:

Specify an additional style for markers beyond the gauge value:

LabelStyle  (1)

Style the labels:

PerformanceGoal  (2)

Generate a gauge with tooltips on the gauge markers:

Emphasize performance by disabling interactive behaviors:

PlotTheme  (4)

Create gauges using a variety of base themes:

Specify a theme with minimal elements:

Change the gauge color:

The "Sparkline" theme fits gauges in the surrounding text:

ScaleDivisions  (2)

Specify the total number of ticks:

Specify the number of major and minor ticks:

ScaleOrigin  (4)

Use ScaleOrigin to specify a horizontal offset for the scale:

Specify starting and ending positions for the scale:

Use a relative location for the center of the scale:

Specify a horizontal position and vertical extent for the scale:

ScalePadding  (3)

Use automatically determined padding around the scale:

Specify a constant horizontal and vertical padding:

Use a scaled value for the constant horizontal and vertical padding:

Specify different horizontal and vertical padding on each side:

ScaleRanges  (7)

Highlight a range of values on the scale:

Specify multiple ranges:

Style the entire region behind the scale:

Ranges need not be contiguous or distinct:

Directly associate a style with a range with range->style:

ScaleRanges draws in front of the gauge face:

Change the scale range width:

ScaleRangeStyle  (8)

By default, the scale ranges are styles are based on the marker color:

Apply a style to all of the ranges:

Use a list of styles to draw the ranges:

Styles will repeat cyclically if necessary:

Use ScaleRangeStyle->{None,style} to apply a style to the scale only:

Apply a style to the backgrounds and foregrounds of all the ranges:

Color the scale ranges with built-in color schemes:

Define a one-dimensional color function:

TargetUnits  (2)

By default, units are determined automatically:

Specify the displayed units:

TicksStyle  (2)

Specify overall ticks style:

Use None to not draw ticks:

Applications  (7)

Visualize leaf count for successive integrals:

Monitor memory used by processes with a indicator of the max memory used:

Monitor how long the kernel has been running and how much time has been spent in computation:

Monitor progress when integrating a differential equation:

Monitor where NIntegrate is focusing on approximating the integral:

Monitor progress when integrating a differential equation:

Display properties of elements:

Visualize the spectral lines of elements:

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

Text

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

CMS

Wolfram Language. 2012. "VerticalGauge." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2014. https://reference.wolfram.com/language/ref/VerticalGauge.html.

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_verticalgauge, organization={Wolfram Research}, title={VerticalGauge}, year={2014}, url={https://reference.wolfram.com/language/ref/VerticalGauge.html}, note=[Accessed: 04-December-2024 ]}