[]
        
(Showing Draft Content)

C1.Win.C1ChartBase.baseChartStyle

baseChartStyle Class

Base chart style class.

Inheritance
baseChartStyle
Namespace: C1.Win.C1ChartBase
Assembly: C1.Win.C1Chart.4.8.dll
Syntax
[TypeConverter(typeof(c1ChartTypeConverter))]
public class baseChartStyle

Properties

Name Description
Autowrap

Gets or sets whether text automatically wraps.

BackColor

Gets or sets the background color.

BackColor2

Gets or sets the gradient or hatch background.

Border

Gets the border object.

Font

Gets or sets the font.

ForeColor

Gets or sets the text color.

Image

Gets or sets the title image.

Opaque

Gets or sets the opaqueness of the background.

VerticalText

Gets or sets whether text is displayed vertically. For Western character sets, vertical text is similar to a 90 degree clockwise rotation. For Asian character sets, characters are placed vertically from top to bottom instead of right to left.

Methods

Name Description
Draw(Graphics, Rectangle, string, Image)

Draws the content at the specified location and with the specified size.

Draw(Graphics, Rectangle, string, Image, double)

Draws the content at the specified location and with the specified size.

Draw(Graphics, Rectangle, string, Image, double, PointF)

Draws the content at the specified location and with the specified size.

DrawBorder(Graphics, Rectangle)

Draws the border.

DrawContent(Graphics, Rectangle, string, Image)

Draws the content at the specified location and with the specified size.

DrawNoBorder(Graphics, Rectangle, string, Image)

Draws the content without border at the specified location and with the specified size.

GetContentHeight(Graphics, int, string, Image)

Calculates the height of the content based on the specified width and style.

GetContentSize(Graphics, Size, string, Image)

Calculates the new size of the content based on the specified width and style.

GetContentSize(Graphics, SizeF, string, Image)

Calculates the new size of the content based on the specified width and style.

GetContentWidth(Graphics, int, string, Image)

Calculates the width of the content based on the specified height and style.

GetHeight(Graphics, int, string, Image)

Calculates the height of the content based on the specified width and style.

GetInnermostRect(Rectangle)

Calculates the inside area of a rectangle excluding margins, border, and padding.

GetSize(Graphics, Size, string, Image)

Calculates the new size of the content based on the specified width and style.

GetSize(Graphics, SizeF, string, Image)

Calculates the new size of the content based on the specified size and style.

GetWidth(Graphics, int, string, Image)

Calculates the width of the content based on the specified height and style.

IsVertical()

Whether the element of the chart is vertically located.

setAsDefaultStyle()

Set current style as default style. Clear the default style before assignment.

setAsDefaultStyle(bool)

Set current style as default style.