Skip to content

DrawEllipse Method (6)

DrawEllipse (1 of 6)

Summary

Draws an ellipse.

Signature

1
public abstract ChartEllipse DrawEllipse(string name, DateTime time1, double y1, DateTime time2, double y2, Color color)

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 ellipse point 1 location on the X-axis.
y1 double The Y-axis value of the ellipse point 1 location.
time2 DateTime The time value of the ellipse point 2 location on the X-axis.
y2 double The Y-axis value of the ellipse point 2 location.
color Color The ellipse line color.

Return Value

ChartEllipse

Declaring Type

cAlgo.API.ChartArea

DrawEllipse (2 of 6)

Summary

Draws an ellipse.

Signature

1
public abstract ChartEllipse DrawEllipse(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness)

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 ellipse point 1 location on the X-axis.
y1 double The Y-axis value of the ellipse point 1 location.
time2 DateTime The time value of the ellipse point 2 location on the X-axis.
y2 double The Y-axis value of the ellipse point 2 location.
color Color The ellipse line color.
thickness int The ellipse line thickness.

Return Value

ChartEllipse

Declaring Type

cAlgo.API.ChartArea

DrawEllipse (3 of 6)

Summary

Draws an ellipse.

Signature

1
public abstract ChartEllipse DrawEllipse(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness, LineStyle lineStyle)

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 ellipse point 1 location on the X-axis.
y1 double The Y-axis value of the ellipse point 1 location.
time2 DateTime The time value of the ellipse point 2 location on the X-axis.
y2 double The Y-axis value of the ellipse point 2 location.
color Color The ellipse line color.
thickness int The ellipse line thickness.
lineStyle LineStyle The ellipse line style.

Return Value

ChartEllipse

Declaring Type

cAlgo.API.ChartArea

DrawEllipse (4 of 6)

Summary

Draws an ellipse.

Signature

1
public abstract ChartEllipse DrawEllipse(string name, int barIndex1, double y1, int barIndex2, double y2, Color color)

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 ellipse point 1 location on the X-axis.
y1 double The Y-axis value of the ellipse point 1 location.
barIndex2 int The bar index of the ellipse point 2 location on the X-axis.
y2 double The Y-axis value of the ellipse point 2 location.
color Color The ellipse line color.

Return Value

ChartEllipse

Declaring Type

cAlgo.API.ChartArea

DrawEllipse (5 of 6)

Summary

Draws an ellipse.

Signature

1
public abstract ChartEllipse DrawEllipse(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness)

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 ellipse point 1 location on the X-axis.
y1 double The Y-axis value of the ellipse point 1 location.
barIndex2 int The bar index of the ellipse point 2 location on the X-axis.
y2 double The Y-axis value of the ellipse point 2 location.
color Color The ellipse line color.
thickness int The ellipse line thickness.

Return Value

ChartEllipse

Declaring Type

cAlgo.API.ChartArea

DrawEllipse (6 of 6)

Summary

Draws an ellipse.

Signature

1
public abstract ChartEllipse DrawEllipse(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness, LineStyle lineStyle)

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 ellipse point 1 location on the X-axis.
y1 double The Y-axis value of the ellipse point 1 location.
barIndex2 int The bar index of the ellipse point 2 location on the X-axis.
y2 double The Y-axis value of the ellipse point 2 location.
color Color The ellipse line color.
thickness int The ellipse line thickness.
lineStyle LineStyle The ellipse line style.

Return Value

ChartEllipse

Declaring Type

cAlgo.API.ChartArea


Last update: July 1, 2022

Comments