Schedule Appointment indicatiors not being displayed

I am testing out the SfSchedule control and I have been following the documentation. I am able to add appointments to my schedule but I can't seem to see the indicators when in month view.

I'm using a Xamarin Forms PCL and my current set up is:

XAML:
'<schedule:SfSchedule x:Name="schedule"
                                 ShowAppointmentsInline="True"
                                 ScheduleView="MonthView">
                <schedule:SfSchedule.MonthViewSettings>
                    <schedule:MonthViewSettings AppointmentIndicatorCount="6" />
                </schedule:SfSchedule.MonthViewSettings>
            </schedule:SfSchedule>'

code behind:
'void DummyData()
        {
            CustomAppointment app1 = new CustomAppointment
            {
                StartTime = new DateTime(2018, 2, 10, 20, 0, 0),
                EndTime = new DateTime(2018, 2, 10, 22, 0, 0),
                CustomID = "1234",
                Subject = "Test Subject 1",
                Color = Color.Green

            };

            CustomAppointment app2 = new CustomAppointment
            {
                StartTime = new DateTime(2018, 2, 10, 8, 0, 0),
                EndTime = new DateTime(2018, 2, 10, 10, 0, 0),
                CustomID = "5678",
                Subject = "Test Subject 2",
                Color = Color.Blue,
                Location = "Somewhere"
            };

            CustomAppointment app3 = new CustomAppointment
            {
                StartTime = new DateTime(2018, 2, 11, 20, 0, 0),
                EndTime = new DateTime(2018, 2, 12, 8, 0, 0),
                CustomID = "1029",
                Subject = "Test Subject 1",
                Color = Color.Red
            };

            appointmentCollection.Add(app1);
            appointmentCollection.Add(app2);
            appointmentCollection.Add(app3);

            schedule.DataSource = appointmentCollection;
        }'

CustomAppointment extends ScheduleAppointment and only has one additional property "CustomID".

I am able to select the date where I have assigned the appointment and then I can see the appointment but I can't see the indicators showing that an appointment exists. I have attached a screen shot of what I am seeing.


Attachment: Capture_16885cb3.zip

1 Reply

SP Subburaj Pandian Veluchamy Syncfusion Team February 13, 2018 09:14 AM UTC

Hi Alexander, 
  
Thank you for contacting Syncfusion support. 
  
Based on the provided information, we have checked and we are unable to replicate the reported issue "Schedule Month Appointment indicator is not visible" in Xamarin Forms. As in code example, we have prepared a sample with the latest update (15.4.0.20) please find the below sample. 
  
Sample link: MonthIndicator_Sample
 
  
Note: We have check the issue in both latest version (15.4.0.20 & 15.4.0.17) in Xamarin.Forms (Android and iOS). 
  
Could you please check the sample and if you face the same issue please revert to us with the sample with more details, it will be helpful for us to check on it and provide you the solution. 
  
Regards, 
Subburaj Pandian V 
 


Loader.
Up arrow icon