Wijmo UI for the Web
Connect to a Slider
Show AllShow All
Hide AllHide All

Building on the Quick Start example, you can change the markers, the marker colors and gradients, and the rotation of the label text using the axis, seriesList, and seriesStyles options.

  1. In the <head> section of your HTML file, replace the script that includes the document ready function with this one, which sets the size, value, and animation used in the widget as well as customizing the appearance of the labels, tick marks, pointer, face, and ranges. It also initializes the wijlineargauge and slider widgets so that when the value of the slider changes, so does the value of the wijlineargauge.

    Drop down and copy script to paste in <head> section

  2. In the <body> section of your HTML file, replace the basic <div> tag with this markup, which adds a slider widget.

    Drop down and copy markup to paste in the <body> section

  3. Save your HTML file and open it in a browser. The widget appears like the one in the live widget below, with the LinearGaugeSlider.

See Also

Widgets

Reference

 
Support Options