This question is locked. New answers and comments are not allowed.
Hello,
This chart works perfectly as intended except the X axis is 1,2,3,4 when I want it to show the values of the Visits themselves (2,6,9,10).
Here is the code:
Any help is appreciated,
Thanks.
This chart works perfectly as intended except the X axis is 1,2,3,4 when I want it to show the values of the Visits themselves (2,6,9,10).
Here is the code:
MyRadChart.DefaultView.ChartLegend.Visibility = Visibility.Collapsed; MyRadChart.DefaultView.ChartArea.AxisX.Title = "Visit"; var seriesMapping = new SeriesMapping { SeriesDefinition = new CandleStickSeriesDefinition() }; var itemMapping = new ItemMapping { DataPointMember = DataPointMember.Open, FieldName = "Q1Column" }; seriesMapping.ItemMappings.Add(itemMapping); itemMapping = new ItemMapping { DataPointMember = DataPointMember.High, FieldName = "MaxColumn" }; seriesMapping.ItemMappings.Add(itemMapping); itemMapping = new ItemMapping { DataPointMember = DataPointMember.Low, FieldName = "MinColumn" }; seriesMapping.ItemMappings.Add(itemMapping); itemMapping = new ItemMapping { DataPointMember = DataPointMember.Close, FieldName = "Q3Column" }; seriesMapping.ItemMappings.Add(itemMapping); MyRadChart.SeriesMappings.Add(seriesMapping);Any help is appreciated,
Thanks.