Possible to restyle parallel Coordinate constraint range?

Hi,
I was wondering if it is possible to use Plotly.restyle to update the ‘constraintrange’ property for a single dimension of a parallel coordinate diagram (https://www.plot.ly/javascript/parallel-coordinates-plot/).
The challenge is that “dimensions” has an array value and I can’t figure out how to specify an array index in a restyle command.

It does work to use restyle to specify an entirely new dimensions list, but I’m trying to avoid resending the large ‘values’ array.

Thanks!
-Jon

Like this: https://codepen.io/etpinard/pen/VMawJJ?editors=1010

Great,
That’s working for me,
Thanks!

1 Like