• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class PlotArea

Represents the plot area of a chart: the region that contains the data series, axes, and gridlines. Maps to the OOXML c:plotArea element.

Inheritance
object
ChartPart
PlotArea
Inherited Members
ChartPart.Fill
ChartPart.Border
ChartPart.Effects
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Presentation.Chart.Office
Assembly: DRIT.Presentation.dll
Syntax
public class PlotArea : ChartPart

Properties

HasManualLayout

Gets or sets whether the manual layout values (X, Y, Width, Height) should be written to the OOXML output. When false the application auto-layouts the plot area.

Declaration
public bool HasManualLayout { get; }
Property Value
Type Description
bool

Height

Gets or sets the manual height of the plot area as a fraction (0–1) of the chart height. null for automatic layout. Maps to c:h.

Declaration
public double? Height { get; set; }
Property Value
Type Description
double?

LayoutTargetType

Gets or sets whether the layout targets the region inside or outside the axes. Maps to c:layoutTarget.

Declaration
public LayoutTargetType LayoutTargetType { get; set; }
Property Value
Type Description
LayoutTargetType

Width

Gets or sets the manual width of the plot area as a fraction (0–1) of the chart width. null for automatic layout. Maps to c:w.

Declaration
public double? Width { get; set; }
Property Value
Type Description
double?

X

Gets or sets the manual X position of the plot area as a fraction (0–1) of the chart width. null lets the application calculate the position automatically. Maps to c:x.

Declaration
public double? X { get; set; }
Property Value
Type Description
double?

Y

Gets or sets the manual Y position of the plot area as a fraction (0–1) of the chart height. null for automatic layout. Maps to c:y.

Declaration
public double? Y { get; set; }
Property Value
Type Description
double?
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX