label-studio-frontend
label-studio-frontend copied to clipboard
feat: Custom y-axis in TimeSeries
This PR adds an ylim
parameter to the TimeSeries tag and allows a custom change to the y-axis.
I see it as a a work in progress to address #536.
If anyone could help me figure out how to let a user define the y-axis, which is what I am working towards, please let me know. I could use the help since I mainly work with Python, which makes this a challenge.
Another evening of a fearsome battle with react ;)
The range does not update the entire chart yet. It happens when the x-axis slider is changed. Anyone got a tip to let it update?
Credits for the dual slider design should go to @JauJau088. (https://github.com/JauJau088/react-dual-slider)