Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeChartSeries

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Modifiers sealed

Dependency-free chart series values used by shared OfficeIMO visual renderers.

Inheritance

  • Object
  • OfficeChartSeries

Usage

Explore 6 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 1

Constructors

OfficeChartSeries 5 overloads
public OfficeChartSeries(String name, IEnumerable<Double> values) #

Initializes a chart series snapshot.

Parameters

name System.String requiredposition: 0
Display name for the series.
values System.Collections.Generic.IEnumerable<System.Double> requiredposition: 1
Values aligned with the chart categories.
public OfficeChartSeries(String name, IEnumerable<Double> values, IEnumerable<Double>? xValues) #

Initializes a chart series snapshot with optional numeric X-axis values for scatter charts.

Parameters

name System.String requiredposition: 0
Display name for the series.
values System.Collections.Generic.IEnumerable<System.Double> requiredposition: 1
Values aligned with the chart categories or X-axis values.
xValues System.Collections.Generic.IEnumerable<System.Double>? requiredposition: 2
Optional numeric X-axis values for this series.
public OfficeChartSeries(String name, IEnumerable<Double> values, IEnumerable<Double>? xValues, OfficeColor? color) #

Initializes a chart series snapshot with optional numeric X-axis values and source style metadata.

Parameters

name System.String requiredposition: 0
Display name for the series.
values System.Collections.Generic.IEnumerable<System.Double> requiredposition: 1
Values aligned with the chart categories or X-axis values.
xValues System.Collections.Generic.IEnumerable<System.Double>? requiredposition: 2
Optional numeric X-axis values for this series.
color OfficeIMO.Drawing.OfficeColor? requiredposition: 3
Optional source-defined series color.
public OfficeChartSeries(String name, IEnumerable<Double> values, IEnumerable<Double>? xValues, OfficeColor? color, IEnumerable<OfficeColor?>? pointColors) #

Initializes a chart series snapshot with optional source style metadata.

Parameters

name System.String requiredposition: 0
Display name for the series.
values System.Collections.Generic.IEnumerable<System.Double> requiredposition: 1
Values aligned with the chart categories or X-axis values.
xValues System.Collections.Generic.IEnumerable<System.Double>? requiredposition: 2
Optional numeric X-axis values for this series.
color OfficeIMO.Drawing.OfficeColor? requiredposition: 3
Optional source-defined series color.
pointColors System.Collections.Generic.IEnumerable<OfficeIMO.Drawing.OfficeColor?>? requiredposition: 4
Optional source-defined colors aligned with individual values.
public OfficeChartSeries(String name, IEnumerable<Double> values, IEnumerable<Double>? xValues, OfficeColor? color, IEnumerable<OfficeColor?>? pointColors, Boolean showMarkers, Boolean showInLegend = true, Boolean connectLine = true, Int32? markerSize = null, OfficeChartMarkerShape? markerShape = null, OfficeColor? markerOutlineColor = null, Double? markerOutlineWidth = null, Double? strokeWidth = null, OfficeStrokeDashStyle? strokeDashStyle = null, OfficeChartKind? renderKind = null, OfficeChartAxisGroup axisGroup = Primary) #

Initializes a chart series snapshot with optional source style metadata and marker visibility.

Parameters

