File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -640,16 +640,9 @@ Dataviz.prototype.render = function(results = undefined){
640
640
return datavizInstance
641
641
. data ( results [ 0 ] )
642
642
. call ( ( ) => {
643
- const getLabel = ( input ) => {
644
- return `${ input . query . event_collection } ${ input . query . analysis_type } ` ;
645
- }
646
- let label = getLabel ( results [ 0 ] ) ;
647
- if ( datavizInstance . config . labelMapping [ label ] ) {
648
- label = datavizInstance . config . labelMapping [ label ] ;
649
- }
650
643
this . dataset . deleteColumn ( 1 ) ;
651
644
for ( let result of results ) {
652
- label = getLabel ( result ) ;
645
+ let label = ` ${ input . query . event_collection } ${ input . query . analysis_type } ` ;
653
646
let ds2 = Dataset . parser ( 'interval' ) ( result ) ;
654
647
datavizInstance . dataset . appendColumn ( label , ds2 . selectColumn ( 1 ) . slice ( 1 ) ) ;
655
648
}
You can’t perform that action at this time.
0 commit comments