This bug is a part of list found by Russian Wikipedia community in Chart extension after it was enabled on ruwiki for population graphs.
Steps to replicate the issue (include links if applicable):
- Create data on Commons with X values being significantly non-uniform -- e.g. I took X and Y values being 0, 1, 10, 100, 1000. Correct graph should look like a straight line. Example
- Create line chart from it. All good, it looks like a straight line.
- Create area chart from it. Uh-oh, area chart doesn't respect non-uniformity, it's broken.
- Now, create data with X values being non-uniform dates (i.e. specified as string and in format "XXXX-XX-XX", which is supported), example. Now even line chart is broken!
QA notes
Should be confirmed fixed by chart-renderer deployment update:
- Area chart with numeric data should respect non-uniformity, show as a straight increasing line on this example. (Confirmed good 2026-01-29 after today's deployment -bv)
Will still remain due to needing further date/timestamp work for T403020; ok to close out this bug and move this requirement there:
- Line chart with datetime data should respect non-unformity, show as a straight increasing line on this example (but can't yet because we don't consistently handle a datetime type yet)