GraphNG: uPlot 1.6.2 (#30521)

This commit is contained in:
Leon Sorokin
2021-01-21 16:10:50 -06:00
committed by GitHub
parent 8bbc0e9936
commit 87ef5598e6
7 changed files with 16 additions and 28 deletions

View File

@ -118,7 +118,7 @@ export function alignDataFrames(frames: DataFrame[], fields?: XYFieldMatchers):
}
// do the actual alignment (outerJoin on the first arrays)
let { data: alignedData, isGap } = uPlot.join(valuesFromFrames, nullModes);
let alignedData = uPlot.join(valuesFromFrames, nullModes);
if (alignedData!.length !== sourceFields.length) {
throw new Error('outerJoinValues lost a field?');
@ -144,7 +144,6 @@ export function alignDataFrames(frames: DataFrame[], fields?: XYFieldMatchers):
};
}),
},
isGap,
getDataFrameFieldIndex: (alignedFieldIndex: number) => {
const index = sourceFieldsRefs[alignedFieldIndex];
if (!index) {