Interface IChartArea
The interface that the ChartArea type implements.
Assembly: Syncfusion.Chart.Base.dll
public interface IChartArea
Properties
Gets or sets the mode of drawing the edge labels.
Declaration
ChartSetMode AdjustPlotAreaMargins { get; set; }
Property Value
Gets or sets a value indicating whether area should scale automatically in 3D mode.
Declaration
bool AutoScale { get; set; }
Property Value
Type |
Description |
System.Boolean |
true if area should scale automatically; otherwise, false .
|
Collection of axes associated with this chart. You can add and remove axes from this collection.
Primary X and Y axes may not be removed.
Declaration
ChartAxisCollection Axes { get; }
Property Value
Gets or sets the ChartAxesInfoBar which displays the labels between the rectangular axes.
Declaration
ChartAxesInfoBar AxesInfoBar { get; }
Property Value
Gets or sets the spacing between different axes on the same side of the ChartArea. This spacing is useful when you display multiple
axes side by side.
Declaration
SizeF AxisSpacing { get; set; }
Property Value
Type |
System.Drawing.SizeF |
Gets or sets the image that is to be used as the background for this ChartArea.
Declaration
Image BackImage { get; set; }
Property Value
Type |
System.Drawing.Image |
Gets or sets the color with which the ChartArea is to be filled initially before any rendering takes place.
Declaration
BrushInfo BackInterior { get; set; }
Property Value
Gets or sets the border color of the rectangular area occupied by this ChartArea.
Declaration
Color BorderColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Returns the bounds associated with this ChartArea.
Declaration
Rectangle Bounds { get; set; }
Property Value
Type |
System.Drawing.Rectangle |
Returns the center point of this ChartArea.
Declaration
Property Value
Type |
System.Drawing.PointF |
Declaration
IChartAreaHost Chart { get; }
Property Value
Returns the margins that will be deduced from the rectangular area that represents the ChartArea.
Negative values are supported.
Declaration
ChartMargins ChartAreaMargins { get; set; }
Property Value
Gets or sets the ToolTip text associated with this ChartArea.
Declaration
string ChartAreaToolTip { get; set; }
Property Value
Returns the margins of ChartArea (excluding label width and height).
Declaration
ChartMargins ChartPlotAreaMargins { get; set; }
Property Value
Declaration
IList ChartRegions { get; }
Property Value
Type |
Description |
System.Collections.IList |
The chart regions.
|
Gets or sets the ClientRectangle associated with this ChartArea.
Declaration
Rectangle ClientRectangle { get; }
Property Value
Type |
System.Drawing.Rectangle |
Collection of custom points associated with this ChartArea. Custom points can be used to add labels to chart points.
Declaration
ChartCustomPointCollection CustomPoints { get; }
Property Value
Gets or sets the perception of depth that is to be used when the ChartArea is rendered in 3D.
Declaration
float Depth { get; set; }
Property Value
If set to true, the legend will show the series text (for Pie Chart).
Declaration
bool DivideArea { get; set; }
Property Value
Gets or sets the maximal value of full stracking charts.
Declaration
double FullStackMax { get; set; }
Property Value
Type |
Description |
System.Double |
The maximal value of full stracking charts.
|
Gets or sets the height of the rectangular area that is occupied by this ChartArea.
Declaration
Property Value
Gets the interactive cursors.
Declaration
ChartAreaCursorCollection InteractiveCursors { get; }
Property Value
Indicates to change the appearance of chart.
Declaration
bool LegacyAppearance { get; set; }
Property Value
Gets or sets the location of the rectangular area occupied by this ChartArea.
Declaration
Point Location { get; set; }
Property Value
Type |
System.Drawing.Point |
Gets or sets the minimum size of this ChartArea.
Declaration
SizeF MinSize { get; set; }
Property Value
Type |
System.Drawing.SizeF |
If set to true, multiple pie chart series will be rendered in the same chart area.
Declaration
bool MultiplePies { get; set; }
Property Value
Returns the X axis offset value used when rendering in 3D mode.
Declaration
Property Value
Returns the Y axis offset value used when rendering in 3D mode.
Declaration
Property Value
The primary X axis of Chart.
Declaration
ChartAxis PrimaryXAxis { get; }
Property Value
The primary Y axis of Chart.
Declaration
ChartAxis PrimaryYAxis { get; }
Property Value
Returns the radius of the Radar chart occupied by this ChartArea.
Declaration
Property Value
Indicates if the ChartArea is to be rendered in 3D. Default value is false.
Declaration
bool RealSeries3D { get; set; }
Property Value
Returns the actual rectangular bounds used for rendering.
Declaration
Rectangle RenderBounds { get; }
Property Value
Type |
System.Drawing.Rectangle |
Indicates if the ChartArea requires axes to be rendered (for the Chart types being rendered).
Declaration
bool RequireAxes { get; set; }
Property Value
Indicates if Chart requires Inverted Axes.
Declaration
bool RequireInvertedAxes { get; set; }
Property Value
Gets or sets the rotational angle that is to be used when the ChartArea is rendered in 3D.
Declaration
float Rotation { get; set; }
Property Value
Gets or sets a scale value in 3D mode.
Declaration
float Scale3DCoeficient { get; set; }
Property Value
Indicates if the ChartArea is to be rendered in 3D. Default value is false.
Declaration
bool Series3D { get; set; }
Property Value
Gets the series rendering parameters.
Declaration
ChartSeriesParameters SeriesParameters { get; }
Property Value
Gets the 3D mode settings.
Declaration
Graphics3DState Settings3D { get; }
Property Value
Gets or sets the size of the rectangular area occupied by the ChartArea.
Declaration
Property Value
Gets or sets the tilt that is to be used when the ChartArea is rendered in 3D.
Declaration
Property Value
Gets transformation for real 3d mode.
Declaration
Transform3D Transform3D { get; }
Property Value
Gets or sets the turn that is to be used when the ChartArea is rendered in Real 3D only.
Declaration
Property Value
Gets or sets whether client bounds of chart should be updated or not.
Declaration
bool UpdateClientBounds { get; set; }
Property Value
Gets or sets the width of the rectangular area occupied by this ChartArea.
Declaration
Property Value
Gets or sets the X axes layout mode.
Declaration
ChartAxesLayoutMode XAxesLayoutMode { get; set; }
Property Value
Gets or sets the Y axes layout mode.
Declaration
ChartAxesLayoutMode YAxesLayoutMode { get; set; }
Property Value
Methods
Calculates the size of ChartArea.
Declaration
void CalculateSizes(Rectangle rect)
Parameters
Type |
Name |
Description |
System.Drawing.Rectangle |
rect |
|
Declaration
Point CorrectionFrom(Point pt)
Parameters
Type |
Name |
Description |
System.Drawing.Point |
pt |
|
Returns
Type |
System.Drawing.Point |
Declaration
PointF CorrectionFrom(PointF pt)
Parameters
Type |
Name |
Description |
System.Drawing.PointF |
pt |
|
Returns
Type |
System.Drawing.PointF |
Declaration
Point CorrectionTo(Point pt)
Parameters
Type |
Name |
Description |
System.Drawing.Point |
pt |
|
Returns
Type |
System.Drawing.Point |
Declaration
PointF CorrectionTo(PointF pt)
Parameters
Type |
Name |
Description |
System.Drawing.PointF |
pt |
|
Returns
Type |
System.Drawing.PointF |
Declaration
void Draw(PaintEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.PaintEventArgs |
e |
|
Declaration
void Draw(PaintEventArgs e, ChartPaintFlags flags)
Parameters
Type |
Name |
Description |
System.Windows.Forms.PaintEventArgs |
e |
|
ChartPaintFlags |
flags |
|
Method used to draw the zooming area of Chart.
Declaration
void DrawZoomingRange(Graphics g)
Parameters
Type |
Name |
Description |
System.Drawing.Graphics |
g |
|
Gets the real point value at this chart point.
Declaration
Point GetPointByValue(ChartPoint cpt)
Parameters
Returns
Type |
System.Drawing.Point |
Returns the chartpoint value at this real point.
Declaration
ChartPoint GetValueByPoint(Point pt)
Parameters
Type |
Name |
Description |
System.Drawing.Point |
pt |
|
Returns
Returns the x axis of associated with this chartseries.
Declaration
ChartAxis GetXAxis(ChartSeries ser)
Parameters
Returns
Returns the y axis associated with this chartseries.
Declaration
ChartAxis GetYAxis(ChartSeries ser)
Parameters
Returns