Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ExcelChartGridLayout

OfficeIMO.Excel

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

Produces sequential chart placements for worksheet dashboards that use the default Excel row and column grid.

Inheritance

  • object
  • ExcelChartGridLayout

Usage

Explore 1 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 1

Constructors

public ExcelChartGridLayout(int row, int column, OfficeLength? width = null, OfficeLength? height = null, int chartsPerRow = 2, OfficeLength? horizontalGap = null, int verticalGapRows = 2) #

Initializes a chart grid layout.

Parameters

row int required
One-based worksheet row for the first chart.
column int required
One-based worksheet column for the first chart.
width OfficeIMO.OfficeLength? = null optional
Chart physical width.
height OfficeIMO.OfficeLength? = null optional
Chart physical height.
chartsPerRow int = 2 optional
Number of charts to place before wrapping to the next row.
horizontalGap OfficeIMO.OfficeLength? = null optional
Minimum horizontal physical gap between chart slots, calculated against default-width Excel columns.
verticalGapRows int = 2 optional
Minimum vertical gap between chart rows, in worksheet rows, calculated against default-height Excel rows.

Methods

public ExcelChartPlacement Next() #

Gets the next chart placement and advances the layout cursor.

Returns

ExcelChartPlacement Chart placement for the next dashboard slot.