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