HorizontalAlignment Property
Description
Gets/sets the horizontal alignment of the legend.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property HorizontalAlignment() As [ChartLegendAlignment](XtremeChartControl~Enumerations~ChartLegendAlignment_EN.md)
Return Type
Returns an enumerated value of ChartLegendAlignment, which represents the kind of horizontal alignment chosen.
Remarks
The legend has many different locations within the chart that it can be placed, including inside or outside the chart's diagram.
Below are just two of the alignment options for the legend; you can see it can be displayed on the inside or outside of the chart.


Example
ChartControl.Content.Legend.HorizontalAlignment = xtpChartLegendFar
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.