MAIDR JavaScript API
    Preparing search index...
    • Builds the layer for one hierarchy series.

      The walk is the caller's rather than this function's, because the count check wants its length before the layer is built and walking twice doubles every allocation and every getValue() the walk makes -- see hierarchyNodes.

      Parameters

      • seriesModel: EChartsSeriesModel

        The series to read

      • points: TreemapPoint[]

        Its nodes, as hierarchyNodes walked them

      • selectors: string[] | undefined

        One selector per node in walk order, when the series is one whose marks can be paired with it

      Returns MaidrLayer | undefined

      The layer, or undefined when the series carries no nodes