Currently the text on the charts at https://test.wikipedia.org/wiki/Charts is displaying, for me in my browser (Chrome, Windows 11, English), in the "Microsoft YaHei" font. I have no idea how this was selected. My default browser font is Arial.
Ideally I feel that charts should be using the same font as the regular page content. But this is a matter for designers.