Methods
destroy ()
To destroy the bullet graph
<div id="bullet"></div>
ReactDOM.render(
<EJ.BulletGraph id="bulletCore0"></EJ.BulletGraph>,
document.getElementById('bullet')
);
function BulletGraphMethod(){
var bulletObj = $("#bulletCore0").data("ejBulletGraph");
bulletObj.destroy();
};
redraw()
To redraw the bullet graph
<div id="bullet"></div>
ReactDOM.render(
<EJ.BulletGraph id="bulletCore0"></EJ.BulletGraph>,
document.getElementById('bullet')
);
function BulletGraphMethod(){
var bulletObj = $("#bulletCore0").data("ejBulletGraph");
bulletObj.redraw();
};
setComparativeMeasureSymbol()
To set the value for comparative measure in bullet graph.
<div id="bullet"></div>
ReactDOM.render(
<EJ.BulletGraph id="bulletCore0"></EJ.BulletGraph>,
document.getElementById('bullet')
);
function BulletGraphMethod(){
var bulletObj = $("#bulletCore0").data("ejBulletGraph");
bulletObj.setComparativeMeasureSymbol();
};
setFeatureMeasureBarValue()
To set the value for feature measure bar.
<div id="bullet"></div>
ReactDOM.render(
<EJ.BulletGraph id="bulletCore0"></EJ.BulletGraph>,
document.getElementById('bullet')
);
function BulletGraphMethod(){
var bulletObj = $("#bulletCore0").data("ejBulletGraph");
bulletObj.setFeatureMeasureBarValue();
};
Events
drawCaption
Fires on rendering the caption of bullet graph.
<div id="bullet"></div>
ReactDOM.render(
<EJ.BulletGraph id="bulletCore0"
drawCaption = {DrawCaption}
>
</EJ.BulletGraph>,
document.getElementById('bullet')
);
function DrawCaption(){
// Do Something
};
drawCategory
Fires on rendering the category.
<div id="bullet"></div>
ReactDOM.render(
<EJ.BulletGraph id="bulletCore0"
drawCategory = {DrawCategory}
>
</EJ.BulletGraph>,
document.getElementById('bullet')
);
function DrawCategory(){
// Do Something
};
drawComparativeMeasureSymbol
Fires on rendering the comparative measure symbol.
<div id="bullet"></div>
ReactDOM.render(
<EJ.BulletGraph id="bulletCore0"
drawComparativeMeasureSymbol = {DrawComparativeMeasureSymbol}
>
</EJ.BulletGraph>,
document.getElementById('bullet')
);
function DrawComparativeMeasureSymbol(){
// Do Something
};
drawFeatureMeasureBar
Fires on rendering the feature measure bar.
<div id="bullet"></div>
ReactDOM.render(
<EJ.BulletGraph id="bulletCore0"
drawFeatureMeasureBar = {DrawFeatureMeasureBar}
>
</EJ.BulletGraph>,
document.getElementById('bullet')
);
function DrawFeatureMeasureBar(){
// Do Something
};
drawIndicator
Fires on rendering the indicator of bullet graph.
<div id="bullet"></div>
ReactDOM.render(
<EJ.BulletGraph id="bulletCore0"
drawIndicator = {DrawIndicator}
>
</EJ.BulletGraph>,
document.getElementById('bullet')
);
function DrawIndicator(){
// Do Something
};
drawLabels
Fires on rendering the labels.
<div id="bullet"></div>
ReactDOM.render(
<EJ.BulletGraph id="bulletCore0"
drawLabels = {DrawLabels}
>
</EJ.BulletGraph>,
document.getElementById('bullet')
);
function drawLabels(){
// Do Something
};
drawQualitativeRanges
Fires on rendering the qualitative ranges.
<div id="bullet"></div>
ReactDOM.render(
<EJ.BulletGraph id="bulletCore0"
drawQualitativeRanges = {DrawQualitativeRanges}
>
</EJ.BulletGraph>,
document.getElementById('bullet')
);
function DrawQualitativeRanges(){
// Do Something
};
load
Fires on loading bullet graph.
<div id="bullet"></div>
ReactDOM.render(
<EJ.BulletGraph id="bulletCore0"
load = {load}
>
</EJ.BulletGraph>,
document.getElementById('bullet')
);
function load(){
// Do Something
};