This question is locked. New answers and comments are not allowed.
Hi,
I'm implementing an application and I'd like to use a bar chart to show connexion on a website per day on the last week.
I need to bind my values from my model (Y axis), but also to bind the days that need to be displayed on the screen (X axis)
I can add my values that will be displayed in the chart.
I also can set my chart so that it only display the days from the past week.
However I don't know how to match my values ( = my bars) on a specific day (x axis).
Thanks for your replies,
Florent
I'm implementing an application and I'd like to use a bar chart to show connexion on a website per day on the last week.
I need to bind my values from my model (Y axis), but also to bind the days that need to be displayed on the screen (X axis)
I can add my values that will be displayed in the chart.
I also can set my chart so that it only display the days from the past week.
However I don't know how to match my values ( = my bars) on a specific day (x axis).
<telerik:RadChart.SeriesMappings> <telerikCharting:SeriesMapping ItemsSource="{Binding DailyValues, Mode=TwoWay}" > <telerikCharting:ItemMapping DataPointMember="YValue" /> </telerikCharting:SeriesMapping> <telerikCharting:SeriesMapping > <telerikCharting:ItemMapping DataPointMember="XCategory"/> </telerikCharting:SeriesMapping> </telerik:RadChart.SeriesMappings> <telerikChart:RadChart.DefaultView> <telerikCharting:ChartDefaultView > <telerikCharting:ChartDefaultView.ChartArea> <telerikCharting:ChartArea> <telerikCharting:ChartArea.AxisX> <telerikCharting:AxisX IsDateTime="True" DefaultLabelFormat="dd MMM" AutoRange="False" MinValue="{Binding MinDateTime}" MaxValue="{Binding MaxDateTime}" Step="1" LayoutMode="Between" Title="Jours"> </telerikCharting:AxisX> </telerikCharting:ChartArea.AxisX> <telerikCharting:ChartArea.AxisY> <telerikCharting:AxisY Title="Nombre d'appels"></telerikCharting:AxisY> </telerikCharting:ChartArea.AxisY> </telerikCharting:ChartArea> </telerikCharting:ChartDefaultView.ChartArea> </telerikCharting:ChartDefaultView> </telerikChart:RadChart.DefaultView> </telerikChart:RadChart>Thanks for your replies,
Florent