Set value to null

I’m trying to set a value on a graph to NULL until an answer is given, but I’m not sure how to.

This is what I have so far:

number(c): when c1.submitted c1.numericValue
otherwise ???

I’ve tried writing null, NULL, and NaN, but the cl doesn’t recognize those.

Is there anything I can use? I don’t want it to be set as 0 because then it’ll show up on the graph as 0 and I want it to be blank instead.

depending on your use-case you could set it to something that’s undefined. say:

numericValue("\sqrt{-1}")

that may or may not be appropriate for what you intend to do with it though, so use your judgment there

1 Like

That helped, thanks!

I also saw I could use pointLabel to do a similar thing on other questions.