Change graph colour
This commit is contained in:
parent
36eb270d1e
commit
ae12082ca7
|
@ -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();
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue