% !TEX TS-program = lualatex
\documentclass[french,a4paper]{article}
\usepackage[fulloldstylenums]{kpfonts-otf}
% chiffres elzéviriens = oldstylenums + oldstylenumsmath
\usepackage{babel}
%
\usepackage{pgfplots}
\pgfplotsset{compat=1.5}
%
\begin{document}
\begin{tikzpicture} \begin{axis}
[
ymajorgrids,
x tick label style={/pgf/number format/1000 sep={},anchor=base,yshift=-0.35cm},
]
\addplot coordinates {
(2024,16.9)
(2026,13.6)
};
\addplot coordinates {
(2022,15.8)
(2023,12.3)
};
\legend{A,B}
\end{axis}
\end{tikzpicture}
\end{document}\end{document}
![alt text][1]
[1]: https://texnique.fr/osqa/upfiles/Screenshot_2024-02-08_at_10.19.08.png