Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ExcelModernChart

OfficeIMO.Excel

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

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.

Methods

public void Remove() #

Removes this chart drawing and its owned ChartEx part.

public ExcelModernChart SetChartType(ExcelModernChartType chartType) #

Changes the native series layout while preserving data, formatting, and unknown siblings.

Parameters

chartType OfficeIMO.Excel.ExcelModernChartType required
public ExcelModernChart SetPlacement(int row, int column, OfficeLength width, OfficeLength height) #

Moves and resizes the one-cell chart anchor.

Parameters

row int required
column int required
width OfficeIMO.OfficeLength required
height OfficeIMO.OfficeLength required
public ExcelModernChart SetTitle(string? title) #

Sets the chart title while preserving unrelated imported ChartEx markup.

Parameters

title string? required
public ExcelModernChart UpdateData(ExcelChartData data) #

Updates data for an OfficeIMO-authored chart while preserving unrelated ChartEx siblings and formatting.

Parameters

data OfficeIMO.Excel.ExcelChartData required

Properties

public string Name { get; set; } #

Non-visual drawing name.

public ExcelModernChartType ChartType { get; } #

Detected native ChartEx layout.

public ExcelChartDataRange? DataRange { get; private set; } #

Known authored data range, when this wrapper created the chart.

public string? Title { get; } #

Current title text, when present.