Open markusTh83 opened 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' ] }
{ group: 'metrics', name: 'metric', title: 'Metric (Colour Dimension)', min: 1, max: 2, aggFilter: ['count', 'sum', 'min', 'max', 'avg'], defaults: [ { type: 'count', schema: 'metric' } ] }
{ 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.
data.add({ id: counter++, x: x, y: y, z: z, style: w });
_.map()
Thank you in advance,
Markus
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