Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Feature range slider #336

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

Merged
merged 59 commits into from
Mar 30, 2016
Merged

Feature range slider #336

merged 59 commits into from
Mar 30, 2016

Conversation

mdtusz
Copy link
Contributor

@mdtusz mdtusz commented Mar 16, 2016

This is a decent sized PR, and likely will take a while to completely review and have things changed before being ready to merge, so we may as well get started.

role: 'style',
description: 'Sets the background color of the range slider.'
},
height: {
Copy link
Contributor

Choose a reason for hiding this comment

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

let's go with thickness here.

module.exports = {
visible: {
valType: 'boolean',
dflt: false,
Copy link
Contributor

Choose a reason for hiding this comment

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

A blank range slider ( layout.xaxis.rangeslider = {} ) should be considered visible.

containerOut = layoutOut.xaxis.rangeslider = {};

if(!containerIn.visible) return;
var containerIn = typeof layoutIn[axName].rangeslider === 'object' ?
Copy link
Contributor

Choose a reason for hiding this comment

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

image

use isPlainObject instead.

Copy link
Contributor

Choose a reason for hiding this comment

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

ah never mind. if layoutIn[axName].rangeslider is null it won't get to that part.

@@ -80,6 +81,7 @@ module.exports = {
'January 1st 1970 to November 4th, 2013, set the range from 0 to 1380844800000.0'
].join(' ')
},
rangeslider: rangeSliderAttrs,
Copy link
Contributor

Choose a reason for hiding this comment

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

🎉

@etpinard
Copy link
Contributor

💃

@mdtusz
Copy link
Contributor Author

mdtusz commented Mar 30, 2016

Wooo!

@mdtusz mdtusz merged commit 826ed94 into master Mar 30, 2016
@mdtusz mdtusz deleted the feature-range-slider branch March 30, 2016 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature something new
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.