alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class ChartLayoutImpl

    Class used for setting chart elements layout

    Inheritance
    object
    CommonObject
    ChartLayoutImpl
    Implements
    IDisposable
    IChartLayout
    IParentApplication
    Inherited Members
    CommonObject.AddReference()
    CommonObject.AppImplementation
    CommonObject.Application
    CommonObject.CheckDisposed()
    CommonObject.Dispose()
    CommonObject.FindParent(object, Type)
    CommonObject.FindParent(object, Type, bool)
    CommonObject.FindParent(Type)
    CommonObject.FindParent(Type, bool)
    CommonObject.FindParent(Type[])
    CommonObject.FindParents(Type[])
    CommonObject.m_bIsDisposed
    CommonObject.OnDispose()
    CommonObject.ReferenceCount
    CommonObject.ReleaseReference()
    CommonObject.SetParent(object)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.XlsIO.Implementation.Charts
    Assembly: Syncfusion.XlsIO.NET.dll
    Syntax
    public class ChartLayoutImpl : CommonObject, IDisposable, IChartLayout, IParentApplication

    Constructors

    ChartLayoutImpl(IApplication, object, bool)

    Creates chart and sets its Application and Parent properties to specified values.

    Declaration
    public ChartLayoutImpl(IApplication application, object parent, bool bSetDefaults)
    Parameters
    Type Name Description
    IApplication application

    Application object for the chart.

    object parent

    Parent object for the chart.

    bool bSetDefaults

    Indicates whether we should set defaults for fill and border properties.

    ChartLayoutImpl(IApplication, object, bool, bool, bool)

    Creates chart and sets its Application and Parent properties to specified values.

    Declaration
    public ChartLayoutImpl(IApplication application, object parent, bool bAutoSize, bool bIsInteriorGrey, bool bSetDefaults)
    Parameters
    Type Name Description
    IApplication application

    Application object for the chart.

    object parent

    Parent object for the chart.

    bool bAutoSize

    Indicates is auto size.

    bool bIsInteriorGrey

    Indicates is interior is gray.

    bool bSetDefaults

    Indicates whether we should set defaults for fill and border properties.

    ChartLayoutImpl(IApplication, object, IList<BiffRecordRaw>, ref int)

    Creates and parses current object.

    Declaration
    public ChartLayoutImpl(IApplication application, object parent, IList<BiffRecordRaw> data, ref int iPos)
    Parameters
    Type Name Description
    IApplication application

    Application object for the chart.

    object parent

    Parent object for the chart.

    IList<BiffRecordRaw> data

    Records storage.

    int iPos

    Position in storage.

    ChartLayoutImpl(IApplication, object, object)

    Creates chart and sets its Application and Parent properties to specified values.

    Declaration
    public ChartLayoutImpl(IApplication application, object parent, object chartObject)
    Parameters
    Type Name Description
    IApplication application

    Application object for the chart.

    object parent

    Parent object for the chart.

    object chartObject

    Fields

    m_Parent

    Parent object

    Declaration
    protected object m_Parent
    Field Value
    Type
    object

    m_book

    Parent chart.

    Declaration
    protected ChartImpl m_book
    Field Value
    Type
    ChartImpl

    m_chart

    Chart interface

    Declaration
    protected IChart m_chart
    Field Value
    Type
    IChart

    m_chartShape

    ChartShape interface

    Declaration
    protected IShape m_chartShape
    Field Value
    Type
    IShape

    m_manualLayout

    Manual layout

    Declaration
    protected IChartManualLayout m_manualLayout
    Field Value
    Type
    IChartManualLayout

    Properties

    Height

    Gets or sets the height/bottom of the chart element as a fraction of height of the chart, based on HeightMode.

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

    HeightMode

    Gets or sets a value indicating how to interpret the Height of this manual layout.

    Declaration
    public LayoutModes HeightMode { get; set; }
    Property Value
    Type
    LayoutModes

    LayoutTarget

    Gets or sets the layout target for the plot area.

    Declaration
    public LayoutTargets LayoutTarget { get; set; }
    Property Value
    Type
    LayoutTargets
    Remarks

    This property is not applicable to axis titles and chart titles. It is only applicable for the legend, data labels, and plot area.

    Left

    Gets or sets the left (x location) of the chart element as a fraction of width of the chart.

    Declaration
    public double Left { get; set; }
    Property Value
    Type
    double
    Remarks

    If LeftMode is factor, then the position is relative to the default position for the chart element.

    LeftMode

    Gets or sets a value indicating how to interpret the Left of this manual layout.

    Declaration
    public LayoutModes LeftMode { get; set; }
    Property Value
    Type
    LayoutModes

    ManualLayout

    Gets or sets manual layout options for the chart element.

    Declaration
    public IChartManualLayout ManualLayout { get; set; }
    Property Value
    Type
    IChartManualLayout

    Parent

    Return the parent object. Read-only.

    Declaration
    public object Parent { get; }
    Property Value
    Type
    object

    Top

    Gets or sets the top of the chart element as a fraction of height of the chart.

    Declaration
    public double Top { get; set; }
    Property Value
    Type
    double
    Remarks

    If TopMode is factor, then the position is relative to the default position for the chart element.

    TopMode

    Gets or sets a value indicating how to interpret the Top of this manual layout.

    Declaration
    public LayoutModes TopMode { get; set; }
    Property Value
    Type
    LayoutModes

    Width

    Gets or sets the width/right of the chart element as a fraction of width of the chart, based on WidthMode.

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

    WidthMode

    Gets or sets a value indicating how to interpret the Width of this manual layout.

    Declaration
    public LayoutModes WidthMode { get; set; }
    Property Value
    Type
    LayoutModes

    Workbook

    Returns parent workbook. Read-only.

    Declaration
    public WorkbookImpl Workbook { get; }
    Property Value
    Type
    WorkbookImpl

    Methods

    CheckBegin(BiffRecordRaw)

    Checks whether specified record is begin.

    Declaration
    [CLSCompliant(false)]
    protected virtual bool CheckBegin(BiffRecordRaw record)
    Parameters
    Type Name Description
    BiffRecordRaw record

    Record to check.

    Returns
    Type Description
    bool

    True if this is begin; false otherwise.

    Parse(IList<BiffRecordRaw>, ref int)

    Parses frame.

    Declaration
    [CLSCompliant(false)]
    public void Parse(IList<BiffRecordRaw> data, ref int iPos)
    Parameters
    Type Name Description
    IList<BiffRecordRaw> data

    Array with frame records.

    int iPos

    Position of the frame records.

    ParseRecord(BiffRecordRaw, ref int)

    Parses single record.

    Declaration
    [CLSCompliant(false)]
    protected virtual void ParseRecord(BiffRecordRaw record, ref int iBeginCounter)
    Parameters
    Type Name Description
    BiffRecordRaw record

    Record to parse.

    int iBeginCounter

    Number of not closed begin record.

    Serialize(IList<IBiffStorage>)

    Saves chart frame as biff records.

    Declaration
    [CLSCompliant(false)]
    public void Serialize(IList<IBiffStorage> records)
    Parameters
    Type Name Description
    IList<IBiffStorage> records

    OffsetArrayList that will get biff records.

    SerializeRecord(IList<IBiffStorage>, BiffRecordRaw)

    Serializes single record.

    Declaration
    [CLSCompliant(false)]
    protected virtual void SerializeRecord(IList<IBiffStorage> list, BiffRecordRaw record)
    Parameters
    Type Name Description
    IList<IBiffStorage> list

    OffsetArrayList that will get biff records.

    BiffRecordRaw record

    Record to serialize.

    SetDefaultValues()

    Set variable to the default state.

    Declaration
    public void SetDefaultValues()

    UnwrapRecord(BiffRecordRaw)

    Unwraps record.

    Declaration
    [CLSCompliant(false)]
    protected virtual BiffRecordRaw UnwrapRecord(BiffRecordRaw record)
    Parameters
    Type Name Description
    BiffRecordRaw record

    Record to unwrap.

    Returns
    Type Description
    BiffRecordRaw

    Unwrapped record.

    Implements

    IDisposable
    IChartLayout
    IParentApplication
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved