-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
Status: More info neededMore information is required before this can be worked onMore information is required before this can be worked onType: BugIssue / bugIssue / bug
Description
according to the documentation, the chart should fill up missing values with 0 as long as the labels are set:
i have 3 arrays with an amount for every weekday, today is wednesday, so the array has 3 items:

the chart is as following:
let chartData = {
labels: ['MO', 'DI', 'MI', 'DO', 'FR'],
datasets: [
{ name: 'Closed', values: myClosedTickets },
{ name: 'Worked', values: myWorkedTickets },
{ name: 'Minutes', values: myLoggedMinutes }
],
title: 'Tickets'
};
so the chart should show zero values for thursday and friday, since they are item 4 and 5 in the area, but it does not:

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Status: More info neededMore information is required before this can be worked onMore information is required before this can be worked onType: BugIssue / bugIssue / bug