OfficeChartSnapshot
OfficeIMO.Drawing
Dependency-free chart snapshot that can be rendered by shared OfficeIMO visual engines.
Inheritance
- object
- OfficeChartSnapshot
Usage
Explore 3 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
- Method OfficeChartSnapshot.WithSize
Accepted by parameters 2
Constructors
public OfficeChartSnapshot(string name, string? title, OfficeChartType chartKind, OfficeChartData data, OfficeLength width, OfficeLength height, OfficeChartStyle? style = null, OfficeChartLayout? layout = null) #Initializes a chart snapshot for rendering.
Parameters
- name string
- Source shape or drawing name.
- title string?
- Optional display title.
- chartKind OfficeIMO.OfficeChartType
- Supported chart family.
- data OfficeIMO.Drawing.OfficeChartData
- Chart category and series data.
- width OfficeIMO.OfficeLength
- Requested physical render width.
- height OfficeIMO.OfficeLength
- Requested physical render height.
- 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, OfficeChartType chartKind, OfficeChartData data, OfficeLength width, OfficeLength height, double bubbleScalePercent, OfficeChartBubbleSizeMode bubbleSizeMode = Area) #Initializes a bubble-aware chart snapshot for rendering with default style and layout.
Parameters
- name string
- Source shape or drawing name.
- title string?
- Optional display title.
- chartKind OfficeIMO.OfficeChartType
- Supported chart family.
- data OfficeIMO.Drawing.OfficeChartData
- Chart category and series data.
- width OfficeIMO.OfficeLength
- Requested physical render width.
- height OfficeIMO.OfficeLength
- Requested physical render height.
- bubbleScalePercent 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, OfficeChartType chartKind, OfficeChartData data, OfficeLength width, OfficeLength height, OfficeChartStyle? style, OfficeChartLayout? layout, double bubbleScalePercent, OfficeChartBubbleSizeMode bubbleSizeMode) #Initializes a bubble-aware chart snapshot for rendering.
Parameters
- name string
- Source shape or drawing name.
- title string?
- Optional display title.
- chartKind OfficeIMO.OfficeChartType
- Supported chart family.
- data OfficeIMO.Drawing.OfficeChartData
- Chart category and series data.
- width OfficeIMO.OfficeLength
- Requested physical render width.
- height OfficeIMO.OfficeLength
- Requested physical render height.
- style OfficeIMO.Drawing.OfficeChartStyle?
- Optional shared chart style metadata.
- layout OfficeIMO.Drawing.OfficeChartLayout?
- Optional shared chart layout metadata.
- bubbleScalePercent 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, OfficeChartType chartKind, OfficeChartData data, OfficeLength width, OfficeLength height, OfficeChartStyle? style, OfficeChartLayout? layout, OfficeChartRadialLayout radialLayout) #Creates a chart snapshot with explicit radial geometry and default bubble sizing.
Parameters
- name string
- title string?
- chartKind OfficeIMO.OfficeChartType
- data OfficeIMO.Drawing.OfficeChartData
- width OfficeIMO.OfficeLength
- height OfficeIMO.OfficeLength
- style OfficeIMO.Drawing.OfficeChartStyle?
- layout OfficeIMO.Drawing.OfficeChartLayout?
- radialLayout OfficeIMO.Drawing.OfficeChartRadialLayout
public OfficeChartSnapshot(string name, string? title, OfficeChartType chartKind, OfficeChartData data, OfficeLength width, OfficeLength height, OfficeChartStyle? style, OfficeChartLayout? layout, double bubbleScalePercent, OfficeChartBubbleSizeMode bubbleSizeMode, OfficeChartRadialLayout radialLayout) #Creates a chart snapshot with explicit bubble sizing and radial geometry.
Parameters
- name string
- title string?
- chartKind OfficeIMO.OfficeChartType
- data OfficeIMO.Drawing.OfficeChartData
- width OfficeIMO.OfficeLength
- height OfficeIMO.OfficeLength
- style OfficeIMO.Drawing.OfficeChartStyle?
- layout OfficeIMO.Drawing.OfficeChartLayout?
- bubbleScalePercent double
- bubbleSizeMode OfficeIMO.Drawing.OfficeChartBubbleSizeMode
- radialLayout OfficeIMO.Drawing.OfficeChartRadialLayout
Methods
public OfficeChartSnapshot WithSize(OfficeLength width, OfficeLength height) #Creates a snapshot at a different render size while retaining all chart data and presentation metadata.
Parameters
- width OfficeIMO.OfficeLength
- Positive physical render width.
- height OfficeIMO.OfficeLength
- Positive physical render height.
Returns
OfficeChartSnapshotInherited Methods
Properties
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.