JuanCarniglia / area3d_vis

3D Graph Visualization for Kibana 5
29 stars 8 forks source link

Extend visualization #7

Open markusTh83 opened 6 years ago

markusTh83 commented 6 years ago

Hi Juan,

at the moment I am trying to extend your visualization in the kind of a fourth Dimension which takes the colour. What I can do is to add a request for a fourth parameter:

{ group: 'metrics', name: 'metric', title: 'Metric (Colour Dimension)', min: 1, max: 2, aggFilter: ['count', 'sum', 'min', 'max', 'avg'], defaults: [ { type: 'count', schema: 'metric' } ] } and shift the z coordinate to a bucket: { group: 'buckets', name: 'split', title: 'Z Dimension', aggFilter: ['terms', 'significant_terms', 'filters', 'date_range', 'histogram', 'date_histogram', 'range' ] }

but what I can't do is to handle the request to work with that four parameters:

data.add({ id: counter++, x: x, y: y, z: z, style: w }); What my problem exactly is, is the _.map() function and the interleaved aggregation handling.

Thank you in advance,

Markus