This question is locked. New answers and comments are not allowed.
I am manually binding datasource to a rangebar, and trying to bind data to the labels but they will not show up. The following code works for a regular barseries.
SeriesMapping series = new SeriesMapping (); series.SeriesDefinition = new RangeBarSeriesDefinition() { AxisName = "MyAxis", }; series.LegendLabel = "MyRange"; series.ItemMappings.Add(new ItemMapping() { DataPointMember = DataPointMember.Label, FieldName = "LabelField"}); series.ItemMappings.Add(new ItemMapping () { DataPointMember = DataPointMember.High, FieldName = "HighField"}); series.ItemMappings.Add(new ItemMapping() { DataPointMember = DataPointMember.Low, FieldName = "LowField"}); series.ItemMappings.Add(new ItemMapping () { DataPointMember = DataPointMember.XCategory, FieldName = "CatField"}); any help would be appreciated.