File Formats

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartDataPointsCollection

    Show / Hide Table of Contents

    Class ChartDataPointsCollection

    Represents a collection of data points in the series.

    Inheritance
    System.Object
    CommonObject
    ChartDataPointsCollection
    Implements
    System.IDisposable
    IChartDataPoints
    IParentApplication
    System.Collections.IEnumerable
    Inherited Members
    CommonObject.m_bIsDisposed
    CommonObject.FindParent(Type)
    CommonObject.FindParent(Type, Boolean)
    CommonObject.FindParent(Object, Type)
    CommonObject.FindParent(Object, Type, Boolean)
    CommonObject.FindParents(Type[])
    CommonObject.FindParent(Type[])
    CommonObject.SetParent(Object)
    CommonObject.CheckDisposed()
    CommonObject.AddReference()
    CommonObject.ReleaseReference()
    CommonObject.Dispose()
    CommonObject.Application
    CommonObject.Parent
    CommonObject.AppImplementation
    CommonObject.ReferenceCount
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.XlsIO.Implementation.Charts
    Assembly: Syncfusion.XlsIO.Base.dll
    Syntax
    public class ChartDataPointsCollection : CommonObject, IDisposable, IChartDataPoints, IParentApplication, IEnumerable

    Constructors

    ChartDataPointsCollection(IApplication, Object)

    Initializes new instance of the collection and sets its parent and application properties.

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

    Application object.

    System.Object parent

    Parent object.

    Properties

    DefaultDataPoint

    Gets the default data point. Read-only.

    Declaration
    public IChartDataPoint DefaultDataPoint { get; }
    Property Value
    Type Description
    IChartDataPoint

    DefPointFormatOrNull

    Gets default data format or null. Read-only.

    Declaration
    public ChartSerieDataFormatImpl DefPointFormatOrNull { get; }
    Property Value
    Type Description
    ChartSerieDataFormatImpl

    DeninedDPCount

    Returns number of defined (created) data points. Read-only.

    Declaration
    public int DeninedDPCount { get; }
    Property Value
    Type Description
    System.Int32

    IsLoading

    Indicates whether workbook is loading. Read-only.

    Declaration
    public bool IsLoading { get; }
    Property Value
    Type Description
    System.Boolean

    Item[Int32]

    Gets the data point with the specified index. Read-only.

    Declaration
    public IChartDataPoint this[int index] { get; }
    Parameters
    Type Name Description
    System.Int32 index
    Property Value
    Type Description
    IChartDataPoint

    Methods

    Add(ChartDataPointImpl)

    Adds new data point to the collection.

    Declaration
    public void Add(ChartDataPointImpl point)
    Parameters
    Type Name Description
    ChartDataPointImpl point

    Data point to add.

    Clear()

    Removes all elements from the collection.

    Declaration
    public void Clear()

    ClearDataFormats(ChartSerieDataFormatImpl)

    Clears all series data formats.

    Declaration
    public void ClearDataFormats(ChartSerieDataFormatImpl format)
    Parameters
    Type Name Description
    ChartSerieDataFormatImpl format

    Represents format to update.

    Clone(Object, WorkbookImpl, Dictionary<Int32, Int32>, Dictionary<String, String>)

    Creates a new object that is a copy of the current instance.

    Declaration
    public object Clone(object parent, WorkbookImpl book, Dictionary<int, int> dicFontIndexes, Dictionary<string, string> dicNewSheetNames)
    Parameters
    Type Name Description
    System.Object parent

    Parent object for the cloned object.

    WorkbookImpl book

    Parent workbook.

    System.Collections.Generic.Dictionary<System.Int32, System.Int32> dicFontIndexes

    Dictionary with new font indexes.

    System.Collections.Generic.Dictionary<System.String, System.String> dicNewSheetNames

    Dictionary with new worksheet names.

    Returns
    Type Description
    System.Object

    A new object that is a copy of this instance.

    GetEnumerator()

    Returns an enumerator that iterates through a collection.

    Declaration
    public IEnumerator GetEnumerator()
    Returns
    Type Description
    System.Collections.IEnumerator

    An IEnumerator object that can be used to iterate through the collection.

    OnDispose()

    This method is called during dispose operation.

    Declaration
    protected override void OnDispose()
    Overrides
    CommonObject.OnDispose()

    UpdateSerieIndex()

    Updates index of the parent Series.

    Declaration
    public void UpdateSerieIndex()

    Implements

    System.IDisposable
    IChartDataPoints
    IParentApplication
    System.Collections.IEnumerable
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved