Extract a finite numeric value from a heterogeneous Chart.js dataset entry.
Chart.js uses null (and NaN, via the spanGaps feature) as the
documented missing-data marker. Rather than fabricate a 0 (which would be
announced and sonified as real data) or pass NaN through (which poisons the
model's min/max and silences audio for the whole trace), gaps are reported as
null so callers can skip them and keep the accessible channels truthful.
Extract a finite numeric value from a heterogeneous Chart.js dataset entry.
Chart.js uses
null(andNaN, via thespanGapsfeature) as the documented missing-data marker. Rather than fabricate a0(which would be announced and sonified as real data) or passNaNthrough (which poisons the model's min/max and silences audio for the whole trace), gaps are reported asnullso callers can skip them and keep the accessible channels truthful.