Class
ExcelChartData
OfficeIMO.Excel
In-memory chart data for Excel charts.
Inheritance
- object
- ExcelChartData
Usage
Explore 10 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.
Returned or exposed by 4
- Method ExcelChartData.CreateDefault
- Method ExcelChartData.From``1
- Property ExcelChartInfo.Data
- Property ExcelChartOptions.CachedData
Accepted by parameters 6
- Method ExcelChart.TryGetData
- Method ExcelChart.UpdateData
- Method ExcelModernChart.UpdateData
- Method ExcelSheet.AddChart
- Method ExcelSheet.AddModernChart
- Method ExcelSheet.WriteChartData
Constructors
public ExcelChartData(IEnumerable<string> categories, IEnumerable<ExcelChartSeries> series) #Creates chart data from the provided categories and series.
Parameters
- categories System.Collections.Generic.IEnumerable<string>
- series System.Collections.Generic.IEnumerable<OfficeIMO.Excel.ExcelChartSeries>
Methods
public static ExcelChartData From<T>(IEnumerable<T?> items, Func<T?, string> categorySelector, params ExcelChartSeriesDefinition<T?>[] seriesDefinitions) #Builds chart data from a sequence of items and series definitions.
Type Parameters
- T
Parameters
- items System.Collections.Generic.IEnumerable<T?>
- categorySelector System.Func<T?, string>
- seriesDefinitions OfficeIMO.Excel.ExcelChartSeriesDefinition<T?>[]
Returns
ExcelChartData