Class DrawShape
The DrawShape class can be used to set shape to particular custom point on the chart area.
Inheritance
Inherited Members
Namespace: Syncfusion.Windows.Forms.Chart
Assembly: Syncfusion.Chart.Base.dll
Syntax
public class DrawShape
Constructors
DrawShape()
Initializes a new instance of the DrawShape class.
Declaration
public DrawShape()
Properties
Border
Gets or sets border to the custom shape.
Declaration
public ChartLineInfo Border { get; set; }
Property Value
Type |
---|
ChartLineInfo |
Color
Gets or sets background color to the Shape. Default color is "White"
Declaration
public Color Color { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Font
Gets or sets the font of the text.
Declaration
public ChartFontInfo Font { get; set; }
Property Value
Type |
---|
ChartFontInfo |
Position
Gets or sets the position of the shape in relation to the point.
Declaration
public ChartTextOrientation Position { get; set; }
Property Value
Type |
---|
ChartTextOrientation |
Size
Gets or sets size to the Shape to draw around the custom points Default Size is (50, 50)
Declaration
public Size Size { get; set; }
Property Value
Type |
---|
System.Drawing.Size |
Text
Gets or sets the text of the custom point.
Declaration
public string Text { get; set; }
Property Value
Type |
---|
System.String |
TextColor
Gets or sets text color to the custom shape. Default color is "White"
Declaration
public Color TextColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Type
Gets or sets the style of the shape that is to be displayed. Default shape is Square. It will support the limitted shape(Square, Circle, Hexagon, Pentagon) draw around the custom point
Declaration
public ChartCustomShape Type { get; set; }
Property Value
Type |
---|
ChartCustomShape |
Methods
Dispose()
Method to dispose DrawShape object.
Declaration
public void Dispose()