The horizontal position (or origin point) of the label object.
The following example positions the label at the upper left corner of the control.
Dim label As ChartLabel = New ChartLabel()
label.Text = "Hello world"
label.HorizontalMargin = 0
label.VerticalMargin = 0
label.TextProps.HorizontalAlign = HorizontalAlign.Left
label.TextProps.VerticalAlign = VerticalAlign.Top
m_Form.nChartControl1.Labels.Add(label)
ChartLabel label = new ChartLabel();
label.Text = "Hello world";
label.HorizontalMargin = 0;
label.VerticalMargin = 0;
label.TextProps.HorizontalAlign = HorizontalAlign.Left;
label.TextProps.VerticalAlign = VerticalAlign.Top;
m_Form.nChartControl1.Labels.Add(label);
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2