Hello,
Thank you for your reply. Yes, it is much better now. I still have a problem however with a second
label I want to place at the other end of the chart header (bottom of the chart). The second
label is not shown properly and for whatever reason is not on the same line as the first
label (see chart below). Can you please provide some assistance?
Thank you,
Stilianos
NChartControl3.Panels.Clear()
chart3 = New NCartesianChart()
chart3.SetPredefinedChartStyle(PredefinedChartStyle.HorizontalLeft)
chart3.BoundsMode = BoundsMode.Stretch
chart3.DockMode = PanelDockMode.Left
chart3.Margins = New NMarginsL(5)
X2Cursor = CStr(xCursor.Value.ToString("0"))
TextBox2.Text = X2Cursor
NChartControl3.
Labels.Clear()
Dim
label1 As N
Label = New N
Label("
label1")
label1.DockMode = PanelDockMode.Right
label1.TextStyle.Orientation = -90
label1.FitAlignment = ContentAlignment.TopRight
label1.Location = New NPointL(70, 10)
label1.Margins = New NMarginsL(0)
NChartControl3.Panels.Add(
label1)
Dim
label2 As N
Label = New N
Label()
label2.Text = "Cursor:" & X2Cursor
label2.DockMode = PanelDockMode.Right
label2.TextStyle.Orientation = -90
label2.FitAlignment = ContentAlignment.BottomRight
'
label2.Location = New NPointL(70, 160)
label2.Margins = New NMarginsL(0)
NChartControl3.Panels.Add(
label2)