Skip to content
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

UI to apply data extents #5

Merged
merged 6 commits into from
Jan 22, 2015
Merged

Conversation

jthomassie
Copy link
Collaborator

Added simple UI checkbox to apply data extents to the y scale.
Note: data extents are automatically applied when data has pos and neg values.
The checkbox makes visible change to y scale and chart when data values are all pos or all neg by changing the min or max from 0 to the data extent.

<div class="vis-option-item">
<label>
<input type="checkbox" value="{{defaultYExtents}}" ng-model="vis.params.defaultYExtents" name="defaultYExtents" ng-checked="vis.params.defaultYExtents">
Set y axis to data extents
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We probably need new verbage here. Perhaps having a conversation with @w33ble or @spenceralger.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should turn it around: by default it is checked and says something like "always show axis origin"?

You're right Shelby, we need to find a better description for this option. Perhaps it can wait for now though.

@stormpython
Copy link
Owner

Need to add a test for this.

@jthomassie
Copy link
Collaborator Author

I think this is ready to merge... Let me know

@@ -0,0 +1,7 @@
<vislib-basic-options></vislib-basic-options>
<div class="vis-option-item">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With all the copy and paste, I think it makes sense to add this to the vislib-basic-options directive ☝️

@stormpython
Copy link
Owner

@jthomassie want to make the changes that @spenceralger suggested. Then I can take a look at it and merge it.

@jthomassie
Copy link
Collaborator Author

This is ready to merge. Then I think we should have a discussion in Kibana room about the UI wording and behavior.

@stormpython
Copy link
Owner

LGTM

stormpython added a commit that referenced this pull request Jan 22, 2015
@stormpython stormpython merged commit 4a04fca into stormpython:fix/#1962 Jan 22, 2015
stormpython pushed a commit that referenced this pull request Jan 22, 2015
stormpython pushed a commit that referenced this pull request Jun 16, 2015
display info about missing object
stormpython pushed a commit that referenced this pull request Aug 6, 2015
fixed windows issue in kibana.bat for spaces in path
stormpython pushed a commit that referenced this pull request Nov 5, 2015
Create shrinkwrap from build
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