Actually, what you want is possible, thanks to what @ehorvat1 shows in this post:
You can add a formatter to your Y-Axis and divide all values by 1000 to convert from W to kW:
yAxis:
- component: oh-value-axis
config:
axisLabel:
formatter: =v=>Number.parseFloat(v)/1000
Note that I’m using Number.parseFloat(v) here, while ehorvat1 uses Number.parseFloat(v.data[1]). Frankly, I have no idea, why. Found this by trial and error.
For the markPoint in the same chart I had to use Number.parseFloat(v.value) to see the value, otherwise it would just show NaN.
Example:
markPoint:
label:
formatter: '=v=>Number.parseFloat(v.value)/1000 + " kW"'