QdtCurrentSelections: Show Current Selections Bar
Show all current selections with a Qlik-style bar.
prop
type
description
height
String
40px
var options = {
config : { /* host, port, appid, etc. */ } ,
connections : { /* vizApi, engineAPI */ }
}
var qdtComponents = new QdtComponents ( options . config , options . connections ) ;
var element = document . getElementById ( 'qdt1' ) ;
qdtComponents . render (
"QdtCurrentSelections" ,
{
height : '40px'
} ,
element
) ;
< QdtComponent
type = "QdtCurrentSelections"
props = { {
height : '40px'
} }
/>
// current-selections.component.ts
import { Component , OnInit , ElementRef } from '@angular/core' ;
@Component ( {
selector : 'current-selections' ,
templateUrl : './current-selections.component.html' ,
} )
export class CurrentSelectionsComponent implements OnInit {
constructor ( private el : ElementRef ) { }
chart_options = {
type : 'QdtCurrentSelections' ,
props : {
height : '40px' ,
} ,
} ;
ngOnInit ( ) {
}
}
<!-- html -->
< current-selections [Component] ="chart_options.type " [props] ="chart_options.props "> </ current-selections >
← Back to All Components