mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 14:12:26 +08:00
This commit is contained in:
@ -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 = [
|
||||
|
Reference in New Issue
Block a user