Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ExcelChartSeriesDefinition<T>

OfficeIMO.Excel

Namespace
OfficeIMO.Excel
Assembly
OfficeIMO.Excel
Source revision
0eef6a5756b9 with working tree changes
Modifiers
sealed

Defines a series mapping for building chart data from objects.

Inheritance

  • object
  • ExcelChartSeriesDefinition<T>

Usage

Explore 2 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 2

Type Parameters

T

Constructors

public ExcelChartSeriesDefinition<T>(string name, Func<T?, double> valueSelector, OfficeChartType? chartType = null, OfficeChartAxisGroup axisGroup = Primary) #

Creates a series definition that maps values from the source items.

Parameters

name string required
valueSelector System.Func<T?, double> required
chartType OfficeIMO.OfficeChartType? = null optional
axisGroup OfficeIMO.Drawing.OfficeChartAxisGroup = Primary optional

Properties

public string Name { get; } #

Gets the display name of the series.

public Func<T?, double> ValueSelector { get; } #

Gets the value selector for the series.

public OfficeChartType? ChartType { get; } #

Gets the optional chart type override for this series.

public OfficeChartAxisGroup AxisGroup { get; } #

Gets the axis group for this series.