Defining slider granularity in conditions file for online study


what I am trying to do is building a routine that serves as a blank slate rating scale which gets all its parameters from the conditions file. Using some code I have been able to get ticks and lables from the conditions file, but regardless of what I try I am not able to change the granularity via the conditions file. Is this something that simply is not possible in PsychoJS, or does someone have some advice?

The code I tried so far was:

QuestionnaireResponse.granularity = granul;
QuestionnaireResponse._needVertexUpdate = true;

with granul being a column in the conditions file.