MAIDR JavaScript API
    Preparing search index...
    • The label and display parts every min/max target shares.

      name is the extremum in the reader's language, "Max Bar"; where is the position it sits at, as the point label reads it. label is the sentence joining the two, and display carries them apart: the Go To dialog composes its own line from the parts, so nothing has to find the position inside a sentence whose word order is the language's to decide.

      Parameters

      • name: string

        The extremum, translated

      • where: XValue

        The x value, or category, it is found at

      • Optionaly: XValue

        The row it is found on, for a cell in a grid

      Returns Pick<ExtremaTarget, "label" | "display">

      The label and display fields of the target