removeBand() |
Top Previous Next |
removeBand( tagID )
Remove a specific band object originally drawn by addBand(). The object is identified by its tagID.
Parameters
Usage
function main() {
... ...
if ( getBarState() == BARSTATE_NEWBAR ) {
//remove a specific band object from the chart. We we originally //drew this band object, we gave it a tagID of 201 so that we //could identify it later. removeBand( 201 );
}
}
|