Skip to content

Commit

Permalink
added colors for line graphs.
Browse files Browse the repository at this point in the history
  • Loading branch information
TimoBoer authored and torinfo committed Aug 21, 2023
1 parent f87dfdc commit d4746aa
Showing 1 changed file with 7 additions and 0 deletions.
Expand Up @@ -615,6 +615,7 @@
secondHandler
) {
var url;
debugger
var q = {}
if (type != "grouping" && type != "opinionclasses") {
url = getUrl(xerteurl, xertelo, xertelabel, opinionClass);
Expand Down Expand Up @@ -677,6 +678,8 @@
var date = moment(endDate).add(1, "days").toISOString();
q["until"] = date;
}
//todo check if current or all users
// if set add current users to q

/*
queryStatements(
Expand Down Expand Up @@ -2602,6 +2605,8 @@
{
type: "line",
label: "data",
backgroundColor: barColors,
borderColor: barColors,
data: Object.values(labels),
yID: "id1",
},
Expand Down Expand Up @@ -2722,6 +2727,8 @@
type: "line",
label: "data",
data: dataSet,
borderColor: barColors,
backgroundColor: barColors,
},
],
};
Expand Down

0 comments on commit d4746aa

Please sign in to comment.