MAIDR JavaScript API
    Preparing search index...

    Function measureVaries

    • Whether sorting by a measure would order anything: it needs at least two different known values. Betweenness on a graph of pairs, or children on a flat treemap, is the same for every object, and a sort by it would only repeat the chart's order under another name.

      Parameters

      • objects: readonly ChartObject[]

        Every object

      • measure: string

        The id of the measure

      Returns boolean

      True when the measure tells two objects apart