apply Custom Trend Period

fun applyCustomTrendPeriod(allowedPeriod: String, onApply: () -> Unit)

Method used to select the selected custom range dates

Parameters

allowedPeriod

The maximum allowed period

onApply

The callback to invoke when the user selected the custom range