Popup with dynamic time series chart

Hi
Im trying to use a time series chart in a dynamic popup but im having issues with setting up the tag history binding as a dynamic binding.

I have found this :
https://docs.inductiveautomation.com/display/DOC80/Tag+History+Bindings+in+Perspective

but im realy not sure how to set it up.

Every thing i try ends up breaking the chart.

Could some one make a step by step guide with pictures ?

I see there is a similar issue, but there are not a guide to set it up, what goes where ?

Where are you getting stuck??

all off it, im not sure where any of it goes, thats why i want a step by step instruction.