New to Kendo UI for jQuery? Start a free 30-day trial

Series.target

configuration

The target of the bullet chart.

<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
    dataSource: {
        data: [
            { date: "2013/01/01", value: 40, target: 45 },
            { date: "2013/01/02", value: 42, target: 48 }
        ]
    },
    series: [{
        type: "bullet",
        field: "value",
        target: {
            field: "target",
            color: "red"
        }
    }],
    categoryAxis: {
        field: "date"
    }
});
</script>
Object|Function

The border of the target.

<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
    dataSource: {
        data: [
            { date: "2013/01/01", value: 40, target: 45 },
            { date: "2013/01/02", value: 42, target: 48 }
        ]
    },
    series: [{
        type: "bullet",
        field: "value",
        target: {
            field: "target",
            border: {
                color: "purple",
                width: 2
            }
        }
    }],
    categoryAxis: {
        field: "date"
    }
});
</script>

series.target.color

String|Function

The target color.

<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
    dataSource: {
        data: [
            { date: "2013/01/01", value: 40, target: 45 },
            { date: "2013/01/02", value: 42, target: 48 }
        ]
    },
    series: [{
        type: "bullet",
        field: "value",
        target: {
            field: "target",
            color: "orange"
        }
    }],
    categoryAxis: {
        field: "date"
    }
});
</script>

The target line.

<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
    dataSource: {
        data: [
            { date: "2013/01/01", value: 40, target: 45 },
            { date: "2013/01/02", value: 42, target: 48 }
        ]
    },
    series: [{
        type: "bullet",
        field: "value",
        target: {
            field: "target",
            line: {
                width: 3
            }
        }
    }],
    categoryAxis: {
        field: "date"
    }
});
</script>