Commit dba4942e by Leon Sorokin Committed by GitHub

GraphNG: fix spanGaps optimization in alignDataFrames(). see #30101. (#30118)

parent 5560be73
......@@ -69,12 +69,11 @@ export function alignDataFrames(frames: DataFrame[], fields?: XYFieldMatchers):
throw new Error('Only a single x field is supported');
}
let nullModesFrame: JoinNullMode[] = [];
let nullModesFrame: JoinNullMode[] = [0];
// Add the first X axis
if (!sourceFields.length) {
sourceFields.push(dims.x[0]);
nullModesFrame.push(0);
}
const alignedData: AlignedData = [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment