Methods

destroy ()

To destroy the bullet graph

  • cshtml
  • @(Html.EJ().BulletGraph("bullet1"))
  • js
  • var bullet = $("#bullet1").data("ejBulletGraph");
    bullet.destroy();

    redraw()

    To redraw the bullet graph

  • cshtml
  • @(Html.EJ().BulletGraph("bullet1"))
  • js
  • var bullet = $("#bullet1").data("ejBulletGraph");
    bullet.redraw();

    setComparativeMeasureSymbol()

    To set the value for comparative measure in bullet graph.

  • cshtml
  • @(Html.EJ().BulletGraph("bullet1"))
  • js
  • var bullet = $("#bullet1").data("ejBulletGraph");
    bullet.setComparativeMeasureSymbol();

    setFeatureMeasureBarValue()

    To set the value for feature measure bar.

  • cshtml
  • @(Html.EJ().BulletGraph("bullet1"))
  • js
  • var bullet = $("#bullet1").data("ejBulletGraph");
    bullet.setFeatureMeasureBarValue();

    Events

    DrawCaption

    Fires on rendering the caption of bullet graph.

  • cshtml
  • @(Html.EJ().BulletGraph("bullet1")
    
    .DrawCaption("drawCaption")
    
    )
  • js
  • function drawCaption(){
        // Do Something
    }

    DrawCategory

    Fires on rendering the category.

  • cshtml
  • @(Html.EJ().BulletGraph("bullet1")
    
    .DrawCategory("drawCategory")
    
    )
  • js
  • function drawCategory(){
        // Do Something
    }

    DrawComparativeMeasureSymbol

    Fires on rendering the comparative measure symbol.

  • cshtml
  • @(Html.EJ().BulletGraph("bullet1")
    
    .DrawComparativeMeasureSymbol("drawComparativeMeasureSymbol")
    
    )
  • js
  • function drawComparativeMeasureSymbol(){
        // Do Something
    }

    DrawFeatureMeasureBar

    Fires on rendering the feature measure bar.

  • cshtml
  • @(Html.EJ().BulletGraph("bullet1")
    
    .DrawFeatureMeasureBar("drawFeatureMeasureBar")
    
    )
  • js
  • function drawFeatureMeasureBar(){
        // Do Something
    }

    DrawIndicator

    Fires on rendering the indicator of bullet graph.

  • cshtml
  • @(Html.EJ().BulletGraph("bullet1")
    
    .DrawIndicator("drawIndicator")
    
    )
  • js
  • function drawIndicator(){
        // Do Something
    }

    DrawLabels

    Fires on rendering the labels.

  • cshtml
  • @(Html.EJ().BulletGraph("bullet1")
    
    .DrawLabels("drawLabels")
    
    )
  • js
  • function drawLabels(){
        // Do Something
    }

    DrawTicks

    Fires on rendering the ticks.

  • cshtml
  • @(Html.EJ().BulletGraph("bullet1")
    
    .DrawTicks("drawTicks")
    
    )
  • js
  • function drawTicks(){
        // Do Something
    }

    DrawQualitativeRanges

  • cshtml
  • @(Html.EJ().BulletGraph("bullet1")
    
    .DrawQualitativeRanges("drawQualitativeRanges")
    
    )
  • js
  • function drawQualitativeRanges(){
        // Do Something
    }

    Load

    Fires on loading bullet graph.

  • cshtml
  • @(Html.EJ().BulletGraph("bullet1")
    
    .Load("load")
    
    )
  • js
  • function load(){
        // Do Something
    }

    Click

    Click event fires on clicking the bullet graph.

  • cshtml
  • @(Html.EJ().BulletGraph("bullet1")
    
    .Click("click")
    
    )
  • js
  • function click(){
        // Do Something
    }

    DoubleClick

    DoubleClick event fires on double clicking the bullet graph.

  • cshtml
  • @(Html.EJ().BulletGraph("bullet1")
    
    .DoubleClick("doubleClick")
    
    )
  • js
  • function doubleClick(){
        // Do Something
    }

    RightClick

    RightClick event fires on right clicking the bullet graph.

  • cshtml
  • @(Html.EJ().BulletGraph("bullet1")
    
    .RightClick("rightClick")
    
    )
  • js
  • function rightClick(){
        // Do Something
    }