API Reference

Class

ExcelModernChart

Namespace OfficeIMO.Excel
Assembly OfficeIMO.Excel
Modifiers sealed

Native or imported worksheet ChartEx drawing.

Inheritance

  • Object
  • ExcelModernChart

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Methods

public Void Remove() #
Returns: Void

Removes this chart drawing and its owned ChartEx part.

public ExcelModernChart SetChartType(ExcelModernChartType chartType) #
Returns: ExcelModernChart

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

Parameters

chartType OfficeIMO.Excel.ExcelModernChartType requiredposition: 0
public ExcelModernChart SetPlacement(Int32 row, Int32 column, Int32 widthPixels, Int32 heightPixels) #
Returns: ExcelModernChart

Moves and resizes the one-cell chart anchor.

Parameters

row System.Int32 requiredposition: 0
column System.Int32 requiredposition: 1
widthPixels System.Int32 requiredposition: 2
heightPixels System.Int32 requiredposition: 3
public ExcelModernChart SetTitle(String title) #
Returns: ExcelModernChart

Sets the chart title while preserving unrelated imported ChartEx markup.

Parameters

title System.String requiredposition: 0
public ExcelModernChart UpdateData(ExcelChartData data) #
Returns: ExcelModernChart

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

Parameters

data OfficeIMO.Excel.ExcelChartData requiredposition: 0

Properties

public String Name { get; set; } #

Non-visual drawing name.

public ExcelModernChartType ChartType { get; } #

Detected native ChartEx layout.

public ExcelChartDataRange DataRange { get; set; } #

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

public String Title { get; } #

Current title text, when present.