Hi,
Look the attatched solution, run it and maximize the form.
Note that the last point have hours=00:00
Now start to move horizontal zoom bar from left to rigth.
When a new X Axys label is added the last point hours is aprrox 12:00
If yor reduce more the zoom bar the points is allways in incorrect position.
Thank's marc.
Look the attatched solution, run it and maximize the form.
Note that the last point have hours=00:00
Now start to move horizontal zoom bar from left to rigth.
When a new X Axys label is added the last point hours is aprrox 12:00
If yor reduce more the zoom bar the points is allways in incorrect position.
Thank's marc.
<
telerik:RadCartesianChart
>
<
telerik:RadCartesianChart.HorizontalAxis
>
<
telerik:DateTimeContinuousAxis
MaximumTicks
=
"5"
PlotMode
=
"OnTicksPadded"
/>
</
telerik:RadCartesianChart.HorizontalAxis
>
<
telerik:RadCartesianChart.VerticalAxis
>
<
telerik:LinearAxis
/>
</
telerik:RadCartesianChart.VerticalAxis
>
<
telerik:LineSeries
Name
=
"mS"
>
</
telerik:LineSeries
>
<
telerik:RadCartesianChart.Behaviors
>
<
telerik:ChartPanAndZoomBehavior
/>
</
telerik:RadCartesianChart.Behaviors
>
</
telerik:RadCartesianChart
>
public
MainWindow()
{
InitializeComponent();
for
(
int
i = 0; i < 100;i++ )
mS.DataPoints.Add(
new
Telerik.Charting.CategoricalDataPoint() { Category = System.DateTime.Today.AddDays(i), Value = 5 });
}