series.targetObject
The target of the bullet chart.
Example
<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>
series.target.lineObject
The target line.
Example
<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>
series.target.line.widthObject|Function
The width of the line.
Example
<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: 4
}
}
}],
categoryAxis: {
field: "date"
}
});
</script>
series.target.colorString|Function
The target color.
Example
<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>
series.target.borderObject|Function
The border of the target.
Example
<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.border.colorString|Function(default: "black")
The color of the border.
Example
<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: "navy"
}
}
}],
categoryAxis: {
field: "date"
}
});
</script>
series.target.border.dashTypeString|Function(default: "solid")
The dash type of the border.
Example
<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: "red",
dashType: "dash"
}
}
}],
categoryAxis: {
field: "date"
}
});
</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.
series.target.border.widthNumber|Function(default: 0)
The width of the border.
Example
<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: "green",
width: 3
}
}
}],
categoryAxis: {
field: "date"
}
});
</script>
In this article