@rekurt/openkline - v0.2.0
    Preparing search index...

    Function resolutionToDateResolution

    • Map a chart resolution string ('1m', '1H', '1D', '1W', '1M') to a DateResolution bucket. Weekly/monthly → month (date + year), daily → day (day + month), everything else (intraday) → intraday. Mirrors the branch structure of the default formatTime.

      Parameters

      • resolution: string

      Returns DateResolution