removePlotBand (ChartObject method)

축에서 구간 강조 영역(plotBand)을 제거합니다. 속성에서도 함께 제거됩니다. 차트가 그려지기 전(draw() 호출 전)에 호출하면 -1을 반환합니다.

Syntax

{ibchart}.removePlotBand(axisType, id, [index]);

Parameters

Name Type Required Description
axisType string 필수 축 종류 (xAxis, yAxis)
id string 필수 제거할 영역의 id (addPlotBand의 반환값 또는 속성에 지정한 id)
index number 선택(0) 축 인덱스

Returns

boolean 성공 시 true, 실패 시 -1

Example

myChart.removePlotBand("xAxis", "band1");

참고

Since

version desc
7.3.1.32