Table of Contents

Class OdfChartStyle

Namespace
OdfKit.Chart
Assembly
OdfKit.dll

Represents an editable chart automatic style (style:family="chart"). 表示可編輯的圖表自動樣式(style:family="chart")。

public sealed class OdfChartStyle
Inheritance
OdfChartStyle
Inherited Members

Properties

AngleOffset

Gets or sets the 3D projection rotation angle offset (maps to chart:angle-offset). 取得或設定 3D 投影的旋轉角度偏置(對應 chart:angle-offset)。

public int? AngleOffset { get; set; }

Property Value

int?

AxisLabelPosition

Gets or sets the alignment position of axis labels relative to the axis (maps to chart:axis-label-position). 取得或設定座標軸標籤相對於座標軸的對齊位置(對應 chart:axis-label-position)。

public string? AxisLabelPosition { get; set; }

Property Value

string

Remarks

Common values include near-axis, near-axis-other-side, outside-start, and outside-end. / 常見值包含 near-axisnear-axis-other-sideoutside-startoutside-end

DataStyleName

Gets or sets the data style name used for number formatting. 取得或設定用於數字格式的資料樣式名稱。

public string? DataStyleName { get; set; }

Property Value

string

Fill

Gets or sets the fill style (maps to draw:fill). 取得或設定填滿樣式(對應 draw:fill)。

public string? Fill { get; set; }

Property Value

string

FillColor

Gets or sets the fill color (maps to draw:fill-color). 取得或設定填滿色(對應 draw:fill-color)。

public string? FillColor { get; set; }

Property Value

string

LabelPosition

Gets or sets the position of axis scale labels (maps to chart:label-position). 取得或設定座標軸刻度標籤的位置(對應 chart:label-position)。

public string? LabelPosition { get; set; }

Property Value

string

Remarks

Common values include near-axis, near-axis-other-side, outside-start, and outside-end. / 常見值包含 near-axisnear-axis-other-sideoutside-startoutside-end

LabelPositionNegative

Gets or sets the position of negative axis scale labels (maps to chart:label-position-negative). 取得或設定座標軸負值刻度標籤的位置(對應 chart:label-position-negative)。

public string? LabelPositionNegative { get; set; }

Property Value

string

LightingMode

Gets or sets whether double-sided lighting mode is enabled (maps to dr3d:lighting-mode). 取得或設定是否啟用雙面光照模式(對應 dr3d:lighting-mode)。

public bool? LightingMode { get; set; }

Property Value

bool?

Name

Gets the style name. 取得樣式名稱。

public string Name { get; }

Property Value

string

Projection

Gets or sets the 3D projection mode (maps to dr3d:projection). 取得或設定 3D 投影模式(對應 dr3d:projection)。

public OdfDr3dProjection? Projection { get; set; }

Property Value

OdfDr3dProjection?

Stroke

Gets or sets the stroke style (maps to draw:stroke). 取得或設定筆觸樣式(對應 draw:stroke)。

public string? Stroke { get; set; }

Property Value

string

StrokeColor

Gets or sets the stroke color (maps to svg:stroke-color). 取得或設定筆觸色(對應 svg:stroke-color)。

public string? StrokeColor { get; set; }

Property Value

string

StrokeWidth

Gets or sets the stroke width (maps to svg:stroke-width). 取得或設定筆觸寬度(對應 svg:stroke-width)。

public string? StrokeWidth { get; set; }

Property Value

string

SymbolHeight

Gets or sets the chart marker symbol height. 取得或設定圖表標記符號高度。

public string? SymbolHeight { get; set; }

Property Value

string

SymbolName

Gets or sets the chart marker symbol name. 取得或設定圖表標記符號名稱。

public string? SymbolName { get; set; }

Property Value

string

SymbolType

Gets or sets the chart marker symbol type. 取得或設定圖表標記符號類型。

public string? SymbolType { get; set; }

Property Value

string

SymbolWidth

Gets or sets the chart marker symbol width. 取得或設定圖表標記符號寬度。

public string? SymbolWidth { get; set; }

Property Value

string

ThreeDimensional

Gets or sets whether the chart is displayed in 3D (maps to chart:three-dimensional). 取得或設定圖表是否為 3D 顯示(對應 chart:three-dimensional)。

public bool? ThreeDimensional { get; set; }

Property Value

bool?

Methods

ToInfo()

Creates a high-level summary of this style. 建立此樣式的高階摘要。

public OdfChartStyleInfo ToInfo()

Returns

OdfChartStyleInfo

The chart style summary. / 圖表樣式摘要。