GemBox.Spreadsheet
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    ScatterChartSeries Class

    Namespace:
    GemBox.Spreadsheet.Charts
    Assembly:
    GemBox.Spreadsheet.dll

    Represents a single ScatterChart series.

    • C#
    • VB.NET
    public sealed class ScatterChartSeries : MarkerChartSeries
    Public NotInheritable Class ScatterChartSeries
        Inherits MarkerChartSeries
    Inheritance:
    System.Object
    ChartSeries
    MarkerChartSeries
    ScatterChartSeries

    Properties

    SmoothLine

    Gets or sets a value indicating whether the series line will be smooth or straight. Default is true.

    • C#
    • VB.NET
    public bool SmoothLine { get; set; }
    Public Property SmoothLine As Boolean
    Property Value
    System.Boolean

    true if series line will be smooth; otherwise, false.

    XValues

    Gets the scatter chart series x values.

    • C#
    • VB.NET
    public IEnumerable XValues { get; }
    Public ReadOnly Property XValues As IEnumerable
    Property Value
    System.Collections.IEnumerable

    The scatter chart series x values.

    XValuesReference

    Gets or sets the scatter chart series x values as a cell range reference (for example, 'Sheet1!A1:D1'). Values from cells in the referenced range will be used as x values of this series.

    • C#
    • VB.NET
    public string XValuesReference { get; set; }
    Public Property XValuesReference As String
    Property Value
    System.String

    The scatter chart series x values as a cell range reference.

    Methods

    SetXValues(IEnumerable)

    Sets the scatter chart series x values.

    • C#
    • VB.NET
    public void SetXValues(IEnumerable values)
    Public Sub SetXValues(values As IEnumerable)
    Parameters
    values
    System.Collections.IEnumerable

    The scatter chart series x values.

    Exceptions
    System.ArgumentNullException

    values is null.

    SetXValues(Object[])

    Sets the scatter chart series x values.

    • C#
    • VB.NET
    public void SetXValues(params object[] values)
    Public Sub SetXValues(ParamArray values As Object())
    Parameters
    values
    System.Object[]

    The scatter chart series x values.

    Inherited Properties

    DataLabels

    Gets the settings for the data labels for an entire series.

    (Inherited from ChartSeries)

    DataPoints

    Gets the chart series data points.

    (Inherited from ChartSeries)

    DisplayName

    Gets the series display name. If Name is direct value, then Name value is returned; otherwise, if Name is a cell reference, then referenced cell value is returned.

    (Inherited from ChartSeries)

    Fill

    Gets or sets the fill formatting options.

    (Inherited from ChartSeries)

    Index

    Gets the index of this ChartSeries instance in the parent ChartSeriesCollection. If parent chart is a ComboChart's child, value represents a global index.

    (Inherited from ChartSeries)

    IsLegendEntryVisible

    Gets or sets a value indicating whether legend entry for this series instance is visible.

    (Inherited from ChartSeries)

    Marker

    Gets the marker.

    (Inherited from MarkerChartSeries)

    Name

    Gets or sets the series name as direct value (for example, 'My series') or as a reference to a cell with value (for example, '=Sheet1!A1').

    (Inherited from ChartSeries)

    Outline

    Gets or sets the outline formatting options.

    (Inherited from ChartSeries)

    Values

    Gets the chart series values.

    (Inherited from ChartSeries)

    ValuesReference

    Gets or sets the chart series values as a cell range reference (for example, 'Sheet1!A1:D1'). Values from cells in the referenced range will be used as values of this series.

    (Inherited from ChartSeries)

    Inherited Methods

    Delete()

    Deletes the series.

    (Inherited from ChartSeries)

    SetValues(System.Collections.IEnumerable)

    Sets the chart series values.

    (Inherited from ChartSeries)

    SetValues(System.Object[])

    Sets the chart series values.

    (Inherited from ChartSeries)

    ToString()

    Returns the DisplayName value.

    (Inherited from ChartSeries)

    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.