Is there a way to drag an existing component into a flex container or do you have to add new components. I have an existing bar chart that I want to add to a new flex container
There is no mechanism to "move" a component. You must Copy ->
Delete ->
Paste. Note that when you perform this operation, any bindings or script references are likely to no longer function due to a change in the path used to reference those properties.
... so copy the components into the new container first, then copy and edit the bindings and then delete the originals.
Bindings with relative paths to other components break when you just copy and paste the bindings (and the whole application becomes "brittle"). I've found that this can usually be solved by creating custom properties on the view and binding the components to those instead. Since the view's custom properties are absolute the bindings can be copied and pasted and will just work.