series.styleString(default: "normal")
The supported values are:
- "normal" - The values will be connected with straight line.
- "step" - The values will be connected with a line at right.
- "smooth" - The values will be connected with a smooth line.
The default value is "normal".
The
styleoption is supported when series.type is set to "line".
Example
<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
dataSource: {
data: [
{ date: new Date(2023, 1, 1), value: 100 },
{ date: new Date(2023, 1, 2), value: 105 },
{ date: new Date(2023, 1, 3), value: 98 }
]
},
categoryField: "date",
series: [{
type: "line",
field: "value",
style: "smooth"
}]
});
</script>
In this article