Auto x-domain calculations are sometimes wrong
MikeLister opened this issue · comments
MikeLister commented
e.g. in sm bar with line it has too many sets of brackets. Fixed here:
//x domain is the maximum out of the value and the reference value
Math.max(d3.max(graphic_data.map(({ value }) => Number(value))),
d3.max(graphic_data.map(({ ref }) => Number(ref))))