Recharts X Axis Domain

Domain works with number type of number type axis only.
Recharts x axis domain. Looking at the recharts docs reveals that the x axis can take one of two types category or number with the default set to category. Reactjs date datetime recharts. A practical guide to hacking the recharts library. A tutorial on how to hack in a tooltip a static y axis and truncated bars into a recharts graph.
So i end up using a category x axis but i manually ensure that they are a point every minutes of my whole domain with some point having an undefined value. I try using a number axis and specify the domain but it doesn t work because of the way recharts is done. Recharts re designed charting library built with react and d3. An example from recharts showing categorised data plotted on a.
If i have a line chart with a straight line up and down the automatically calculated x axis domain is including the 0 point to be part of the domain and. You need to convert date in unix epoch i e seconds from 1 jan 1970. When you provide date with quotes it becomes a category. Do you want to request a feature or report a bug.