mirror of
https://github.com/pi-hole/web.git
synced 2026-04-23 10:19:47 +01:00
create utils.getGraphType() function.
also apply setting to long term graphs flip logic - only return "line" if the setting is explicitly set to "false" Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
@@ -151,7 +151,7 @@ $(function () {
|
||||
var blockedColor = "#999";
|
||||
var permittedColor = "#00a65a";
|
||||
timeLineChart = new Chart(ctx, {
|
||||
type: "bar",
|
||||
type: utils.getGraphType(),
|
||||
data: {
|
||||
labels: [],
|
||||
datasets: [
|
||||
|
||||
Reference in New Issue
Block a user