score:1

Accepted answer

if you know all available y values you can convert them to number values

i wrote small example with conversion, custom colors and labels

https://codesandbox.io/s/simple-line-chart-forked-rbe56s?file=/src/app.tsx


Related Query

More Query from same tag