After inserting the pin, calculate the pin points and just move the margin from the contract to create the chart🤭