DrawRectangle


Summary

Draws a rectangle.

Syntax

public ChartRectangle DrawRectangle(string name, DateTime time1, double y1, DateTime time2, double y2, Color color)
public ChartRectangle DrawRectangle(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness)
public ChartRectangle DrawRectangle(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness, LineStyle lineStyle)
public ChartRectangle DrawRectangle(string name, int barIndex1, double y1, int barIndex2, double y2, Color color)
public ChartRectangle DrawRectangle(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness)
public ChartRectangle DrawRectangle(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness, LineStyle lineStyle)

Parameters

NameDescription