name System.String requiredposition: 0
Display name for the series.
values System.Collections.Generic.IEnumerable<System.Double> requiredposition: 1
Values aligned with the chart categories or X-axis values.
xValues System.Collections.Generic.IEnumerable<System.Double>? requiredposition: 2
Optional numeric X-axis values for this series.
color OfficeIMO.Drawing.OfficeColor? requiredposition: 3
Optional source-defined series color.
pointColors System.Collections.Generic.IEnumerable<OfficeIMO.Drawing.OfficeColor?>? requiredposition: 4
Optional source-defined colors aligned with individual values.
showMarkers System.Boolean requiredposition: 5
Whether this series should render markers when the chart layout enables them.
showInLegend System.Boolean = true optionalposition: 6
Whether this series should appear in rendered legends.
connectLine System.Boolean = true optionalposition: 7
Whether this series should render connecting line segments when the chart family supports them.
markerSize System.Int32? = null optionalposition: 8
Optional source-defined marker diameter in drawing units.
markerShape OfficeIMO.Drawing.OfficeChartMarkerShape? = null optionalposition: 9
Optional source-defined marker shape.
markerOutlineColor OfficeIMO.Drawing.OfficeColor? = null optionalposition: 10
Optional source-defined marker outline color.
markerOutlineWidth System.Double? = null optionalposition: 11
Optional source-defined marker outline width in points, greater than zero and at most 1584.
strokeWidth System.Double? = null optionalposition: 12
Optional source-defined series stroke width in points, greater than zero and at most 1584.
strokeDashStyle OfficeIMO.Drawing.OfficeStrokeDashStyle? = null optionalposition: 13
Optional source-defined series stroke dash style.
renderKind OfficeIMO.Drawing.OfficeChartKind? = null optionalposition: 14
Optional per-series chart kind used by mixed/combo chart renderers.
axisGroup OfficeIMO.Drawing.OfficeChartAxisGroup = Primary optionalposition: 15
Primary or secondary value axis used by combo chart renderers.

Methods

CreateBubble 2 overloads
public static OfficeChartSeries CreateBubble(String name, IEnumerable<Double> xValues, IEnumerable<Double> yValues, IEnumerable<Double> bubbleSizes, OfficeColor? color, IEnumerable<OfficeColor?>? pointColors, Boolean showInLegend, OfficeColor? markerOutlineColor, Double? markerOutlineWidth) #
Returns: OfficeChartSeries

Creates a bubble-chart series with numeric X/Y coordinates and per-point bubble sizes.

Parameters

name System.String requiredposition: 0
Display name for the series.
xValues System.Collections.Generic.IEnumerable<System.Double> requiredposition: 1
Numeric X-axis values.
yValues System.Collections.Generic.IEnumerable<System.Double> requiredposition: 2
Numeric Y-axis values.
bubbleSizes System.Collections.Generic.IEnumerable<System.Double> requiredposition: 3
Non-negative bubble sizes aligned with the X/Y values.
color OfficeIMO.Drawing.OfficeColor? requiredposition: 4
Optional source-defined series color.
pointColors System.Collections.Generic.IEnumerable<OfficeIMO.Drawing.OfficeColor?>? requiredposition: 5
Optional source-defined colors aligned with individual bubbles.
showInLegend System.Boolean requiredposition: 6
Whether this series should appear in rendered legends.
markerOutlineColor OfficeIMO.Drawing.OfficeColor? requiredposition: 7
Optional source-defined bubble outline color.
markerOutlineWidth System.Double? requiredposition: 8
Optional source-defined bubble outline width in points, greater than zero and at most 1584.
public static OfficeChartSeries CreateBubble(String name, IEnumerable<Double> xValues, IEnumerable<Double> yValues, IEnumerable<Double> bubbleSizes, OfficeColor? color = null, IEnumerable<OfficeColor?>? pointColors = null, Boolean showInLegend = true, OfficeColor? markerOutlineColor = null, Double? markerOutlineWidth = null, Boolean showMarkerOutline = true) #
Returns: OfficeChartSeries

Creates a bubble-chart series with explicit control over whether bubble outlines are rendered.

Parameters

