🚩 DataPointFlags is used as a bit-field representing distinct boolean flags.
Provides additional metadata about data points, such as whether a value was actually recorded or if it represents a missing measurement.
// Check if a data point has a recorded valueconst hasValue = (dataPoint.flags & DataPointFlags.NO_RECORDED_VALUE_MASK) === 0;// Set flag for missing valueconst flagsWithMissingValue = DataPointFlags.NO_RECORDED_VALUE_MASK; Copy
// Check if a data point has a recorded valueconst hasValue = (dataPoint.flags & DataPointFlags.NO_RECORDED_VALUE_MASK) === 0;// Set flag for missing valueconst flagsWithMissingValue = DataPointFlags.NO_RECORDED_VALUE_MASK;
Default value - do not use
Indicates no value was recorded for this data point
🚩 DataPointFlags is used as a bit-field representing distinct boolean flags.
Provides additional metadata about data points, such as whether a value was actually recorded or if it represents a missing measurement.
Example