Hi, I want a RadDiagramShape display in the viewport's center, there are many shapes in the RadDiagram. How to do it ? I found the diagram's viewport.X and viewport.Y, but they are read-only, can not to set. Thanks!
2 Answers, 1 is accepted
answered on 23 Aug 2016, 07:25 AM
I am not sure what you want to achieve. Do you want to display a shape at the center of the diagram? Or you want to bring the center of the diagram into the view.
To position a shape manually you can use its Position property. To get the currently visible center of the diagram you can use Viewport property and based on it position the shape. For example: