Custom footer on view

I need to add footers to my day and week view that simply show the total number of events that day. I don’t really know how to customize a view, so I was hoping to get pointed in the direction of how to add custom elements to the existing views.

Unfortunately I haven’t ready example how to implement this and it’s non-trivial functionality.

What you need to do is

  1. detect when scheduler layout is repainted
  2. create html elements and inject there total number of events of each day
  3. inject them into dom below scheduler

As an example you can use this snippet where clone of the top scale is added in a similar way.