series.trendline.forecast.beforeNumber(default: 0)
The number of intervals to extend the trendline before the first data point.
Example
<div id="chart"></div>
<script>
$("#chart").kendoChart({
series: [{
type: "scatter",
data: [[1, 2], [2, 3], [3, 4], [4, 5]],
trendline: {
type: "linear",
forecast: {
before: 2
}
}
}]
});
</script>
In this article