Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pierre-Jean CHANCELLIER
Barre de financement intégrable
Commits
4b4cbe5d
Commit
4b4cbe5d
authored
Oct 01, 2019
by
Chancellier Pierre-Jean
Browse files
Amélioration de l'apparence du graph
parent
122a9393
Changes
1
Hide whitespace changes
Inline
Side-by-side
iframe.php
View file @
4b4cbe5d
...
...
@@ -238,19 +238,20 @@
container
.
appendChild
(
div
);
var
chartData
=
{
datasets
:
[{
label
:
"
<?php
echo
tr
(
'graph_target'
);
?>
"
,
data
:
<?php
echo
json_encode
(
$array_line
);
?>
,
borderColor
:
'
#FF3E3D
'
,
borderDash
:
[
5
,
5
],
radius
:
0
,
fill
:
false
},{
label
:
'
<?php
echo
tr
(
'graph_title'
);
?>
'
,
data
:
<?php
echo
json_encode
(
$array_final
);
?>
,
borderColor
:
'
#0099FF
'
,
fill
:
false
,
backgroundColor
:
'
#80CCFF
'
,
lineTension
:
0
,
pointRadius
:
1
,
borderWidth
:
2
},{
label
:
"
<?php
echo
tr
(
'graph_target'
);
?>
"
,
data
:
<?php
echo
json_encode
(
$array_line
);
?>
,
borderColor
:
'
rgb(255, 99, 132)
'
,
radius
:
0
,
fill
:
false
}]
};
new
Chart
(
canvas
.
getContext
(
'
2d
'
),
{
...
...
@@ -269,7 +270,6 @@
xAxes
:
[{
type
:
'
time
'
,
time
:
{
// TODO : A personnaliser avec la langue ?
tooltipFormat
:
dateFormat
}
}]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment