TimeseriesPanel: Preserve string fields for data link interpolation (#58424)

* TimeseriesPanel: Preserve string fields for data link interpolation

* clean code

* Modify tests so that string fields are allowed only when a valid time/number dataframe exists

* performance mods

* fix wrong length

* remove console.log

* Check if aligned dataframe has links
This commit is contained in:
Victor Marin
2022-11-24 14:44:32 +02:00
committed by GitHub
parent 1ee52e14d2
commit 0da77201bf
4 changed files with 66 additions and 12 deletions

View File

@@ -23,4 +23,8 @@ export class SortedVector<T = any> implements Vector<T> {
toJSON(): T[] {
return vectorToArray(this);
}
getOrderArray(): number[] {
return this.order;
}
}