I have a label that I want as the x axis label on my graph, and I want to align the trailing edge of the label to the graph view, and also the top edge to the bottom edge of the graph view, how can I do this? I am building it via storyboard
storyboard screenshot with constraints
CodePudding user response:
I record my screen to get what you want :
Just select the horizontal spacing constraint by selecting the blue line that represents it, and adjust the constraint's settings with the following :