1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-03 09:17:37 +01:00

Fix minore

This commit is contained in:
Pek5892 2023-09-06 17:37:44 +02:00
parent d1049824d2
commit df90dd986d

View File

@ -121,14 +121,14 @@ var chart_options = {
intersect: false intersect: false
}, },
scales: { scales: {
xAxes: [{ x: {
display: true, display: true,
scaleLabel: { scaleLabel: {
display: true, display: true,
labelString: "'.tr('Periodo').'" labelString: "'.tr('Periodo').'"
} }
}], },
yAxes: [{ y: {
display: true, display: true,
scaleLabel: { scaleLabel: {
display: true, display: true,
@ -140,7 +140,7 @@ var chart_options = {
return \''.html_entity_decode(currency()).' \' + value; return \''.html_entity_decode(currency()).' \' + value;
} }
} }
}] }
}, },
} }
}; };
@ -489,7 +489,7 @@ $(document).ready(function() {
position: "bottom", position: "bottom",
}, },
scales: { scales: {
xAxes: [{ x: {
ticks: { ticks: {
// Include a dollar sign in the ticks // Include a dollar sign in the ticks
callback: function(value, index, values) { callback: function(value, index, values) {
@ -502,7 +502,7 @@ $(document).ready(function() {
return value + text; return value + text;
} }
} }
}] }
}, },
tooltips: { tooltips: {
callbacks: { callbacks: {
@ -635,14 +635,14 @@ $(document).ready(function() {
intersect: false intersect: false
}, },
scales: { scales: {
xAxes: [{ x: {
display: true, display: true,
scaleLabel: { scaleLabel: {
display: true, display: true,
labelString: "'.tr('Periodo').'" labelString: "'.tr('Periodo').'"
} }
}], },
yAxes: [{ y: {
display: true, display: true,
scaleLabel: { scaleLabel: {
display: true, display: true,
@ -653,7 +653,7 @@ $(document).ready(function() {
return value; return value;
} }
} }
}] }
}, },
} }
}); });