Applying the same CSS colors used on the dashboard to db_grahps.php

Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
This commit is contained in:
rdwebdesign
2021-12-02 04:22:49 -03:00
parent 00acbff2de
commit 3d2a6f8fa9
2 changed files with 4 additions and 2 deletions

View File

@@ -158,8 +158,8 @@ function updateQueriesOverTime() {
$(function () {
var ctx = document.getElementById("queryOverTimeChart").getContext("2d");
var blockedColor = "#999";
var permittedColor = "#00a65a";
var blockedColor = $(".queries-blocked").css("background-color");
var permittedColor = $(".queries-permitted").css("background-color");
var gridColor = $(".graphs-grid").css("background-color");
var ticksColor = $(".graphs-ticks").css("color");