Skip to content
Snippets Groups Projects
Commit 9a2be386 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

Fixed #471 - chart incomes/expenditures per month by categories: % sign missing on y axis

parent 3baa75f2
No related branches found
No related tags found
No related merge requests found
Pipeline #2083 passed
...@@ -35,7 +35,7 @@ public class DefaultCharts ...@@ -35,7 +35,7 @@ public class DefaultCharts
private static final Chart CHART_INCOMES_AND_EXPENDITURES_PER_MONTH_BY_CATEGORIES = new Chart("charts.default.incomesAndExpendituresPerMonthByCategories", private static final Chart CHART_INCOMES_AND_EXPENDITURES_PER_MONTH_BY_CATEGORIES = new Chart("charts.default.incomesAndExpendituresPerMonthByCategories",
getChartFromFile("charts/IncomesAndExpendituresPerMonthByCategories.js"), getChartFromFile("charts/IncomesAndExpendituresPerMonthByCategories.js"),
ChartType.DEFAULT, 10); ChartType.DEFAULT, 11);
public static List<Chart> getDefaultCharts() public static List<Chart> getDefaultCharts()
......
...@@ -101,7 +101,8 @@ var plotlyLayout = { ...@@ -101,7 +101,8 @@ var plotlyLayout = {
hovermode: 'closest', // show hover popup only for hovered item hovermode: 'closest', // show hover popup only for hovered item
yaxis: { yaxis: {
rangemode: 'tozero', rangemode: 'tozero',
tickformat: '.2f %', tickformat: '.0f',
ticksuffix: '%',
showline: true showline: true
} }
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment