Change graph colour

This commit is contained in:
Florine W. Dekker 2019-06-13 20:01:50 +02:00
parent 36eb270d1e
commit ae12082ca7
Signed by: FWDekker
GPG Key ID: B1B567AF58D6EE0F
1 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Felix W. Dekker" /> <meta name="author" content="Felix W. Dekker" />
<meta name="application-name" content="Dice probabilities" /> <meta name="application-name" content="Dice probabilities" />
<meta name="description" content="Calculates the probability of throwing a value given a combination of dice." /> <meta name="description" content="Calculates the probability of throwing a value given a combination of dice." />
@ -269,7 +269,7 @@
probChart.data.labels = rangeInclusive(1, rollFreqs.length); probChart.data.labels = rangeInclusive(1, rollFreqs.length);
probChart.data.datasets = [{ probChart.data.datasets = [{
data: rollFreqs, data: rollFreqs,
backgroundColor: "rgb(155, 77, 202, 0.4)" backgroundColor: "rgb(0, 51, 204, 0.4)"
}]; }];
probChart.update(); probChart.update();
}; };