score:1

Accepted answer

I used the "domain" prop instead of "xDomain". This prop requires an object, not a string:

domain={{
  x: [minDate, maxDate], 
  y: [minY, maxY]
}}

where minDate and maxDate are date Objects.


Related Query

More Query from same tag