DrawTriangle Method (6)¶
DrawTriangle (1 of 6)¶
Summary¶
Draws a triangle.
Signature¶
1 |
|
Parameters¶
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the triangle point 1 location on the X-axis. |
y1 | double | The Y-axis value of the triangle point 1 location. |
time2 | DateTime | The time value of the triangle point 2 location on the X-axis. |
y2 | double | The Y-axis value of the triangle point 2 location. |
time3 | DateTime | The time value of the triangle point 3 location on the X-axis. |
y3 | double | The Y-axis value of the triangle point 3 location. |
color | Color | The triangle line color. |
Return Value¶
ChartTriangle
Declaring Type¶
DrawTriangle (2 of 6)¶
Summary¶
Draws a triangle.
Signature¶
1 |
|
Parameters¶
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the triangle point 1 location on the X-axis. |
y1 | double | The Y-axis value of the triangle point 1 location. |
time2 | DateTime | The time value of the triangle point 2 location on the X-axis. |
y2 | double | The Y-axis value of the triangle point 2 location. |
time3 | DateTime | The time value of the triangle point 3 location on the X-axis. |
y3 | double | The Y-axis value of the triangle point 3 location. |
color | Color | The triangle line color. |
thickness | int | The triangle line thickness. |
Return Value¶
ChartTriangle
Declaring Type¶
DrawTriangle (3 of 6)¶
Summary¶
Draws a triangle.
Signature¶
1 |
|
Parameters¶
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
time1 | DateTime | The time value of the triangle point 1 location on the X-axis. |
y1 | double | The Y-axis value of the triangle point 1 location. |
time2 | DateTime | The time value of the triangle point 2 location on the X-axis. |
y2 | double | The Y-axis value of the triangle point 2 location. |
time3 | DateTime | The time value of the triangle point 3 location on the X-axis. |
y3 | double | The Y-axis value of the triangle point 3 location. |
color | Color | The triangle line color. |
thickness | int | The triangle line thickness. |
lineStyle | LineStyle | The triangle line style. |
Return Value¶
ChartTriangle
Declaring Type¶
DrawTriangle (4 of 6)¶
Summary¶
Draws a triangle.
Signature¶
1 |
|
Parameters¶
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the triangle point 1 location on the X-axis. |
y1 | double | The Y-axis value of the triangle point 1 location. |
barIndex2 | int | The bar index of the triangle point 2 location on the X-axis. |
y2 | double | The Y-axis value of the triangle point 2 location. |
barIndex3 | int | The bar index of the triangle point 3 location on the X-axis. |
y3 | double | The Y-axis value of the triangle point 3 location. |
color | Color | The triangle line color. |
Return Value¶
ChartTriangle
Declaring Type¶
DrawTriangle (5 of 6)¶
Summary¶
Draws a triangle.
Signature¶
1 |
|
Parameters¶
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the triangle point 1 location on the X-axis. |
y1 | double | The Y-axis value of the triangle point 1 location. |
barIndex2 | int | The bar index of the triangle point 2 location on the X-axis. |
y2 | double | The Y-axis value of the triangle point 2 location. |
barIndex3 | int | The bar index of the triangle point 3 location on the X-axis. |
y3 | double | The Y-axis value of the triangle point 3 location. |
color | Color | The triangle line color. |
thickness | int | The triangle line thickness. |
Return Value¶
ChartTriangle
Declaring Type¶
DrawTriangle (6 of 6)¶
Summary¶
Draws a triangle.
Signature¶
1 |
|
Parameters¶
Name | Type | Description |
---|---|---|
name | string | The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name. |
barIndex1 | int | The bar index of the triangle point 1 location on the X-axis. |
y1 | double | The Y-axis value of the triangle point 1 location. |
barIndex2 | int | The bar index of the triangle point 2 location on the X-axis. |
y2 | double | The Y-axis value of the triangle point 2 location. |
barIndex3 | int | The bar index of the triangle point 3 location on the X-axis. |
y3 | double | The Y-axis value of the triangle point 3 location. |
color | Color | The triangle line color. |
thickness | int | The triangle line thickness. |
lineStyle | LineStyle | The triangle line style. |
Return Value¶
ChartTriangle
Declaring Type¶
Last update: January 30, 2023