Thanks for your patience.
This is expected behavior. Let me try to explain. Basically, DateTimeContinuous axis calculates the bars' length based on the date time range and the major step, which can be calculated automatically or specified manually. By default, if the major step is not specified, the axis will try to come up with a step and unit that will allow your axis to show a reasonable amount of ticks (and labels). If the range and the step are such that there are many units between the start and end dates, the bars' length will be smaller. On the other hand, if there are not many units, the bar's length will be larger.
So in your case when the range of the axis is 1.5 hour the chart internally calculate the MajorStepUnit (Minute) and the MajorStep ( 1 ) which will lead to small length for the data items (bars) - the length of each bar will be 1 minute mapped to pixels.
If you know that the granularity for your data is an hour, you can adjust the length of the bars by specifying MajorStep
depending on the incoming data.
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin
, a suite of polished and feature-rich components for the Xamarin framework, which allow
you to write beautiful native mobile apps using a single shared C# codebase.