MAIDR JavaScript API
    Preparing search index...

    Function timeAxisFormat

    • The axis format that announces a time scale's timestamps as dates — with the time of day when any of them has one — in the zone Nivo placed them in.

      Parameters

      • scale: TimeScaleSpec

        The scale prop

      • times: readonly number[]

        The timestamps the axis carries

      Returns { type: "date"; dateOptions: DateTimeFormatOptions }

      The axis format