Hi, first time posting:
Iâm trying to create a rangeslider and run it through dash and the code looks like the following:
dcc.RangeSlider( #Creates the html Division for the year slider
id=âyear-pickerâ,
min = min,
max = max,
value= [2010, 2021],
marks = {
âlabelâ : str(year_dict),
âstyleâ : {
âfont-sizeâ:â10pxâ,
âtransformâ:ârotate(-45deg)â
}
}
#step=None
),
The problem happens when I run the Dash server, I get an error that says: âInvalid argument marks.style
passed into RangeSlider with ID âyear-pickerâ.â
Looking at the documentation shows that style should be a valid dictionary within RangeSlider. Any help is appreciated. Let me know if something wasnât clear.
Thanks!