The maxEvents property sets the maximum concurrent number of events displayed by the monthly calendar.
You can use an "Auto" value which will display all events or a number.
Available since version 2021.4.5142.
"Auto"
dp.maxEvents = 3;