You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Type '{ data: any[]; label: string; fill: false; lineTension: number; backgroundColor: string; borderColor: string; borderCapStyle: "butt"; borderDash: undefined[]; borderDashOffset: number; borderJoinStyle: "miter"; ... 9 more ...; spanGaps: false; }' is not assignable to type 'ChartDataset<"line", any[]>'.
Object literal may only specify known properties, and 'lineTension' does not exist in type 'ChartDataset<"line", any[]>'.
The text was updated successfully, but these errors were encountered:
Hi Sir,
Another Typescripts error found.
this.lineChart = new Chart(this.lineCanvas.nativeElement, {
type: "line",
data: {
labels: labels,
datasets: [
{
data: outStandingAmounts,
label: "Outstanding principal",
fill: false,
lineTension: 0.1,
Problem:
Type '{ data: any[]; label: string; fill: false; lineTension: number; backgroundColor: string; borderColor: string; borderCapStyle: "butt"; borderDash: undefined[]; borderDashOffset: number; borderJoinStyle: "miter"; ... 9 more ...; spanGaps: false; }' is not assignable to type 'ChartDataset<"line", any[]>'.
Object literal may only specify known properties, and 'lineTension' does not exist in type 'ChartDataset<"line", any[]>'.
The text was updated successfully, but these errors were encountered: