MAIDR Documentation - v4.4.0
    Preparing search index...
    • Read a cell as a finite number, or report that it is a gap.

      DataValue has no isNull flag: Tableau turns its special values into a null nativeValue. A gap is therefore null/undefined/NaN, and this returns null for all three. Callers must not substitute a zero — a zero is a value a chart drew, and inventing one puts a bar where the viz has none.

      A Date is deliberately not converted: its epoch milliseconds are not a number the chart drew. Use toDateValue for temporal cells.

      Parameters

      • value: TableauDataValue | undefined

        The cell, or undefined for an unmatched column.

      Returns number | null

      The number, or null for a gap.