I am using the RadCartesianChart control to draw a daily timeline the xaml for which looks like:
<chart:RadCartesianChart Name="radChart" Zoom="1,1" MaxZoom="20,1" Height="80" Margin="0,20">
<chart:RadCartesianChart.Grid>
<chart:CartesianChartGrid MajorLinesVisibility="X" Style="{StaticResource gridStyleDashed}"/>
</chart:RadCartesianChart.Grid>
<chart:RadCartesianChart.Behaviors>
<chart:ChartPanAndZoomBehavior ZoomMode="Horizontal" PanMode="Horizontal"/>
</chart:RadCartesianChart.Behaviors>
<chart:RadCartesianChart.HorizontalAxis>
<chart:DateTimeContinuousAxis MajorStep="3"
MajorStepUnit="Hour"
LabelFormat="HH:mm"
PlotMode="OnTicks"
Style="{StaticResource timeLineAxisStyleWithTicks}">
<chart:DateTimeContinuousAxis.LabelStyle>
<Style TargetType="TextBlock" BasedOn="{StaticResource textBlockStyle}">
<Setter Property="Width" Value="50"/>
</Style>
</chart:DateTimeContinuousAxis.LabelStyle>
</chart:DateTimeContinuousAxis>
</chart:RadCartesianChart.HorizontalAxis>
<chart:RadCartesianChart.VerticalAxis>
<chart:LinearAxis Minimum="0"
Maximum="10"
LineStroke="Transparent"
ShowLabels="False"
Style="{StaticResource linearAxisStyle}"/>
</chart:RadCartesianChart.VerticalAxis>
</chart:RadCartesianChart>
Also I have code behind that creates the barseries and adds the datapoints progrmatically. I am to generate a timeline which look like the image attached.
I want to use the same concept to create weekly timelines where the granularity if by day but within the day the granularity is in minutes. Can you provide some guidance on how to achieve this. So basically I want to repeated daily timelines like the one I have attached but for a week, but compacted since I want to view the whole week.
Thanks,
Piali