loadingIndicator font

Specifies font options for the loading indicator text.

Type: Object

Show Example:
jQuery

In this example, several font options of the loading indicator are changed.

<div id="circularGaugeContainer" style="height:400px;max-width:400px;margin:0px auto"></div>
var gaugeOptions = {
    scale: {
        startValue: 0,
        endValue: 60,
        tickInterval: 10
    },
    rangeContainer: {
        backgroundColor: 'none',
        ranges: [
            {
                startValue: 0,
                endValue: 20,
                color: '#A6C567'
            }, {
                startValue: 20,
                endValue: 40,
                color: '#FCBB69'
            }, {
                startValue: 40,
                endValue: 60,
                color: '#E19094'
            }
        ]
    },
    value: 24,
    subvalues: [27, 44]
};

var configureGauge = function () {
    var gauge = $("#circularGaugeContainer").dxCircularGauge('instance');
    gauge.option(gaugeOptions);
};

$(function () {
    $("#circularGaugeContainer").dxCircularGauge({
        loadingIndicator: {
            font: {
                color: 'forestgreen',
                family: 'Zapf-Chancery, cursive',
                opacity: 0.7,
                weight: 700,
                size: 16
            }
        }
    });

    var gauge = $("#circularGaugeContainer").dxCircularGauge('instance');
    gauge.showLoadingIndicator();

    setTimeout(configureGauge, 2000);
});



color

Specifies a color for the loading indicator text.

Type: String
Default Value: '#767676'

This option supports the following colors.

  • Hexadecimal colors
  • RGB colors
  • RGBA colors (not supported in Internet Explorer 8)
  • Predefined/cross-browser color names
  • Predefined SVG colors (not supported in Internet Explorer 8)
Show Example:
jQuery

In this example, the font color of the loading indicator is changed to dodgerblue.

<div id="circularGaugeContainer" style="height:400px;max-width:400px;margin:0px auto"></div>
var gaugeOptions = {
    scale: {
        startValue: 0,
        endValue: 60,
        tickInterval: 10
    },
    rangeContainer: {
        backgroundColor: 'none',
        ranges: [
            {
                startValue: 0,
                endValue: 20,
                color: '#A6C567'
            }, {
                startValue: 20,
                endValue: 40,
                color: '#FCBB69'
            }, {
                startValue: 40,
                endValue: 60,
                color: '#E19094'
            }
        ]
    },
    value: 24,
    subvalues: [27, 44]
};

var configureGauge = function () {
    var gauge = $("#circularGaugeContainer").dxCircularGauge('instance');
    gauge.option(gaugeOptions);
};

$(function () {
    $("#circularGaugeContainer").dxCircularGauge({
        loadingIndicator: {
            font: {
                color: 'dodgerblue'
            }
        }
    });

    var gauge = $("#circularGaugeContainer").dxCircularGauge('instance');
    gauge.showLoadingIndicator();

    setTimeout(configureGauge, 2000);
});



family

Specifies a font family for the loading indicator text.

Type: String
Default Value: undefined

For details on acceptable values, refer to the Font family article.

Show Example:
jQuery

In this example, the font family of the loading indicator is changed.

<div id="circularGaugeContainer" style="height:400px;max-width:400px;margin:0px auto"></div>
var gaugeOptions = {
    scale: {
        startValue: 0,
        endValue: 60,
        tickInterval: 10
    },
    rangeContainer: {
        backgroundColor: 'none',
        ranges: [
            {
                startValue: 0,
                endValue: 20,
                color: '#A6C567'
            }, {
                startValue: 20,
                endValue: 40,
                color: '#FCBB69'
            }, {
                startValue: 40,
                endValue: 60,
                color: '#E19094'
            }
        ]
    },
    value: 24,
    subvalues: [27, 44]
};
var configureGauge = function () {
    var gauge = $("#circularGaugeContainer").dxCircularGauge('instance');
    gauge.option(gaugeOptions);
};
$(function () {
    $("#circularGaugeContainer").dxCircularGauge({
        loadingIndicator: {
            font: {
                family: 'Zapf-Chancery, cursive'
            }
        }
    });

    var gauge = $("#circularGaugeContainer").dxCircularGauge('instance');
    gauge.showLoadingIndicator();

    setTimeout(configureGauge, 2000);
});



