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>