makes hichart dynamic
positions are only updated if they are different