Hello,
I have RadCartesianChart with DateTimeContinuousAxis and LinearAxis (DateTime vs double representation). And I want to to use KeepExtremesFunction, but exception occurs:
System.InvalidOperationException: 'No generic method 'KeepExtremes' on type 'Telerik.Windows.Controls.ChartView.ChartSamplingFunctions' is compatible with the supplied type arguments and arguments. No type arguments should be provided if the method is non-generic. '
Bay the way ChartMaxFunction, ChartMinFunction or MemberFirstFunction works fine.
public class LineSeriesEx : LineSeries
{
protected override ChartAggregateFunction GetCategoryAggregateFunction()
{
return new KeepExtremesFunction();
}
}