Skip to content

Commit

Permalink
fixed link in universe chart
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderWillner committed Apr 22, 2020
1 parent 984374c commit d9b0408
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resources/kanban.js
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ async function statsShowUniverse () { // eslint-disable-line no-unused-vars
var chartData = []

for (var i = 0; i < labels.length; i++) {
var chart = {
var chartDataset = {
label: labels[i],
backgroundColor: 'rgba(' + (r[i] / rMax) * 250 + ', 150, 0, 0.5)',
borderColor: 'rgba(150, 150, 0, 1)',
Expand All @@ -446,7 +446,7 @@ async function statsShowUniverse () { // eslint-disable-line no-unused-vars
]
}

chartData.push(chart)
chartData.push(chartDataset)
}

var dataset = { datasets: chartData }
Expand All @@ -469,7 +469,7 @@ async function statsShowUniverse () { // eslint-disable-line no-unused-vars
}
}

new Chart(ctx, { // eslint-disable-line no-new
const chart = new Chart(ctx, { // eslint-disable-line no-new
type: 'bubble',
data: dataset,
options: options
Expand Down

0 comments on commit d9b0408

Please sign in to comment.