Skip to content

Commit

Permalink
fix(graph): Add 2 digits precisions on graph
Browse files Browse the repository at this point in the history
  • Loading branch information
annelhote committed Feb 6, 2024
1 parent 6395773 commit a7f2ad6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/chartOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -3359,7 +3359,7 @@ export const chartOptions = {
categories,
title: { text: intl.formatMessage({ id: 'app.publication-year' }) },
};
options.yAxis = getPercentageYAxis();
options.yAxis = getPercentageYAxis(true, null, false, 2);
options.yAxis.title.text = intl.formatMessage({
id: 'app.shared-software',
});
Expand Down Expand Up @@ -3477,7 +3477,7 @@ export const chartOptions = {
categories,
title: { text: intl.formatMessage({ id: 'app.publication-year' }) },
};
options.yAxis = getPercentageYAxis();
options.yAxis = getPercentageYAxis(true, null, false, 2);
options.yAxis.title.text = intl.formatMessage({
id: 'app.used-data',
});
Expand Down

0 comments on commit a7f2ad6

Please sign in to comment.