I changed the XAxisSlider, YAxisSlider and ReferenceYearSlider to an XAxisField, YAxisField and ReferenceYearField. The TextFields should only accept numbers and also show a warning when an out of range value is inserted.