or
painChart.Series[0].Appearance.LabelAppearance.Position.AlignedPosition =
AlignedPositions.Right;
painChart.Series[0].Appearance.LabelAppearance.LabelLocation =
StyleSeriesItemLabel.ItemLabelLocation.Inside;
But no labels appear and I dont know how to set the numeric value to the label.
Kindly let me know the code as to how to place the labels with the numeric values at the right or left of the points in a line chart.
Thanks in advance,
Harini
| private int selectedIndex; | |
| public TEST() | |
| { | |
| InitializeComponent(); | |
| } | |
| private void radListBox1_SelectedIndexChanged(object sender, EventArgs e) | |
| { | |
| int newIndex = radListBox1.SelectedIndex; | |
| if (newIndex == selectedIndex) | |
| { | |
| DeselectAllElements(); | |
| } | |
| else | |
| { | |
| selectedIndex = newIndex; | |
| } | |
| } | |
| public void DeselectAllElements() | |
| { | |
| radListBox1.ClearSelected(); | |
| radListBox1.SelectedIndex = -1; | |
| selectedIndex = -1; | |
| } | |
| private void TEST_Load(object sender, EventArgs e) | |
| { | |
| string[] list = "blah1,blah2,blah4,blah5,blah6".Split(','); | |
| radListBox1.DataSource = list; | |
| } |