mirror of
https://github.com/grafana/grafana.git
synced 2025-01-07 22:53:56 -06:00
Testdata: use alias in streaming example (#45631)
This commit is contained in:
parent
024194dccd
commit
636af1fff4
@ -51,10 +51,9 @@ export function runSignalStream(
|
||||
|
||||
const schema: DataFrameSchema = {
|
||||
refId: target.refId,
|
||||
name: target.alias || 'Signal ' + target.refId,
|
||||
fields: [
|
||||
{ name: 'time', type: FieldType.time },
|
||||
{ name: 'value', type: FieldType.number },
|
||||
{ name: target.alias ?? 'value', type: FieldType.number },
|
||||
],
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user