I am using my own marks and displaying them on the slider using restricted values however the spacing is not ideal. How can I keep my own min/max/custom markers but have them be equally spaced on the slider?
Currently:
2-2.8-4-5.6---8---11----16
Desired:
2--2.8--4--5.6--8--11--16
<Box sx={{ width: 365 }}>
<Slider
aria-label="aperture"
defaultValue={8}
step={null}
valueLabelDisplay="auto"
marks={marksAperture[camera][0].settings} //2, 2.8, 4, 5.6, 8, 11, 16
min={marksAperture[camera][0].minStop} //2
max={marksAperture[camera][0].maxStop} //16
onChange={this.handleApertureChange}
sx={{
"& .MuiSlider-markLabel": {
fontSize: "10px",
},
}}
/>
</Box>