Many chart parameters are linked to dimension, like strokeWidth for a line, you can use this to bind this parameter to something completely off your dataset, like a property of your model. Here, we are using this behavior to display or hide some limit lines, depending on a Boolean data stored in our model (showLines). Then to simulate a "refresh call" we just call the pan function and pan by 0% (which means the visuals don't move).
comments