tooltip font

Specifies the font of the text displayed by a tooltip.

Type: Object

Show Example:
jQuery

In this example, the font of the tooltip's text is changed.

<div id="bulletContainer" style="height:35px;max-width:300px;margin:0 auto;padding-top:65px;position:relative"></div>
$(function () {
    $("#bulletContainer").dxBullet({
        startScaleValue: 0,
        endScaleValue: 100,
        target: 68,
        value: 64,
        color: 'lightsalmon',
        tooltip: {
            color: 'seashell',
            font: {
                color: 'crimson',
                size: 10,
                family: 'Zapf-Chancery, cursive',
                opacity: 0.75,
                weight: 400
            }
        }
    });
})

color

Specifies the font color of the text displayed by a tooltip.

Type: String
Default Value: '#232323'

This option supports the following colors.

Show Example:
jQuery

In this example, the tooltip's text is colored in mediumblue.

<div id="bulletContainer" style="height:35px;max-width:300px;margin:0 auto;padding-top:65px;position:relative"></div>
$(function () {
    $("#bulletContainer").dxBullet({
        startScaleValue: 0,
        endScaleValue: 100,
        target: 68,
        value: 51,
        color: 'palegreen',
        tooltip: {
            font: {
                color: 'mediumblue'
            }
        }
    });
})

family

Specifies the font family of the text displayed by a tooltip.

Type: String
Default Value: ''Segoe UI', 'Helvetica Neue', 'Trebuchet MS', Verdana'

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

Show Example:
jQuery

In this example, the font family of the tooltip's text is changed.

<div id="bulletContainer" style="height:35px;max-width:300px;margin:0 auto;padding-top:65px;position:relative"></div>
$(function () {
    $("#bulletContainer").dxBullet({
        startScaleValue: 0,
        endScaleValue: 100,
        target: 68,
        value: 64,
        color: 'burlywood',
        tooltip: {
            font: {
                family: 'Zapf-Chancery, cursive'
            }
        }
    });
})

opacity

Specifies the font opacity of the text displayed by a tooltip.

Type: Number
Default Value: undefined

Show Example:
jQuery

In this example, the tooltip text's opacity option is set to 0.5.

<div id="bulletContainer" style="height:35px;max-width:300px;margin:0 auto;padding-top:65px;position:relative"></div>
$(function () {
    $("#bulletContainer").dxBullet({
        startScaleValue: 0,
        endScaleValue: 100,
        target: 68,
        value: 64,
        color: 'lightsteelblue',
        tooltip: {
            font: {
                opacity: 0.5
            }
        }
    });
})

size

Specifies the font size of the text displayed by a tooltip.

Type: Number|String
Default Value: 12

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

Show Example:
jQuery

In this example, the font size of the tooltip's text is increased to 30.

<div id="bulletContainer" style="height:35px;max-width:300px;margin:0 auto;padding-top:65px;position:relative"></div>
$(function () {
    $("#bulletContainer").dxBullet({
        startScaleValue: 0,
        endScaleValue: 100,
        target: 98,
        value: 75,
        color: 'lightsalmon',
        tooltip: {
            font: {
                size: 30
            }
        }
    });
})

weight

Specifies the font weight of the text displayed by a tooltip.

Type: Number
Default Value: 400

Show Example:
jQuery

In this example, the font weight of the tooltip's text is changed to 700.

<div id="bulletContainer" style="height:35px;max-width:300px;margin:0 auto;padding-top:65px;position:relative"></div>
$(function () {
    $("#bulletContainer").dxBullet({
        startScaleValue: 0,
        endScaleValue: 100,
        target: 98,
        value: 75,
        color: 'mediumaquamarine',
        tooltip: {
            font: {
                weight: 700
            }
        }
    });
})