2D Chart for WinForms | ComponentOne
Customizing Chart Elements / Chart Elements Position and Size / Changing Location
In This Topic
    Changing Location
    In This Topic

    Use the X property of the Location to specify the number of pixels from the edge of the chart to the left edge of the chart element. Use the Y property of the Location 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