~set color for chart labels to black
This commit is contained in:
parent
1ae6204a40
commit
3e42b63290
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<!--Cards-->
|
<!--Cards-->
|
||||||
<!--Analyse-Cards-->
|
<!--Analyse-Cards-->
|
||||||
<div id="analysis" class="row container">
|
<div id="analysis" class="row container black-text">
|
||||||
<!--Übersicht-->
|
<!--Übersicht-->
|
||||||
<div class="col s12 m12">
|
<div class="col s12 m12">
|
||||||
<div id="overview" class="card white">
|
<div id="overview" class="card white">
|
||||||
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<div>
|
<div>
|
||||||
<canvas id="overview_chart" width="1000" height="400"></canvas>
|
<canvas class="black-text" id="overview_chart" width="1000" height="400"></canvas>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
Chart.defaults.global.defaultFontColor = "black";
|
||||||
|
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
let dataset = $('#dataset');
|
let dataset = $('#dataset');
|
||||||
request('files').then(results => {
|
request('files').then(results => {
|
||||||
|
@ -33,7 +35,6 @@ function updateCache() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function updateAll(uuid) {
|
function updateAll(uuid) {
|
||||||
updateWeekOverviewChart(uuid);
|
updateWeekOverviewChart(uuid);
|
||||||
updateShoppingTimesChart(uuid);
|
updateShoppingTimesChart(uuid);
|
||||||
|
|
Loading…
Reference in New Issue