XY chart - distinct units for X vs Y axis

  • Grafana v12.3.3 (2a14494b2d)

  • I’m trying to apply one unit to the Y-axis, and a different unit to the X-axis, in an XY Chart (Watts on the Y-axis, % on the X-axis)

  • Units isn’t available under Standard options, so I’m doing a field override. Standard options > Unit is available under the Override. I can select Watt (W) from the Unit menu.

  • Watts got applied to both the X- and the Y-axis.

  • I expected Watts to be applied to the Y-axis only. But really, I expected Standard options or XY Chart to expose Units config options for each axis independently.

  • No errors

  • Couldn’t find any online instructions relating to this

@grafanalalo welcome to our comunity
First you need to Use field name overrides (not general override)
Scroll to + Add field override
Choose Fields with name → select your watts field
Add property → Standard options → Unit → Watt (W)
Add a second field override
Choose Fields with name-> select your percent field
Add property ->Standard options → Unit-> Percent (0-100)

then Assign X and Y fields correctly in Series mapping
Scroll to the top of the panel options
Under Series mapping → switch to Manual (or check Auto)
Set X field → percent
Set Y field → watts


Units are tied to the field, so whichever field is assigned to X or Y axis will carry its unit automatically.

Ahhh it’s obvious in retrospect. Thank you! Much appreciated.