Steps to replicate the issue (include links if applicable):
- Navigate to any article containing two or more charts sharing the same X-axis time scale but with different Y-axis scales (e.g., absolute vs. percentage). Example: https://fr.wikipedia.org/wiki/Catholicisme#Le_catholicisme_dans_le_monde
- Visually compare the rendered width of each graph container
What happens?:
Graphs with identical X-axis configuration display different container widths.
The width appears to be influenced by Y-axis label length or data range:
- Wider: graphs with longer Y-axis labels (e.g., 0–700 000 000)
- Narrower: graphs with shorter Y-axis labels (e.g., 0–70 %)
This causes visual misalignment in article layout, breaking consistency in stacked chart presentation.
Issue is reproducible across Wikimedia wikis using the Graph extension and is not limited to a single page or language.
What should have happened instead?:
- All <graph> elements with identical X-axis specifications should render at consistent full width of the content column, regardless of Y-axis scale or label length.
- Layout should remain uniform when charts are stacked or compared side-by-side (in supported views).
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):

