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