I have a chart with several data series (types BarSeriesDefinition and StepLineSeriesDefinition, see attachment). The x-axis holds discrete DateTime values in a monthly interval.
I have the following issue:
The step line data points are located in the centre of the x-axis data points (e.g. the red step line changes its y-axis value for february at the position of the blue bar, which is in the centre of the x-axis data point.).
I need the step line data points to be located at the beginning of the x-axis data points instead of the centre.
I create the data series dynamically in code behind, simplified e.g:
Is there a solution for this problem (I am quite new to wpf and telerik)?
Thanx for ur help
Johannes
I have the following issue:
The step line data points are located in the centre of the x-axis data points (e.g. the red step line changes its y-axis value for february at the position of the blue bar, which is in the centre of the x-axis data point.).
I need the step line data points to be located at the beginning of the x-axis data points instead of the centre.
I create the data series dynamically in code behind, simplified e.g:
// Create mapping. SeriesMapping newMapping = new SeriesMapping(); // Create series definition. StepLineSeriesDefinition series = new StepLineSeriesDefinition(); newMapping.SeriesDefinition = series; newMapping.ItemsSource = items; newMapping.ItemMappings.Add(new ItemMapping(xAxisCategoryKey, DataPointMember.XCategory)); newMapping.ItemMappings.Add(new ItemMapping(yAxisKey, DataPointMember.YValue)); // Add mapping to chart. this._radChart.SeriesMappings.Add(newMapping);Is there a solution for this problem (I am quite new to wpf and telerik)?
Thanx for ur help
Johannes
