# Changing Location

## Content



Use the **X** location property to specify the number of pixels from the edge of the chart to the left edge of the chart element. Use the **Y** location property to specify the number of pixels from the edge of the chart to the top of the chart element. Set **X** and **Y** to -1 to allow the chart to automatically position the element.

These properties are located on the Location node, found on the **ChartArea**, **Titles**, **Legend**, and **ChartLabels** nodes of the Visual Studio Properties window.

## See Also

[Changing Width and Height](/componentone/docs/win/online-chart3d/3dchartelements/3dchartelementsposit/changingwidthandheig)