For axis re-ordering to work correctly, the data must be an array of objects (with column names as attributes), rather than a 2D array of numbers (array of array of numbers).
For example, it does not work correctly if the reordering example is changed from
or if .reorderable() is added to the 'Minimal Example'.
Whilst the order of the axes does change in response to dragging, lines still join the axes that was moved to the axes that were previously adjacent to it.
This limitation does not seem to be currently represented in the documentation.
For axis re-ordering to work correctly, the data must be an array of objects (with column names as attributes), rather than a 2D array of numbers (array of array of numbers).
For example, it does not work correctly if the reordering example is changed from
to:
or if
.reorderable()
is added to the 'Minimal Example'.Whilst the order of the axes does change in response to dragging, lines still join the axes that was moved to the axes that were previously adjacent to it.
This limitation does not seem to be currently represented in the documentation.