pointer.track.borderObject

The border of the track.

Example

<div id="gauge"></div>
<script>
$("#gauge").kendoLinearGauge({
    pointer: {
        value: 25,
        shape: "barIndicator",
        track: {
            color: "#f5f5f5",
            border: {
                color: "#9e9e9e",
                width: 1,
                dashType: "solid"
            }
        }
    },
    scale: {
        min: 0,
        max: 50
    }
});
</script>

pointer.track.border.colorString

The color of the border. Any valid CSS color string will work here, including hex and rgb.

Example

<div id="gauge"></div>
<script>
$("#gauge").kendoLinearGauge({
    pointer: {
        value: 25,
        shape: "barIndicator",
        track: {
            color: "#ffffff",
            border: {
                color: "#2196f3",
                width: 2
            }
        }
    },
    scale: {
        min: 0,
        max: 50
    }
});
</script>

pointer.track.border.dashTypeString(default: "solid")

The dash type of the border.

Example

<div id="gauge"></div>
<script>
$("#gauge").kendoLinearGauge({
    pointer: {
        value: 25,
        shape: "barIndicator",
        track: {
            color: "#ffffff",
            border: {
                color: "#ff9800",
                width: 2,
                dashType: "dash"
            }
        }
    },
    scale: {
        min: 0,
        max: 50
    }
});
</script>

"solid"

Specifies a solid line.

"dot"

Specifies a line consisting of dots.

"dash"

Specifies a line consisting of dashes.

"longDash"

Specifies a line consisting of a repeating pattern of long-dash.

"dashDot"

Specifies a line consisting of a repeating pattern of dash-dot.

"longDashDot"

Specifies a line consisting of a repeating pattern of long-dash-dot.

"longDashDotDot"

Specifies a line consisting of a repeating pattern of long-dash-dot-dot.

pointer.track.border.widthNumber(default: 1)

The width of the border.

Example

<div id="gauge"></div>
<script>
$("#gauge").kendoLinearGauge({
    pointer: {
        value: 25,
        shape: "barIndicator",
        track: {
            color: "#ffffff",
            border: {
                color: "#4caf50",
                width: 3
            }
        }
    },
    scale: {
        min: 0,
        max: 50
    }
});
</script>