[]
        
(Showing Draft Content)

C1.Win.C1ChartBase.baseChartRect

baseChartRect Class

Provides base chart area properties and methods.

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

Constructors

Name Description
baseChartRect(baseChartStyle, iChartRect)

Creates a new instance of baseChartRect class.

Fields

Name Description
m_ChartStyle
m_compass
m_ignoreChanges
m_location
m_locationDefault
m_owner
m_rectMargin
m_rectMarginPercent
m_size
m_sizeDefault
m_sizeWithBorders
m_text
m_visible

Properties

Name Description
Location

Gets or sets the location of the element in chart control client coordinates.

LocationDefault

Gets or sets the default location of the element in chart control client coordinates.

Size

Gets or sets the size of the element in chart control client coordinates.

SizeDefault

Gets or sets the default size of the element.

Text

Gets or sets the element text.

Visible

Gets or sets the element visibility.

Methods

Name Description
ApplyMargins(ref Rectangle)

Calculates the margin rectangle of chart area.

GetContentHeight(Graphics, int)

Calculates the chart content height.

GetContentHeight(Graphics, int, string)

Calculates the chart content height.

GetContentPosition(Graphics, Rectangle)

Calculates the chart content position inside content rectangle area.

GetContentSize(Graphics, Size)

Calculates the chart content size.

GetContentSize(Graphics, Size, string)

Calculates the chart content size.

GetContentWidth(Graphics, int)

Calculates the chart content width.

GetContentWidth(Graphics, int, string)

Calculates the chart content width.

GetTextCompass()

Gets the general positioning of the chart element.

Invalidate()

Invalidates the entire surface of the chart area and causes to be redrawn.

Invalidate(Rectangle)

Invalidates the specified region of the chart area and causes to be redrawn.

Events

Name Description
RectChanged

Fires when chart component rectangle value was changed.