Methods
destroy ()
To destroy the bullet graph
export class AppComponent {
destroy(){
this.bullet.widget.destroy();
}
// Create instance for bullet graph
@ViewChild('bullet1') bullet: EJComponents<any, any>;
}
redraw()
To redraw the bullet graph
export class AppComponent {
redraw(){
//Do something
this.bullet.widget.redraw();
}
// Create instance for bullet graph
@ViewChild('bullet1') bullet: EJComponents<any, any>;
}
setComparativeMeasureSymbol()
To set the value for comparative measure in bullet graph.
export class AppComponent {
setComparativeMeasureSymbol(){
//Do something
this.range.widget.setComparativeMeasureSymbol();
}
// Create instance for bullet graph
@ViewChild('bullet1') bullet: EJComponents<any, any>;
}
setFeatureMeasureBarValue()
To set the value for feature measure bar.
export class AppComponent {
setFeatureMeasureBarValue(){
//Do something
this.range.widget.setFeatureMeasureBarValue();
}
// Create instance for bullet graph
@ViewChild('bullet1') bullet: EJComponents<any, any>;
}
Events
drawCaption
Fires on rendering the caption of bullet graph.
onDrawCaption(sender){
//Do something
}
<ej-bulletgraph id="events" (drawCaption)="onDrawCaption($event)">
</ej-bulletgraph>
drawCategory
Fires on rendering the category.
onDrawCategory(sender){
//Do something
}
<ej-bulletgraph id="events" (drawCategory)="onDrawCategory($event)">
</ej-bulletgraph>
drawComparativeMeasureSymbol
Fires on rendering the comparative measure symbol.
onDrawComparativeMeasureSymbol(sender){
//Do something
}
<ej-bulletgraph id="events" (drawComparativeMeasureSymbol)="onDrawComparativeMeasureSymbol($event)">
</ej-bulletgraph>
drawFeatureMeasureBar
Fires on rendering the feature measure bar.
onDrawFeatureMeasureBar(sender){
//Do something
}
<ej-bulletgraph id="events" (drawFeatureMeasureBar)="onDrawFeatureMeasureBar($event)">
</ej-bulletgraph>
drawIndicator
Fires on rendering the indicator of bullet graph.
onDrawIndicator(sender){
//Do something
}
<ej-bulletgraph id="events" (drawIndicator)="onDrawIndicator($event)">
</ej-bulletgraph>
drawLabels
Fires on rendering the labels.
onDrawLabels(sender){
//Do something
}
<ej-bulletgraph id="events" (drawLabels)="onDrawLabels($event)">
</ej-bulletgraph>
drawQualitativeRanges
Fires on rendering the qualitative ranges.
onDrawQualitativeRanges(sender){
//Do something
}
<ej-bulletgraph id="events" (drawQualitativeRanges)="onDrawQualitativeRanges($event)">
</ej-bulletgraph>
load
Fires on loading bullet graph.
onLoad(sender){
//Do something
}
<ej-bulletgraph id="events" (load)="onLoad($event)">
</ej-bulletgraph>