Skip to content

Can the rangeslider be positioned both above or below the graph? #3543

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

Closed
terrylucas opened this issue Feb 14, 2019 · 3 comments
Closed

Can the rangeslider be positioned both above or below the graph? #3543

terrylucas opened this issue Feb 14, 2019 · 3 comments

Comments

@terrylucas
Copy link

The rangeslider is great. Is it possible to place to the rangeslider above the chart instead of below (using CSS or some other attribute mechanism)? I haven't found anything in the docs that mentions this type of functionality feature. I can change the transform to translate the y position but that's not quite right (seems to be recomputed).

Thanks.

@etpinard
Copy link
Contributor

Duplicate of #2453

@etpinard etpinard marked this as a duplicate of #2453 Feb 15, 2019
@terrylucas
Copy link
Author

I noticed this issue was marked as a duplicate of an issue asking for a y-axis rangeslider, I'm not asking for that - but the positioning of an x-axis rangeslider above the chart instead of below the chart.

I did attempt to change the transform attribute of the rangeslider-contain however, plotly.js must compute / change the transform with each extendTrace. I was able to change the transform attribute from:

transform="translate(80,129)"

to (80, 0) which will place the slider at the top of the chart. But each extendTrace the transform again becomes:

transform="translate(80,129)"
Is this a request that that's a won't fix?

@terrylucas
Copy link
Author

I'm sorry there where other issues tacked onto #2453 that were closed 2453 is still opened.

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

No branches or pull requests

2 participants