name System.String requiredposition: 0
Display name for the series.
xValues System.Collections.Generic.IEnumerable<System.Double> requiredposition: 1
Numeric X-axis values.
yValues System.Collections.Generic.IEnumerable<System.Double> requiredposition: 2
Numeric Y-axis values.
bubbleSizes System.Collections.Generic.IEnumerable<System.Double> requiredposition: 3
Non-negative bubble sizes aligned with the X/Y values.
color OfficeIMO.Drawing.OfficeColor? = null optionalposition: 4
Optional source-defined series color.
pointColors System.Collections.Generic.IEnumerable<OfficeIMO.Drawing.OfficeColor?>? = null optionalposition: 5
Optional source-defined colors aligned with individual bubbles.
showInLegend System.Boolean = true optionalposition: 6
Whether this series should appear in rendered legends.
markerOutlineColor OfficeIMO.Drawing.OfficeColor? = null optionalposition: 7
Optional source-defined bubble outline color.
markerOutlineWidth System.Double? = null optionalposition: 8
Optional source-defined bubble outline width in points, greater than zero and at most 1584.
showMarkerOutline System.Boolean = true optionalposition: 9
Whether the bubble outline should be rendered.
public OfficeChartSeries WithLegendVisibility(Boolean showInLegend) #
Returns: OfficeChartSeries

Returns a copy with the requested legend visibility and unchanged data and appearance.

Parameters

showInLegend System.Boolean requiredposition: 0
public OfficeChartSeries WithPointExplosions(IEnumerable<Int32>? pointExplosions) #
Returns: OfficeChartSeries

Returns a copy with an explosion percentage for each pie or doughnut point. Null leaves native point offsets unchanged during data updates.

Parameters

pointExplosions System.Collections.Generic.IEnumerable<System.Int32>? requiredposition: 0
public OfficeChartSeries WithPointStyles(IEnumerable<OfficeChartPointStyle?>? pointStyles) #
Returns: OfficeChartSeries

Returns a copy with aligned immutable point styles. Null removes shared style metadata; null entries inherit the series/theme appearance and any legacy PointColors entry.

Parameters

pointStyles System.Collections.Generic.IEnumerable<OfficeIMO.Drawing.OfficeChartPointStyle?>? requiredposition: 0

Properties

public String Name { get; } #

Series display name.

public IReadOnlyList<Double> Values { get; } #

Series values aligned with chart categories.

public IReadOnlyList<Double>? XValues { get; } #

Optional per-series numeric X-axis values for scatter charts.

public IReadOnlyList<Double>? BubbleSizes { get; } #

Optional per-point sizes for bubble charts.

public OfficeColor? Color { get; } #

Optional source-defined series color.

public IReadOnlyList<OfficeColor?>? PointColors { get; } #

Optional source-defined colors aligned with individual series values.

public IReadOnlyList<OfficeChartPointStyle?>? PointStyles { get; private set; } #

Optional point styles aligned with the values; explicit fills override PointColors.

public IReadOnlyList<Int32>? PointExplosions { get; private set; } #

Optional pie or doughnut slice offsets, as percentages of the slice radius.

public Boolean ShowMarkers { get; } #

Whether this series should render markers when the chart layout enables markers.

public Int32? MarkerSize { get; } #

Optional source-defined marker diameter in drawing units.

public OfficeChartMarkerShape? MarkerShape { get; } #

Optional source-defined marker shape.

public OfficeColor? MarkerOutlineColor { get; } #

Optional source-defined marker outline color.

public Double? MarkerOutlineWidth { get; } #

Optional source-defined marker outline width in points, greater than zero and at most 1584.

public Boolean ShowMarkerOutline { get; } #

Whether the marker or bubble outline should be rendered.

public Double? StrokeWidth { get; } #

Optional source-defined series stroke width in points, greater than zero and at most 1584.

public OfficeStrokeDashStyle? StrokeDashStyle { get; } #

Optional source-defined series stroke dash style.

public OfficeChartKind? RenderKind { get; } #

Optional per-series chart kind for mixed/combo chart rendering.

public OfficeChartAxisGroup AxisGroup { get; } #

Primary or secondary value axis used by combo chart renderers.

public Boolean ShowInLegend { get; } #

Whether this series should appear in rendered legends.

public Boolean ConnectLine { get; } #

Whether this series should render connecting line segments when the chart family supports them.

Fields

public const Int32 MaximumPointExplosionPercent #

Largest pie or doughnut point explosion that the shared renderer supports.

Value: 400