# \[IGN-2412\] XY Chart drag drop reordering series

**URL:** <https://forum.inductiveautomation.com/t/ign-2412-xy-chart-drag-drop-reordering-series/72703>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [April 20, 2023, 2:26pm UTC](https://forum.inductiveautomation.com/t/ign-2412-xy-chart-drag-drop-reordering-series/72703 "2023-04-20T14:26:36Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![andrew.budaiev](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/andrew.budaiev/32/72921_2.png) [@andrew.budaiev](https://forum.inductiveautomation.com/u/andrew.budaiev)\
**Post date:** [April 21, 2023, 12:41am UTC](https://forum.inductiveautomation.com/t/ign-2412-xy-chart-drag-drop-reordering-series/72703/2 "2023-04-21T00:41:33Z")

</div>

It's not only in XY Chart.

> [@Perspective: How can I reorder array elements \*\*and maintain bindings\*\*?](https://forum.inductiveautomation.com/t/perspective-how-can-i-reorder-array-elements-and-maintain-bindings/40011/12):
>
> You can re-order by dragging array elements. As @jlandwerlen suggested, you need to click-hold to the right of the element you’d like to re-arrange. This will NOT bring the binding along. You can’t supply a binding base don arbitrary relative positions to change if the position changes. When you set up a binding within an array, it’s defined in the schema as custom.my\_array[x].some\_key. dragging the element to a different position results in the binding pointing to the original position because…

> [@\[BUG\] Bindings on props within array items don't stay with their associated array item if moved to a new array index](https://forum.inductiveautomation.com/t/bug-bindings-on-props-within-array-items-dont-stay-with-their-associated-array-item-if-moved-to-a-new-array-index/35578/7):
>
> There’s another thread on this topic somewhere. Not handy, sorry. Bottom line: it is expected and fundamental behavior of bindings where an array is involved. The binding targets a specific subscript in the array. Move elements around and the binding is now pointing at the “wrong” element. Don’t expect a fix any time soon, if ever.

Also some topics I found:

> [@\[FEATURE\] Perspective: Allow reordering of property array elements and maintain bindings](https://forum.inductiveautomation.com/t/feature-perspective-allow-reordering-of-property-array-elements-and-maintain-bindings/40012):
>
> Currently you can rearrange array elements, however bindings aren’t kept intact - they stay with the array index and not with the element you’re moving.

> [@\[BUG\] Bindings on props within array items don't stay with their associated array item if moved to a new array index](https://forum.inductiveautomation.com/t/bug-bindings-on-props-within-array-items-dont-stay-with-their-associated-array-item-if-moved-to-a-new-array-index/35578):
>
> Hello, I’m encountering a bug and didn’t know where to report it. It’s easy enough to work around, so I didn’t bother submitting a support ticket. I have some parameters I’m passing to an embedded view (using perspective). These parameters include an array of objects: One of these objects (object 4) has a binding on one of its values (position). If I duplicate an object above object 4, Ignition appropriately increments the number of the objects below where the duplicated object is, …

> [@Perspective: How can I reorder array elements \*\*and maintain bindings\*\*?](https://forum.inductiveautomation.com/t/perspective-how-can-i-reorder-array-elements-and-maintain-bindings/40011):
>
> v8.1.0rc1 Is there any way to rearrange property array elements and still keep the bindings intact within each array element’s objects? The only way I know of to rearrange elements is by copy/paste to text editor, rearrange, copy/paste back on top in Ignition, however this method doesn’t keep bindings intact…

---

_[View the full topic](https://forum.inductiveautomation.com/t/ign-2412-xy-chart-drag-drop-reordering-series/72703)._
