How to use Label Formatter with DateTimeContinuousAxis ?
I've tried something like that :
<telerikChart:RadCartesianChart.HorizontalAxis>
<telerikChart:DateTimeContinuousAxis GapLength="0.5" LabelFormatter="{Binding DateLabelFormatter}" PlotMode="BetweenTicks" MajorStepUnit="Day" MajorStep="1" />
</telerikChart:RadCartesianChart.HorizontalAxis>
with my formatter just like that :
public class DateLabelFormatter : LabelFormatterBase<DateTime>
{
public override string FormatTypedValue(DateTime value)
{
DateTimeFormatInfo dateTimeFormats = new CultureInfo("fr-FR").DateTimeFormat;
return value.ToString("ddd", dateTimeFormats).ToUpper();
}
}
But nothing work, please I need some help ...