mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 06:55:46 +01:00
indentation
This commit is contained in:
@@ -170,30 +170,30 @@ define('admin/general/dashboard', ['semver', 'Chart'], function(semver, Chart) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var data = {
|
var data = {
|
||||||
labels: trafficLabels,
|
labels: trafficLabels,
|
||||||
datasets: [
|
datasets: [
|
||||||
{
|
{
|
||||||
label: "Page Views",
|
label: "Page Views",
|
||||||
backgroundColor: "rgba(220,220,220,0.2)",
|
backgroundColor: "rgba(220,220,220,0.2)",
|
||||||
borderColor: "rgba(220,220,220,1)",
|
borderColor: "rgba(220,220,220,1)",
|
||||||
pointBackgroundColor: "rgba(220,220,220,1)",
|
pointBackgroundColor: "rgba(220,220,220,1)",
|
||||||
pointHoverBackgroundColor: "#fff",
|
pointHoverBackgroundColor: "#fff",
|
||||||
pointBorderColor: "#fff",
|
pointBorderColor: "#fff",
|
||||||
pointHoverBorderColor: "rgba(220,220,220,1)",
|
pointHoverBorderColor: "rgba(220,220,220,1)",
|
||||||
data: [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
|
data: [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Unique Visitors",
|
label: "Unique Visitors",
|
||||||
backgroundColor: "rgba(151,187,205,0.2)",
|
backgroundColor: "rgba(151,187,205,0.2)",
|
||||||
borderColor: "rgba(151,187,205,1)",
|
borderColor: "rgba(151,187,205,1)",
|
||||||
pointBackgroundColor: "rgba(151,187,205,1)",
|
pointBackgroundColor: "rgba(151,187,205,1)",
|
||||||
pointHoverBackgroundColor: "#fff",
|
pointHoverBackgroundColor: "#fff",
|
||||||
pointBorderColor: "#fff",
|
pointBorderColor: "#fff",
|
||||||
pointHoverBorderColor: "rgba(151,187,205,1)",
|
pointHoverBorderColor: "rgba(151,187,205,1)",
|
||||||
data: [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
|
data: [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
trafficCanvas.width = $(trafficCanvas).parent().width();
|
trafficCanvas.width = $(trafficCanvas).parent().width();
|
||||||
graphs.traffic = new Chart(trafficCtx, {
|
graphs.traffic = new Chart(trafficCtx, {
|
||||||
|
|||||||
Reference in New Issue
Block a user