|
@using Syncfusion.Blazor.Inputs
<div class="row">
<div class="col-sm-4">Wind</div>
<div class="col-sm-4">
<SfSlider ID="dynamic_color_slider" TValue="int" Min="0" Max="2" Type="SliderType.MinRange">
<SliderEvents TValue="int" TicksRendering="@TickesRendering"></SliderEvents>
<SliderTicksData Placement="Placement.After" LargeStep="1"></SliderTicksData>
</SfSlider>
</div>
</div>
@code{
public void TickesRendering(SliderTickEventArgs args)
{
args.Text = args.Text + ".5%";
}
} |
Hi Martin,
Don't know if you still have this issue. I had it to and found that I had to change the e-scale css class to display flex, this because for some weird reason it took something different and than left spaces between the li elements making up the scale. So if you try this it should return back to normal again.
Kind regards