Skip to content

Conversation

@VeraZab
Copy link
Contributor

@VeraZab VeraZab commented Feb 9, 2018

@nicolaskruchten ready for a look
ex

@nicolaskruchten
Copy link
Contributor

UI looks good, but I'm puzzled about the relationship to the Workspace UI... Workspace seems to have two dropdowns per error bar?

image

@VeraZab
Copy link
Contributor Author

VeraZab commented Feb 9, 2018

yeah, I didn't quite get what the second one was doing, but now I get it, it's the 'arrayminus' key.. not sure what to name that, but ok, adding it in.

@VeraZab
Copy link
Contributor Author

VeraZab commented Feb 9, 2018

ok should be good now @nicolaskruchten
screen shot 2018-02-09 at 11 06 40 am

@nicolaskruchten
Copy link
Contributor

Hmmm OK so digging into the plotly.js docs there are actually a bunch more options here. If you don't specify an array then the "type" is "percent" it looks like, but we should be able to specify the percentage. Should we add the controls for "type" and "value" and "symmetric" in here? It's weird to just have the two arrays... (I know the workspace doesn't do this, but the editor framework makes it pretty easy ;)

@nicolaskruchten
Copy link
Contributor

valueminus and arrayminus could appear only if symmetric is false, and the type could control if we see value* or array*

@VeraZab
Copy link
Contributor Author

VeraZab commented Feb 9, 2018

Yeah, there's lots of options that why I felt like it might be nice to have a fold in axes for these..
But then having DataSelectors in folds is a little against the current organization of things..

Ok well, I'll see how it looks if I just add them all here, maybe it's not too much after all

@nicolaskruchten
Copy link
Contributor

I hear ya, but I think they won't all appear at once... worst case is you have:

  • show: true
  • type: value
  • symmetric: false
  • value:
  • valueminus

And if we want we can probably merge show and symmetric into one custom control with three options: hide, symmetric, asymmetric

@VeraZab
Copy link
Contributor Author

VeraZab commented Feb 9, 2018

ok I'll see how that looks, maybe i'll even have 3 separate sections one per axis

@VeraZab
Copy link
Contributor Author

VeraZab commented Feb 12, 2018

yeah, I don't know what's up.. I have to click twice on those RadioBlock options for them to be selected, although they're controlled by component state..

have to look more into that

@nicolaskruchten
Copy link
Contributor

Is this ready for review?

@VeraZab
Copy link
Contributor Author

VeraZab commented Feb 12, 2018

no not yet

@nicolaskruchten
Copy link
Contributor

OK cool. I like keeping "[WIP]" in the PR description for this kind of thing, so that everyone knows it's not ready yet :)

@VeraZab VeraZab changed the title Added x | y | z | error bars [WIP] Added x | y | z | error bars Feb 12, 2018
@VeraZab VeraZab changed the title [WIP] Added x | y | z | error bars Added x | y | z | error bars Feb 12, 2018
@VeraZab
Copy link
Contributor Author

VeraZab commented Feb 12, 2018

updated controls:

screen shot 2018-02-12 at 10 50 24 am

screen shot 2018-02-12 at 3 02 53 pm

screen shot 2018-02-12 at 3 03 18 pm

screen shot 2018-02-12 at 3 03 11 pm

screen shot 2018-02-12 at 3 03 26 pm

@VeraZab
Copy link
Contributor Author

VeraZab commented Feb 12, 2018

cc @nicolaskruchten now ready for review : )

@nicolaskruchten
Copy link
Contributor

💃

@VeraZab VeraZab merged commit 0065005 into master Feb 12, 2018
@VeraZab VeraZab deleted the error-bars branch February 12, 2018 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants