🚀 Gen 5 of the leading AI app deployment platform launches October 6. Click for the livestream.

Disable text display in rangeslider area

I am implementing a scatterplot with labels next to the dots and a rangeslider. I want to display the labels in the chart area but not in rangeslider. I would like the rangeslider area to only display the dots. Is it possible to set the mode of the rangeslider different than the chart ?

I tried adding mode under the rangelsider attribute but it didn’t work.
xaxis: {
autorange: false,
fixedrange: false,
range: [moment.unix(‘1547882332’).format(‘YYYY-MM-DD hh:mm:ss’), moment.unix(‘1548936000’).format(‘YYYY-MM-DD hh:mm:ss’)],
showgrid: false,
rangeslider: {
mode: ‘markers’,
visible: true
}

Not at the moment, unfortunately. You can subscribe to https://github.com/plotly/plotly.js/issues/2010 for the most up-to-date development info.

I implemented a workaround for it which works:

.rangeslider-rangeplot.xy .plot .scatterlayer.mlayer .text{
    display: none;
}