How you set a fixed x-axis with dynamic data?
Author: nbhectorCreated Jul 26, 2021Updated Oct 6, 2023
Hi,
I am using the LineMarkSeries and I am feeding the data parameter with a new object (i.e. {x: cnt; y: getData()} ) and I am trying to get a fixed axis in the range from 0 to 20. However, it seems a bit difficult since the dynamic data is creating a new object containing new data points to be rendered on the graph. Does anyone know how I can fix this issue?
Thanks!
Source: uber/react-vis