축에서 기준선(plotLine)을 제거합니다. 속성에서도 함께 제거됩니다. 차트가 그려지기 전(
draw()호출 전)에 호출하면-1을 반환합니다.
{ibchart}.removePlotLine(axisType, id, [index]);
| Name | Type | Required | Description |
|---|---|---|---|
axisType |
string |
필수 | 축 종류 (xAxis, yAxis) |
id |
string |
필수 | 제거할 기준선의 id addPlotLine이 반환한 id 또는 직접 지정한 line.id (예: "goal", "ib-plotLines-1"). |
index |
number |
선택(0) | 축 인덱스 |
boolean 성공 시 true, 실패 시 -1
myChart.removePlotLine("yAxis", "goal");
| version | desc |
|---|---|
| 7.3.1.32 |