That looks easy, but it doesn't seem to work. Here's the block of code in question... and I've attached a screenshot of the result... thanks in advance... Lee
Dim sLegend As NLabel = Nothing
If mSLegendLayout <> eLegendLayout.None AndAlso Not (TypeOf chart Is NPieChart) Then
sLegend = chartCtrl.Labels.AddHeader("blah blah blah")
sLegend.ContentAlignment = ContentAlignment.MiddleLeft
'sLegend.TextStyle.horizontalalign = VisualStyles.HorizontalAlign.Left
If mSLegendLayout = eLegendLayout.Right Then
sLegend.Margins = New NMarginsL(10, 0, 0, 0)
sLegend.FitAlignment = ContentAlignment.TopLeft
sLegend.Dock = DockStyle.Right
Else
sLegend.Margins = New NMarginsL(0, 10, 0, 10)
sLegend.FitAlignment = ContentAlignment.BottomCenter
sLegend.Dock = DockStyle.Bottom
sLegend.TextStyle.StringFormatStyle.HorzAlign = Nevron.HorzAlign.Left
sLegend.BoundsMode = BoundsMode.None
End If
End If