Reply To: How can I add a slider?

#6234
Jonathan Sandoe
Keymaster

Hello,

Here is your document modified with, I think, the slider working as you desired: https://codap.concord.org/app/static/dg/en/cert/index.html#shared=https%3A%2F%2Fcfm-shared.concord.org%2FZps4tjnOQN2Xg5y22nur%2Ffile.json

It takes a slightly advanced use of formulas to create. You will see that the slider’s axis has been adjusted to have a range of 2-12. There are two new attributes in the case table. The first, ‘Month’, just rounds the slider value to an integer. The second uses a sequence of embedded ‘if’s to pick a column based on month. It’s a useful little trick.

Jonathan Sandoe