-
Notifications
You must be signed in to change notification settings - Fork 0
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
Variable picker #92
Variable picker #92
Conversation
…igger reactive behaviour downstream in solidjs
…changing the props
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.
Selecting variables works for me.
It would be nice to have some e2e tests.
@@ -28,6 +46,11 @@ const linestyles = ["none", "5,5", "10,10", "15,5,5,5", "20,10,5,5,5,10"]; | |||
* It only works if the time axes are equal | |||
*/ | |||
export function TimeSeriesPlot() { | |||
const [xVariable, setXVariable] = createSignal("t"); | |||
const [yVariable, setYVariable] = createSignal("theta"); |
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.
When saving/restoring a session or sharing a link would it make sense to also store the variable selection?
If so we would need to lift those signals to the analyses store.
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.
I think that would make sense in the future, so I have done as you suggested. Variables are now set in the store. Regarding the URL, I think we should wait for the analysis interface to stabilize, so we can add it later.
I agree, but I always struggle to write test for "figure should look different". I'm not eager to spend a lot of time on that now. |
Adds a variable picker for profiles and timeseries plots
TODO: