ScatterChartSeries Class
Represents a single ScatterChart series.
public sealed class ScatterChartSeries : MarkerChartSeries
Public NotInheritable Class ScatterChartSeries
Inherits MarkerChartSeries
- Inheritance:
- System.ObjectScatterChartSeries
Properties
Fill
Gets or sets the fill formatting options.
Property Value
The fill formatting options.
Overrides
Remarks
Fill format is not supported by LineChartSeries and ScatterChartSeries. For those instances property will always return an empty fill and setting the value will have no effect.
SmoothLine
Gets or sets a value indicating whether the series line will be smooth or straight. Default is true
.
Property Value
- System.Boolean
true
if series line will be smooth; otherwise, false
.
XValues
Gets the scatter chart series x values.
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.
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.
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.
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) |
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) |