I have the WPF:
Instead of the Value for the Label I would like to format the seconds in the HH:mm:ss format! See the image attached!
Excepted result:
120s => 00:02:00
<telerik:RadChart x:Name="reasonChart" ItemsSource="{Binding ReasonChart, Mode=TwoWay}"> <telerik:RadChart.SeriesMappings> <telerik:SeriesMapping LegendLabel="Devices"> <telerik:SeriesMapping.SeriesDefinition> <telerik:BarSeriesDefinition></telerik:BarSeriesDefinition> </telerik:SeriesMapping.SeriesDefinition> <telerik:SeriesMapping.ItemMappings> <telerik:ItemMapping DataPointMember="Label" FieldName="Value"></telerik:ItemMapping> <telerik:ItemMapping DataPointMember="YValue" FieldName="Value"></telerik:ItemMapping> <telerik:ItemMapping DataPointMember="XCategory" FieldName="Label"/> </telerik:SeriesMapping.ItemMappings> </telerik:SeriesMapping> </telerik:RadChart.SeriesMappings></telerik:RadChart>Instead of the Value for the Label I would like to format the seconds in the HH:mm:ss format! See the image attached!
Excepted result:
120s => 00:02:00