mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-08 10:48:13 +00:00
Fix chart money format
This commit is contained in:
@@ -94,8 +94,8 @@ var defaultLineOptions = {
|
|||||||
responsive: false,
|
responsive: false,
|
||||||
scaleLabel: " <%= accounting.formatMoney(value) %>",
|
scaleLabel: " <%= accounting.formatMoney(value) %>",
|
||||||
tooltipFillColor: "rgba(0,0,0,0.5)",
|
tooltipFillColor: "rgba(0,0,0,0.5)",
|
||||||
tooltipTemplate: "<%if (label){%><%=label%>: <%}%>" + currencySymbol + " <%= value %>",
|
tooltipTemplate: "<%if (label){%><%=label%>: <%}%> <%= accounting.formatMoney(value) %>",
|
||||||
multiTooltipTemplate: "<%=datasetLabel%>: <%= '" + currencySymbol + " ' + Number(value).toFixed(2).replace('.', ',') %>"
|
multiTooltipTemplate: "<%=datasetLabel%>: <%= accounting.formatMoney(value) %>"
|
||||||
};
|
};
|
||||||
|
|
||||||
var defaultColumnOptions = {
|
var defaultColumnOptions = {
|
||||||
|
|||||||
Reference in New Issue
Block a user