wijmo.gauge.wijlineargauge Namespace > options type : labels Option |
Sets all of the appearance options of the numeric labels that appear around the edge of the gauge.
Javascript (Usage) | |
---|---|
$(function () { // Get value var returnsValue; // Type: wijmo.gauge.gauge_label returnsValue = $(".selector").wijlineargauge("option", "labels"); // Set value var newValue; // Type: wijmo.gauge.gauge_label $(".selector").wijlineargauge("option", "labels", newValue); }); |
Javascript (Specification) | |
---|---|
|
// This example sets the color for the labels to purple, and the font to 14 point, bold, Times New Roman. $(document).ready(function () { $("#radialgauge1").wijradialgauge({ value: 90, labels: { style: { fill: "purple", "font-size": "14pt", "font-weight": "bold", "font-family": "Times New Roman" } } }); });