xviz icon indicating copy to clipboard operation
xviz copied to clipboard

Support Arrays of data for time_series

Open twojtasz opened this issue 5 years ago • 2 comments

Issue https://github.com/uber/xviz/issues/417 wants to associate arrays & vectors of data with other streams. This is done currently with the id linking in the application, but we only support scalars in time_series

We should support arrays of values. Possibly even dictionary? not sure about this one.

twojtasz avatar Apr 03 '19 22:04 twojtasz

@jlisee will want your thoughts on this

twojtasz avatar Apr 03 '19 22:04 twojtasz

@twojtasz sorry for the late reply but the we already do this through variables. It would look like:

{
  "base": {
    "object_id": "foo"
  },
  "values": {
    "doubles": [1001.3, 1002.3, 1003.3]
  }
}

I will mention this on that issue as well.

Looking at the code the variable builder has needed method, but it's not in the docs yet:

https://github.com/uber/xviz/blob/d931a3993138be61df79ae551b9ab3ee9053e60c/modules/builder/src/builders/xviz-variable-builder.js#L53-L57

jlisee avatar Apr 21 '19 23:04 jlisee