Open Micheal-Slade opened 1 year ago
This only gets max value but we should ideally be getting both the min and max value of the array.
if (config.essential.xDomain === "auto") { x.domain([0, d3.max(series, (d) => d3.max(d, (d) => d[1]))]); } else { x.domain([0, config.essential.xDomain[1]]); }
Fixed on the line chart and line small multiple
This only gets max value but we should ideally be getting both the min and max value of the array.
if (config.essential.xDomain === "auto") { x.domain([0, d3.max(series, (d) => d3.max(d, (d) => d[1]))]); } else { x.domain([0, config.essential.xDomain[1]]); }