menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IChartSeriesModel - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface IChartSeriesModel

    Interface that is to be implemented if you want ChartControl to be able to display your data. The default series store is a implementation of IChartSeriesModel. When you implement this interface, you can set it as the data underlying any ChartSeries object using the SeriesModelImpl property.

    Namespace: Syncfusion.Windows.Forms.Chart
    Assembly: Syncfusion.Chart.Base.dll
    Syntax
    public interface IChartSeriesModel

    Properties

    Count

    Returns the number of points in this series.

    Declaration
    int Count { get; }
    Property Value
    Type
    System.Int32

    Methods

    GetEmpty(Int32)

    Indicates whether a plottable value is present at the specified point index.

    Declaration
    bool GetEmpty(int xIndex)
    Parameters
    Type Name Description
    System.Int32 xIndex

    The index value of the point.

    Returns
    Type Description
    System.Boolean

    True, if there is a value present at this point index; false otherwise.

    GetX(Int32)

    Returns the X value of the series at the specified point index.

    Declaration
    double GetX(int xIndex)
    Parameters
    Type Name Description
    System.Int32 xIndex

    The index value of the point.

    Returns
    Type Description
    System.Double

    X value.

    GetY(Int32)

    Returns the Y value of the series at the specified point index.

    Declaration
    double[] GetY(int xIndex)
    Parameters
    Type Name Description
    System.Int32 xIndex

    The index value of the point.

    Returns
    Type Description
    System.Double[]

    Y value.

    Events

    Changed

    Event that should be raised by any implementation of this interface if data that it holds changes. This will cause the chart to be updated accordingly.

    Declaration
    event ListChangedEventHandler Changed
    Event Type
    Type
    System.ComponentModel.ListChangedEventHandler
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved