Adds a new quantity to the series with the provided date interval.
- iOS 13.0+
- Mac Catalyst 13.0+
- watchOS 6.0+
The quantity to insert.
The date interval associated with the quantity. If the interval’s
startparameter is the same as the start date for a previously provided quantity, this quantity replaces the previous one.
Use this method to add a quantity to the series. The quantity must have a unit that is compatible with the series builder’s quantity type (see