MAIDR Documentation - v4.4.0
    Preparing search index...
    • Each category's magnitudes as percentages of that category's total.

      Safe whichever way the values arrived, because it is idempotent in proportion: values already written as 25 and 75 come back as 25 and 75, only now pinned to a total of 100. An adapter therefore does not have to work out whether the chart library divided before it or not.

      Percentages rather than fractions, following the Highcharts adapter, which takes Highcharts' own point.percentage for this layer type.

      Parameters

      • values: number[][]

        Magnitudes as [series][category], aligned by index

      Returns number[][]

      The same shape, each category summing to 100