mistercrunch opened a new pull request #6198: [deck] allow an array of dynamic 
of aggregations
URL: https://github.com/apache/incubator-superset/pull/6198
 
 
   Also used this JS snipped as the tooltip to validate:
   ```javascript
   g => {
       const acc = p => p.weight;
       return `
         <div>count: ${g.object.points.length}</div>
         <div>sum: ${d3array.sum(g.object.points, acc)}</div>
         <div>min: ${d3array.min(g.object.points, acc)}</div>
         <div>max: ${d3array.max(g.object.points, acc)}</div>
         <div>mean: ${d3array.mean(g.object.points, acc)}</div>
         <div>median: ${d3array.median(g.object.points, acc)}</div>
         <div>variance: ${d3array.variance(g.object.points, acc)}</div>
         <div>deviation: ${d3array.deviation(g.object.points, acc)}</div>
       `
   }
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to