menu

WinForms

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

    Show / Hide Table of Contents

    Interface IChartSeriesIndexedModel

    Interface that is to be implemented if you want the ChartControl to be able to display your indexed data (X value is not needed). The ChartControl is totally agnostic about the data it displays. Even the default series store is an implementation of IChartSeriesModel. When you implement this interface, you can set it as the data underlying any ChartSeries object using the SeriesIndexedModelImpl. When you use this model for a series, you have to set ChartControl's Indexed property to be True.

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

    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 the specified point index; false otherwise.

    GetY(Int32)

    Returns the Y value of the series at the specified point index. Indexed series do not have an X value.

    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