diff --git a/htdocs/compta/bank/graph.php b/htdocs/compta/bank/graph.php
index 2e1f36cbeea..ccf677fa2b8 100644
--- a/htdocs/compta/bank/graph.php
+++ b/htdocs/compta/bank/graph.php
@@ -350,10 +350,11 @@ else
}
$datamin[$i] = $object->min_desired;
$dataall[$i] = $object->min_allowed;
- if ($xday == '15')
+ /*if ($xday == '15') // Set only some label for jflot
{
$labels[$i] = dol_print_date($day, "%b");
- }
+ }*/
+ $labels[$i] = dol_print_date($day, "%Y%m");
$day += 86400;
$textdate = strftime("%Y%m%d", $day);
$xyear = substr($textdate, 0, 4);
@@ -465,10 +466,11 @@ else
}
$datamin[$i] = $object->min_desired;
$dataall[$i] = $object->min_allowed;
- if (substr($textdate, 6, 2) == '01' || $i == 0)
+ /*if (substr($textdate, 6, 2) == '01' || $i == 0) // Set only few label for jflot
{
- $labels[$i] = substr($textdate, 4, 2);
- }
+ $labels[$i] = substr($textdate, 0, 6);
+ }*/
+ $labels[$i] = substr($textdate, 0, 6);
$day += 86400;
$textdate = strftime("%Y%m%d", $day);
@@ -815,6 +817,8 @@ else
}
print '
';
+print '';
+
// Graphs
if ($mode == 'standard')
@@ -826,39 +830,39 @@ if ($mode == 'standard')
// For month
$link = "".img_previous('', 'class="valignbottom"')." ".$langs->trans("Month")." ".img_next('', 'class="valignbottom"')."";
- print '