-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added reset button to plots #1030
Conversation
@PhilippWendler Are there any changes needed ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot!
I have added some thoughts about a few places where I think we could improve it a little bit. But overall I think this is the correct approach, the button is in the best place and it work.s
benchexec/tablegenerator/react-table/src/components/QuantilePlot.js
Outdated
Show resolved
Hide resolved
benchexec/tablegenerator/react-table/src/components/ScatterPlot.js
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot, works perfectly!
It seems it was changed somehow although when I build it I get the same file as on the main branch.
Fixes #1018.
renderResetButton
in plot.jsthis.state
contains all the specific plot parameters. An object with all params keys fromthis.state
with value null is passed tosetURLParameter
function which removes them from the URL .Attached is the video of the working -
resetbutton-2024-04-04_19.33.44.mp4