Hide Slider label

Hi,

I’m currently working with grafana 7.3.6
I’m using a double slider and I try to hide number labels.
Didn’t find anything in storybook or else.

Anyone have ideas ?

Thanks

Some extra information might be useful. Which double sliders? On your own plugin?

Hi

It’s on my own app, I’m using Slider | Grafana Labs with this configuration :

<Slider
    min={0}
    max={maxValue}
    orientation={'horizontal'}
    value={[selectionRangeStart, selectionRangeEnd]}
    onAfterChange={event => {
      this.handleSliderRange(event[0], 0);
      this.handleSliderRange(event[1], 1);
    }}
/>

I am sorry i was late to reply to you.

I tried to hide it and was able to do it like this:

<Slider tooltipAlwaysVisible={false} min={0} max={255} orientation={'horizontal'}></Slider>

The part that did the trick was tooltipAlwaysVisible

Yeah, I found this but tooltip is visible when you change value
I’m trying to fully disable it

Could you upload an imagen of tour slider?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.