valueAxis.lineObject

Configures the axis line. This will also affect the major and minor ticks, but not the grid lines.

Example

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    type: "column",
    valueAxis: {
        line: {
            color: "blue",
            width: 2
        }
    },
    series: [{
        data: [10, 15, 8, 12]
    }]
});
</script>

valueAxis.line.colorString(default: "black")

The color of the line. This will also effect the major and minor ticks, but not the grid lines.

Example

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    type: "column",
    valueAxis: {
        line: {
            color: "#ff0000"
        }
    },
    series: [{
        data: [10, 15, 8, 12]
    }]
});
</script>

valueAxis.line.dashTypeString(default: "solid")

The dash type of the line.

"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.

Example

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    type: "column",
    valueAxis: {
        line: {
            dashType: "dash",
            color: "blue"
        }
    },
    series: [{
        data: [10, 15, 8, 12]
    }]
});
</script>

valueAxis.line.visibleBoolean(default: true)

The visibility of the line.

Example

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    type: "column",
    valueAxis: {
        line: {
            visible: false
        }
    },
    series: [{
        data: [10, 15, 8, 12]
    }]
});
</script>

valueAxis.line.widthNumber(default: 1)

The width of the line. This will also effect the major and minor ticks, but not the grid lines.

Example

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    type: "column",
    valueAxis: {
        line: {
            width: 3,
            color: "green"
        }
    },
    series: [{
        data: [10, 15, 8, 12]
    }]
});
</script>