opacity

Specifies a font opacity for the loading indicator text.

Type: Number
Default Value: undefined

Show Example:
jQuery

In this example, the font opacity of the loading indicator is changed to 0.5.

<div id="circularGaugeContainer" style="height:400px;max-width:400px;margin:0px auto"></div>
var gaugeOptions = {
    scale: {
        startValue: 0,
        endValue: 60,
        tickInterval: 10
    },
    rangeContainer: {
        backgroundColor: 'none',
        ranges: [
            {
                startValue: 0,
                endValue: 20,
                color: '#A6C567'
            }, {
                startValue: 20,
                endValue: 40,
                color: '#FCBB69'
            }, {
                startValue: 40,
                endValue: 60,
                color: '#E19094'
            }
        ]
    },
    value: 24,
    subvalues: [27, 44]
};

var configureGauge = function () {
    var gauge = $("#circularGaugeContainer").dxCircularGauge('instance');
    gauge.option(gaugeOptions);
};

$(function () {
    $("#circularGaugeContainer").dxCircularGauge({
        loadingIndicator: {
            font: {
                opacity: 0.5
            }
        }
    });

    var gauge = $("#circularGaugeContainer").dxCircularGauge('instance');
    gauge.showLoadingIndicator();

    setTimeout(configureGauge, 2000);
});



size

Specifies a font size for the loading indicator text.

Type: Number|String
Default Value: undefined

For details on acceptable values, refer to the Font size article.

Show Example:
jQuery

In this example, the font size of the loading indicator is changed to 18.

<div id="circularGaugeContainer" style="height:400px;max-width:400px;margin:0px auto"></div>
var gaugeOptions = {
    scale: {
        startValue: 0,
        endValue: 60,
        tickInterval: 10
    },
    rangeContainer: {
        backgroundColor: 'none',
        ranges: [
            {
                startValue: 0,
                endValue: 20,
                color: '#A6C567'
            }, {
                startValue: 20,
                endValue: 40,
                color: '#FCBB69'
            }, {
                startValue: 40,
                endValue: 60,
                color: '#E19094'
            }
        ]
    },
    value: 24,
    subvalues: [27, 44]
};

var configureGauge = function () {
    var gauge = $("#circularGaugeContainer").dxCircularGauge('instance');
    gauge.option(gaugeOptions);
};

$(function () {
    $("#circularGaugeContainer").dxCircularGauge({
        loadingIndicator: {
            font: {
                size: 18
            }
        }
    });

    var gauge = $("#circularGaugeContainer").dxCircularGauge('instance');
    gauge.showLoadingIndicator();

    setTimeout(configureGauge, 2000);
});



weight

Specifies a font weight for the loading indicator text.

Type: Number
Default Value: undefined

Show Example:
jQuery

In this example, the font weight of the loading indicator is changed to 700.

<div id="circularGaugeContainer" style="height:400px;max-width:400px;margin:0px auto"></div>
var gaugeOptions = {
    scale: {
        startValue: 0,
        endValue: 60,
        tickInterval: 10
    },
    rangeContainer: {
        backgroundColor: 'none',
        ranges: [
            {
                startValue: 0,
                endValue: 20,
                color: '#A6C567'
            }, {
                startValue: 20,
                endValue: 40,
                color: '#FCBB69'
            }, {
                startValue: 40,
                endValue: 60,
                color: '#E19094'
            }
        ]
    },
    value: 24,
    subvalues: [27, 44]
};

var configureGauge = function () {
    var gauge = $("#circularGaugeContainer").dxCircularGauge('instance');
    gauge.option(gaugeOptions);
};

$(function () {
    $("#circularGaugeContainer").dxCircularGauge({
        loadingIndicator: {
            font: {
                weight: 700
            }
        }
    });

    var gauge = $("#circularGaugeContainer").dxCircularGauge('instance');
    gauge.showLoadingIndicator();

    setTimeout(configureGauge, 2000);
});