-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Rangeslider does not draw chart when using subplots and scattergl #6231
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
Comments
Thanks @stereokai - somehow I thought we already had an open issue for this but I can't find it (@archmoj am I missing it?) anyway you're right that we never completed rangesliders for scattergl. For your use case you'd also be bothered by #2172 and #2010 - which are pretty old issues so as you can deduce rangeslider improvements have not been a top priority for us recently. PRs encouraged of course :) |
@alexcjohnson I'll try to squeeze in some time for PRs, if you can give me pointers on where to start and what to look for :) |
Excellent :) Rangesliders live here: https://github.com/plotly/plotly.js/tree/master/src/components/rangeslider To actually render the data they call out to the cartesian (2D) plotting code basically pretending to be another regular cartesian subplot: plotly.js/src/components/rangeslider/draw.js Line 500 in b2df371
For this issue, the challenge is that Hope that helps! Feel free to ask more questions as you get into it. |
|
Another thing to note: we support partial bundles, some of which don't include |
I see. If |
I suspect that |
Okay. I understand though only theoretically as I haven't looked at the code yet. Any chance you might have a moment to chime in on the conversation here? (Particularly to my reply to you) Thanks one more time |
Hi - we are trying to tidy up the stale issues and PRs in Plotly's public repositories so that we can focus on things that are still important to our community. Since this one has been sitting for several years, I'm going to close it; if it is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. Thanks for your help - @gvwilson |
Please see: http://www.stereokai.com/multi-charts-comparison/#plotly
The code can be found here: https://github.com/stereokai/multi-charts-comparison/blob/publish/renderers/Plotly/Plotly.js#L22-77
Problem: Range slider is empty, does not draw any chart when rendering with webgl.
Expectation: Range slider will draw the data of 1 subplot.
What I found out: Range slider will draw all of the subplots if I change their type to
scatter
instead ofscattergl
.PS. This is my first time using plotly.js, and I have to say, the API is great, and despite struggling with the documentation, this implementation took me relatively little time compared to all other charting libraries I tried!
The text was updated successfully, but these errors were encountered: