We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Problem with DateTimeAxis.IntervalType = DateTimeIntervalType.Months

Thread ID:





125006 Jul 14,2016 04:27 AM UTC Jul 18,2016 01:36 PM UTC Xamarin.Forms 1
Tags: SfChart
Asked On July 14, 2016 04:27 AM UTC

I has an ObservableCollection<BarItem> where BarItem is 
        public class BarModel
            public DateTime Date { get; set; }
            public double Actual { get; set; }
            public double Estimated { get; set; }

And I display it with the following Xaml

                <chart:SfChart x:Name="Chart" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand">

                    <chart:DateTimeAxis Minimum="{Binding Start}" Maximum="{Binding End}"  IntervalType="Months" >
                        <chart:ChartAxisLabelStyle LabelFormat = "dd MMM"></chart:ChartAxisLabelStyle>

                    <chart:NumericalAxis Maximum="100.0" Minimum="0" Interval="10.0">

                    <chart:ColumnSeries ItemsSource="{Binding Bars}" XBindingPath="Date" YBindingPath="Actual" Color="Red" LegendIcon="None" />
                    <chart:ColumnSeries ItemsSource="{Binding Bars}" XBindingPath="Date" YBindingPath="Estimated" Color="Blue" LegendIcon="None" />


My problem is the interval type property
When it is set to Days, it works fine, when it is set to month (i.e. IntervalType="Months" ) no bar is displayed at all?!

What am I missing? any tips?

Yuvaraj Palanisamy [Syncfusion]
Replied On July 18, 2016 01:36 PM UTC

Hi Lloyd,
Thanks for contacting Syncfusion Support
We are not able to reproduce the issue and we have prepared a sample for your reference.  Please update us the modified  sample for further assistance on this.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon