You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unable to set 'rangeslider': { 'visible': false } for XPlot.Plotly.Candlestick #168
When we render a Candlestick plot, we see the rangeslider on the bottom of plot by default. We can set rangeslider: {visible: false} on plotly.js via layout.xaxis option. But for now, we cannot disable it via XPlot.Plotly because the option seems not to be supported in XPlot.Plotly.Layout.
Now I override .js source from chart.GetPlottingJS() as workaround, but it would be nice if the option is supported.
When the range slider is present on a candlestick chart, it seems we're unable to zoom in on the y-axis. When the range slider is removed, the user is able to zoom in freely.
See this page for interactive demos of charts with and without the range slider:
You can also make the y axis zoomable while you have a range slider by setting fixedrange to false on the axis object. example (although with Plotly.NET, not with XPlot) here
Activity
dharmatech commentedon Nov 23, 2021
Yes, this would be awesome!
When the range slider is present on a candlestick chart, it seems we're unable to zoom in on the y-axis. When the range slider is removed, the user is able to zoom in freely.
See this page for interactive demos of charts with and without the range slider:
https://plotly.com/python/candlestick-charts/
kMutagene commentedon Nov 25, 2021
You can also make the y axis zoomable while you have a range slider by setting
fixedrangeto false on the axis object. example (although with Plotly.NET, not with XPlot) here