mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 01:42:29 +02:00
Issue #1189 : Minor Color change
This commit is contained in:
@@ -20,8 +20,8 @@ Creating graph
|
||||
var ctx = document.getElementById('stat-graph').getContext('2d');
|
||||
//Create the gradient under the curve
|
||||
var gradient = ctx.createLinearGradient(0,400, 0,0);
|
||||
gradient.addColorStop(0, 'rgba(255,166,70,0)');
|
||||
gradient.addColorStop(1, '#FFA646');
|
||||
gradient.addColorStop(0, 'rgba(255,119,0,0)');
|
||||
gradient.addColorStop(1, 'rgba(255,119,0,1)');
|
||||
|
||||
//Setup the graph
|
||||
Chart.defaults.global.elements.point.radius = 0.1;
|
||||
@@ -50,7 +50,7 @@ var statGraph = new Chart(ctx, {
|
||||
//Line options
|
||||
var displayOptions = {
|
||||
backgroundColor: gradient,
|
||||
borderColor: '#FFA646',
|
||||
borderColor: 'rgba(255,119,0,1)',
|
||||
lineTension : 0.2
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user