Fix fill colour
This commit is contained in:
@@ -268,17 +268,17 @@ var DetailsWindow = {
|
|||||||
datasets: [
|
datasets: [
|
||||||
{
|
{
|
||||||
label: "Downloads",
|
label: "Downloads",
|
||||||
backgroundColor: "rgba(100, 255, 100, .4)",
|
backgroundColor: "rgba(100, 255, 100, .1)",
|
||||||
borderColor: "rgba(100, 255, 100, .8)",
|
borderColor: "rgba(100, 255, 100, .8)",
|
||||||
borderWidth: 2,
|
borderWidth: 2,
|
||||||
fill: false,
|
fill: true,
|
||||||
yAxisID: "y_bandwidth",
|
yAxisID: "y_bandwidth",
|
||||||
}, {
|
}, {
|
||||||
label: "Views",
|
label: "Views",
|
||||||
backgroundColor: "rgba(128, 128, 255, .4)",
|
backgroundColor: "rgba(128, 128, 255, .1)",
|
||||||
borderColor: "rgba(128, 128, 255, .8)",
|
borderColor: "rgba(128, 128, 255, .8)",
|
||||||
borderWidth: 2,
|
borderWidth: 2,
|
||||||
fill: false,
|
fill: true,
|
||||||
yAxisID: "y_views",
|
yAxisID: "y_views",
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@@ -36,18 +36,18 @@
|
|||||||
datasets: [
|
datasets: [
|
||||||
{
|
{
|
||||||
label: "Downloads",
|
label: "Downloads",
|
||||||
backgroundColor: "rgba(100, 255, 100, .4)",
|
backgroundColor: "rgba(100, 255, 100, .1)",
|
||||||
borderColor: "rgba(100, 255, 100, .8)",
|
borderColor: "rgba(100, 255, 100, .8)",
|
||||||
borderWidth: 2,
|
borderWidth: 2,
|
||||||
fill: false,
|
fill: true,
|
||||||
yAxisID: "y_bandwidth",
|
yAxisID: "y_bandwidth",
|
||||||
data: response.downloads
|
data: response.downloads
|
||||||
}, {
|
}, {
|
||||||
label: "Views",
|
label: "Views",
|
||||||
backgroundColor: "rgba(128, 128, 255, .4)",
|
backgroundColor: "rgba(128, 128, 255, .1)",
|
||||||
borderColor: "rgba(128, 128, 255, .8)",
|
borderColor: "rgba(128, 128, 255, .8)",
|
||||||
borderWidth: 2,
|
borderWidth: 2,
|
||||||
fill: false,
|
fill: true,
|
||||||
yAxisID: "y_views",
|
yAxisID: "y_views",
|
||||||
data: response.views
|
data: response.views
|
||||||
}
|
}
|
||||||
|
@@ -114,10 +114,14 @@
|
|||||||
</div>
|
</div>
|
||||||
<span id="info_file_details"></span>
|
<span id="info_file_details"></span>
|
||||||
<span id="info_about">
|
<span id="info_about">
|
||||||
<h3>Bandwidth and views</h3>
|
<h3>Downloads and views</h3>
|
||||||
<div id="chart_container" class="chart-container" style="position: relative; width: 100%; height: auto;">
|
<div id="chart_container" class="chart-container" style="position: relative; width: 100%; height: auto;">
|
||||||
<canvas id="bandwidth_chart"></canvas>
|
<canvas id="bandwidth_chart"></canvas>
|
||||||
</div>
|
</div>
|
||||||
|
<p style="text-align: center">
|
||||||
|
Chart rendered by the amazing <a href="https://www.chartjs.org/" target="_blank">Chart.js</a>.
|
||||||
|
</p>
|
||||||
|
|
||||||
<h3>About</h3>
|
<h3>About</h3>
|
||||||
Pixeldrain is a file sharing platform.
|
Pixeldrain is a file sharing platform.
|
||||||
<a href="/" target="_blank">Visit the home page for more information.</a>
|
<a href="/" target="_blank">Visit the home page for more information.</a>
|
||||||
|
Reference in New Issue
Block a user