label-studio-frontend icon indicating copy to clipboard operation
label-studio-frontend copied to clipboard

feat: Custom y-axis in TimeSeries

Open jrdalenberg opened this issue 2 years ago • 1 comments

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.

jrdalenberg avatar Feb 21 '23 15:02 jrdalenberg

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?

Screenshot from 2023-02-22 23-47-46

Credits for the dual slider design should go to @JauJau088. (https://github.com/JauJau088/react-dual-slider)

jrdalenberg avatar Feb 22 '23 22:02 jrdalenberg