Search Results for

    Show / Hide Table of Contents

    Interface IDataSeriesCore

    Defines base methods for all DataSeries throughout the SciChart SDK

    Implements
    ISuspendable
    Namespace:
    Assembly: .dll
    Syntax
    public interface IDataSeriesCore extends ISuspendable

    Methods

    addObserver(dataSeries.IDataSeriesObserver observer)

    Adds IDataSeriesObserver which observes changes in this series

    Declaration
    public abstract void addObserver(dataSeries.IDataSeriesObserver observer)
    Parameters
    Type Name Description
    dataSeries.IDataSeriesObserver observer

    The observer to add

    clear()

    Clears the series, resetting internal lists to zero size.

    Declaration
    public abstract void clear()

    clear(boolean retainCapacity)

    Clears the series, resetting internal lists to zero size.

    Declaration
    public abstract void clear(boolean retainCapacity)
    Parameters
    Type Name Description
    boolean retainCapacity

    If true series resets internal lists to zero size, otherwise internal list are recreated

    getCount()

    Gets the number of points in this series.

    Declaration
    public abstract int getCount()
    Returns
    Type Description
    int

    The number of point this series

    getHasValues()

    Gets whether the DataSeries has values(is not empty).

    Declaration
    public abstract boolean getHasValues()
    Returns
    Type Description
    boolean

    True if DataSeries has values

    getSeriesName()

    Gets the name of this series.

    Declaration
    public abstract String getSeriesName()
    Returns
    Type Description
    String

    The series name

    removeObserver(dataSeries.IDataSeriesObserver observer)

    Removes IDataSeriesObserver from list of change observers for this series

    Declaration
    public abstract void removeObserver(dataSeries.IDataSeriesObserver observer)
    Parameters
    Type Name Description
    dataSeries.IDataSeriesObserver observer

    The observer to remove

    setSeriesName(String seriesName)

    Sets the name of this series.

    Declaration
    public abstract void setSeriesName(String seriesName)
    Parameters
    Type Name Description
    String seriesName

    The new name of this series

    Implements

    ISuspendable
    Back to top © 2011-2025 SciChart. All rights reserved. | sitemap.xml