OfficeIMO

API Reference

Class

ExcelChartSeriesDefinition`1

Namespace OfficeIMO.Excel
Assembly OfficeIMO.Excel
Modifiers sealed

Defines a series mapping for building chart data from objects.

Inheritance

  • Object
  • ExcelChartSeriesDefinition`1

Type Parameters

T

Constructors

public ExcelChartSeriesDefinition<T>(String name, Func<T, Double> valueSelector, Nullable<ExcelChartType> chartType = null, ExcelChartAxisGroup axisGroup = Primary) #

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

Parameters

name System.String requiredposition: 0
valueSelector System.Func{`0,System.Double} requiredposition: 1
chartType System.Nullable{OfficeIMO.Excel.ExcelChartType} = null optionalposition: 2
axisGroup OfficeIMO.Excel.ExcelChartAxisGroup = Primary optionalposition: 3

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 Nullable<ExcelChartType> ChartType { get; } #

Gets the optional chart type override for this series.

public ExcelChartAxisGroup AxisGroup { get; } #

Gets the axis group for this series.