API Reference
OfficeChartSnapshot
Dependency-free chart snapshot that can be rendered by shared OfficeIMO visual engines.
Inheritance
- Object
- OfficeChartSnapshot
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 OfficeChartSnapshot.WithSize
Accepted by parameters
Constructors
public OfficeChartSnapshot(String name, String title, OfficeChartKind chartKind, OfficeChartData data, Double widthPoints, Double heightPoints, OfficeChartStyle style = null, OfficeChartLayout layout = null) #Initializes a chart snapshot for rendering.
Parameters
- name System.String
- Source shape or drawing name.
- title System.String
- Optional display title.
- chartKind OfficeIMO.Drawing.OfficeChartKind
- Supported chart family.
- data OfficeIMO.Drawing.OfficeChartData
- Chart category and series data.
- widthPoints System.Double
- Requested render width in points.
- heightPoints System.Double
- Requested render height in points.
- style OfficeIMO.Drawing.OfficeChartStyle = null
- Optional shared chart style metadata.
- layout OfficeIMO.Drawing.OfficeChartLayout = null
- Optional shared chart layout metadata.
public OfficeChartSnapshot(String name, String title, OfficeChartKind chartKind, OfficeChartData data, Double widthPoints, Double heightPoints, Double bubbleScalePercent, OfficeChartBubbleSizeMode bubbleSizeMode = Area) #Initializes a bubble-aware chart snapshot for rendering with default style and layout.
Parameters
- name System.String
- Source shape or drawing name.
- title System.String
- Optional display title.
- chartKind OfficeIMO.Drawing.OfficeChartKind
- Supported chart family.
- data OfficeIMO.Drawing.OfficeChartData
- Chart category and series data.
- widthPoints System.Double
- Requested render width in points.
- heightPoints System.Double
- Requested render height in points.
- bubbleScalePercent System.Double
- Bubble diameter scale as a percentage from zero through 300.
- bubbleSizeMode OfficeIMO.Drawing.OfficeChartBubbleSizeMode = Area
- Whether bubble values represent area or width.
public OfficeChartSnapshot(String name, String title, OfficeChartKind chartKind, OfficeChartData data, Double widthPoints, Double heightPoints, OfficeChartStyle style, OfficeChartLayout layout, Double bubbleScalePercent, OfficeChartBubbleSizeMode bubbleSizeMode) #Initializes a bubble-aware chart snapshot for rendering.
Parameters
- name System.String
- Source shape or drawing name.
- title System.String
- Optional display title.
- chartKind OfficeIMO.Drawing.OfficeChartKind
- Supported chart family.
- data OfficeIMO.Drawing.OfficeChartData
- Chart category and series data.
- widthPoints System.Double
- Requested render width in points.
- heightPoints System.Double
- Requested render height in points.
- style OfficeIMO.Drawing.OfficeChartStyle
- Optional shared chart style metadata.
- layout OfficeIMO.Drawing.OfficeChartLayout
- Optional shared chart layout metadata.
- bubbleScalePercent System.Double
- Bubble diameter scale as a percentage from zero through 300.
- bubbleSizeMode OfficeIMO.Drawing.OfficeChartBubbleSizeMode
- Whether bubble values represent area or width.
public OfficeChartSnapshot(String name, String title, OfficeChartKind chartKind, OfficeChartData data, Double widthPoints, Double heightPoints, OfficeChartStyle style, OfficeChartLayout layout, OfficeChartRadialLayout radialLayout) #Creates a chart snapshot with explicit radial geometry and default bubble sizing.
Parameters
- name System.String
- title System.String
- chartKind OfficeIMO.Drawing.OfficeChartKind
- data OfficeIMO.Drawing.OfficeChartData
- widthPoints System.Double
- heightPoints System.Double
- style OfficeIMO.Drawing.OfficeChartStyle
- layout OfficeIMO.Drawing.OfficeChartLayout
- radialLayout OfficeIMO.Drawing.OfficeChartRadialLayout
public OfficeChartSnapshot(String name, String title, OfficeChartKind chartKind, OfficeChartData data, Double widthPoints, Double heightPoints, OfficeChartStyle style, OfficeChartLayout layout, Double bubbleScalePercent, OfficeChartBubbleSizeMode bubbleSizeMode, OfficeChartRadialLayout radialLayout) #Creates a chart snapshot with explicit bubble sizing and radial geometry.
Parameters
- name System.String
- title System.String
- chartKind OfficeIMO.Drawing.OfficeChartKind
- data OfficeIMO.Drawing.OfficeChartData
- widthPoints System.Double
- heightPoints System.Double
- style OfficeIMO.Drawing.OfficeChartStyle
- layout OfficeIMO.Drawing.OfficeChartLayout
- bubbleScalePercent System.Double
- bubbleSizeMode OfficeIMO.Drawing.OfficeChartBubbleSizeMode
- radialLayout OfficeIMO.Drawing.OfficeChartRadialLayout
Methods
public OfficeChartSnapshot WithSize(Double widthPoints, Double heightPoints) #OfficeChartSnapshotCreates a snapshot at a different render size while retaining all chart data and presentation metadata.
Parameters
- widthPoints System.Double
- Finite positive render width in points.
- heightPoints System.Double
- Finite positive render height in points.
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public String Name { get; } #Source shape or drawing name.
public String Title { get; } #Optional display title.
public OfficeChartKind ChartKind { get; } #Supported chart family.
public OfficeChartData Data { get; } #Chart category and series data.
public Double WidthPoints { get; } #Requested render width in points.
public Double HeightPoints { get; } #Requested render height in points.
public OfficeChartStyle Style { get; } #Shared chart style metadata.
public OfficeChartLayout Layout { get; } #Shared chart layout metadata.
public Double BubbleScalePercent { get; } #Bubble diameter scale as a percentage from zero through 300.
public OfficeChartBubbleSizeMode BubbleSizeMode { get; } #Whether bubble values represent area or width.
public OfficeChartRadialLayout RadialLayout { get; } #Pie rotation and doughnut hole geometry.