Class
ExcelModernChart
OfficeIMO.Excel
Native or imported worksheet ChartEx drawing.
Inheritance
- object
- ExcelModernChart
Usage
Explore 7 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 7
- Method ExcelModernChart.SetChartType
- Method ExcelModernChart.SetPlacement
- Method ExcelModernChart.SetTitle
- Method ExcelModernChart.UpdateData
- Method ExcelSheet.AddModernChart
- Method ExcelSheet.GetModernChart
- Property ExcelSheet.ModernCharts
Methods
public ExcelModernChart SetChartType(ExcelModernChartType chartType) #Changes the native series layout while preserving data, formatting, and unknown siblings.
Parameters
- chartType OfficeIMO.Excel.ExcelModernChartType
Returns
ExcelModernChartpublic ExcelModernChart SetPlacement(int row, int column, OfficeLength width, OfficeLength height) #Moves and resizes the one-cell chart anchor.
Parameters
- row int
- column int
- width OfficeIMO.OfficeLength
- height OfficeIMO.OfficeLength
Returns
ExcelModernChartpublic ExcelModernChart SetTitle(string? title) #Sets the chart title while preserving unrelated imported ChartEx markup.
Parameters
- title string?
Returns
ExcelModernChartpublic ExcelModernChart UpdateData(ExcelChartData data) #Updates data for an OfficeIMO-authored chart while preserving unrelated ChartEx siblings and formatting.
Parameters
- data OfficeIMO.Excel.ExcelChartData
Returns
ExcelModernChart