MAIDR JavaScript API
    Preparing search index...
    • Builds the layers for one pie, funnel or gauge series.

      A pie and a funnel are one layer each; a gauge is one per pointer. ECharts draws a pointer for every entry in a gauge's data -- measured, a two-entry gauge reports count() === 2 and puts two needles on one dial -- and GaugePoint is a single reading, so two of them are two layers rather than one reading and one silently dropped. What that loses is that they share a dial; nothing in the grammar carries it, and both min and max come out the same on each, which is as close as it gets.

      Parameters

      • seriesModel: EChartsSeriesModel

        The series to read

      • eachMark: string[] | undefined

        One selector per mark of the series, when they were found

      • wholeSeries: string | undefined

        One selector naming the series' marks together

      Returns MaidrLayer[]

      The layers, empty when the series drew no reading