API Reference
Class
ExcelChartGridLayout
Produces sequential chart placements for worksheet dashboards that use the default Excel row and column grid.
Inheritance
- Object
- ExcelChartGridLayout
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method ExcelSheet.ChartLayout
Constructors
public ExcelChartGridLayout(Int32 row, Int32 column, Int32 widthPixels = 520, Int32 heightPixels = 320, Int32 chartsPerRow = 2, Int32 horizontalGapPixels = 48, Int32 verticalGapRows = 2) #Initializes a chart grid layout.
Parameters
- row System.Int32
- One-based worksheet row for the first chart.
- column System.Int32
- One-based worksheet column for the first chart.
- widthPixels System.Int32 = 520
- Chart width in pixels.
- heightPixels System.Int32 = 320
- Chart height in pixels.
- chartsPerRow System.Int32 = 2
- Number of charts to place before wrapping to the next row.
- horizontalGapPixels System.Int32 = 48
- Minimum horizontal gap between chart slots, in pixels, calculated against default-width Excel columns.
- verticalGapRows System.Int32 = 2
- Minimum vertical gap between chart rows, in worksheet rows, calculated against default-height Excel rows.
Methods
public ExcelChartPlacement Next() #Returns:
ExcelChartPlacementGets the next chart placement and advances the layout cursor.
Returns
Chart placement for the next dashboard slot.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object