Methods
destroy ()
To destroy the bullet graph
<div id="bullet1">
<ej-bulletgraph></ej-bulletgraph>
</div>
var bullet = $("#bullet1").data("ejBulletGraph");
bullet.destroy();
redraw()
To redraw the bullet graph
<div id="bullet1">
<ej-bulletgraph></ej-bulletgraph>
</div>
var bullet = $("#bullet1").data("ejBulletGraph");
bullet.redraw();
setComparativeMeasureSymbol()
To set the value for comparative measure in bullet graph.
<div id="bullet1">
<ej-bulletgraph></ej-bulletgraph>
</div>
var bullet = $("#bullet1").data("ejBulletGraph");
bullet.setComparativeMeasureSymbol();
setFeatureMeasureBarValue()
To set the value for feature measure bar.
<div id="bullet1">
<ej-bulletgraph></ej-bulletgraph>
</div>
var bullet = $("#bullet1").data("ejBulletGraph");
bullet.setFeatureMeasureBarValue();
Events
DrawCaption
Fires on rendering the caption of bullet graph.
<div ng-controller="angularBullet">
<div id="container" style="width: 100%" e-drawCaption="onDrawCaption"></div>
</div>
angular.controller('angularBullet', function ($scope) {
$scope.onDrawCaption = "DrawCaption";
});
function DrawCaption(){
// Do Something
}
DrawCategory
Fires on rendering the category.
<div ng-controller="angularBullet">
<div id="container" style="width: 100%" e-drawCategory="onDrawCategory"></div>
</div>
angular.controller('angularBullet', function ($scope) {
$scope.onDrawCategory = "DrawCategory";
});
function DrawCategory(){
// Do Something
}
DrawComparativeMeasureSymbol
Fires on rendering the comparative measure symbol.
<div ng-controller="angularBullet">
<div id="container" style="width: 100%" e-drawComparativeMeasureSymbol="onDrawComparativeMeasureSymbol"></div>
</div>
angular.controller('angularBullet', function ($scope) {
$scope.onDrawComparativeMeasureSymbol = "DrawComparativeMeasureSymbol";
});
function DrawComparativeMeasureSymbol(){
// Do Something
}
DrawFeatureMeasureBar
Fires on rendering the feature measure bar.
<div ng-controller="angularBullet">
<div id="container" style="width: 100%" e-drawFeatureMeasureBar="onDrawFeatureMeasureBar"></div>
</div>
angular.controller('angularBullet', function ($scope) {
$scope.onDrawFeatureMeasureBar = "DrawFeatureMeasureBar";
});
function DrawFeatureMeasureBar(){
// Do Something
}
DrawIndicator
Fires on rendering the indicator of bullet graph.
<div ng-controller="angularBullet">
<div id="container" style="width: 100%" e-drawIndicator="onDrawIndicator"></div>
</div>
angular.controller('angularBullet', function ($scope) {
$scope.onDrawIndicator = "DrawIndicator";
});
function DrawIndicator(){
// Do Something
}
DrawLabels
Fires on rendering the labels.
<div ng-controller="angularBullet">
<div id="container" style="width: 100%" e-drawLabels="onDrawLabels"></div>
</div>
angular.controller('angularBullet', function ($scope) {
$scope.onDrawLabels = "DrawLabels";
});
function onDrawLabels(){
// Do Something
}
DrawTicks
Fires on rendering the ticks.
<div ng-controller="angularBullet">
<div id="container" style="width: 100%" e-drawTicks="onDrawTicks"></div>
</div>
angular.controller('angularBullet', function ($scope) {
$scope.onDrawTicks = "DrawTicks";
});
function DrawTicks(){
// Do Something
}
DrawQualitativeRanges
Fires on rendering the qualitative ranges.
<div ng-controller="angularBullet">
<div id="container" style="width: 100%" e-drawQualitativeRanges="onDrawQualitativeRanges"></div>
</div>
angular.controller('angularBullet', function ($scope) {
$scope.onDrawQualitativeRanges = "DrawQualitativeRanges";
});
function DrawQualitativeRanges(){
// Do Something
}
Load
Fires on loading bullet graph.
<div ng-controller="angularBullet">
<div id="container" style="width: 100%" e-load="onLoad"></div>
</div>
angular.controller('angularBullet', function ($scope) {
$scope.onLoad = "Load";
});
function Load(){
// Do Something
}