Methods

destroy ()

To destroy the bullet graph

  • ts
  • 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

  • ts
  • 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.

  • ts
  • 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.

  • ts
  • 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.

  • ts
  • onDrawCaption(sender){
         
         //Do something
    
    }
  • html
  • <ej-bulletgraph id="events" (drawCaption)="onDrawCaption($event)"> 
    </ej-bulletgraph>

    drawCategory

    Fires on rendering the category.

  • ts
  • onDrawCategory(sender){
         
         //Do something
    
    }
  • html
  • <ej-bulletgraph id="events" (drawCategory)="onDrawCategory($event)"> 
    </ej-bulletgraph>

    drawComparativeMeasureSymbol

    Fires on rendering the comparative measure symbol.

  • ts
  • onDrawComparativeMeasureSymbol(sender){
         
         //Do something
    
    }
  • html
  • <ej-bulletgraph id="events" (drawComparativeMeasureSymbol)="onDrawComparativeMeasureSymbol($event)"> 
    </ej-bulletgraph>

    drawFeatureMeasureBar

    Fires on rendering the feature measure bar.

  • ts
  • onDrawFeatureMeasureBar(sender){
         
         //Do something
    
    }
  • html
  • <ej-bulletgraph id="events" (drawFeatureMeasureBar)="onDrawFeatureMeasureBar($event)"> 
    </ej-bulletgraph>

    drawIndicator

    Fires on rendering the indicator of bullet graph.

  • ts
  • onDrawIndicator(sender){
         
         //Do something
    
    }
  • html
  • <ej-bulletgraph id="events" (drawIndicator)="onDrawIndicator($event)"> 
    </ej-bulletgraph>

    drawLabels

    Fires on rendering the labels.

  • ts
  • onDrawLabels(sender){
         
         //Do something
    
    }
  • html
  • <ej-bulletgraph id="events" (drawLabels)="onDrawLabels($event)"> 
    </ej-bulletgraph>

    drawQualitativeRanges

    Fires on rendering the qualitative ranges.

  • ts
  • onDrawQualitativeRanges(sender){
         
         //Do something
    
    }
  • html
  • <ej-bulletgraph id="events" (drawQualitativeRanges)="onDrawQualitativeRanges($event)"> 
    </ej-bulletgraph>

    load

    Fires on loading bullet graph.

  • ts
  • onLoad(sender){
         
         //Do something
    
    }
  • html
  • <ej-bulletgraph id="events" (load)="onLoad($event)"> 
    </ej-bulletgraph>