Table of Contents

Class ChartSeriesBuilder

Namespace
OdfKit.Chart
Assembly
OdfKit.dll

A fluent configurer for a chart data series. 圖表資料序列的 Fluent 配置器。

public sealed class ChartSeriesBuilder
Inheritance
ChartSeriesBuilder
Inherited Members

Methods

WithDataLabels(OdfChartDataLabelInfo?)

Sets the series data label. 設定序列資料標籤。

public ChartSeriesBuilder WithDataLabels(OdfChartDataLabelInfo? info)

Parameters

info OdfChartDataLabelInfo

The data label setting; pass null to remove the existing setting. / 資料標籤設定;傳入 null 表示移除既有設定。

Returns

ChartSeriesBuilder

The current builder. / 目前 builder。

WithDataLabels(OdfChartDataLabelPreset)

Sets the series data label according to a common preset combination. 依常用預設組合設定序列資料標籤。

public ChartSeriesBuilder WithDataLabels(OdfChartDataLabelPreset preset)

Parameters

preset OdfChartDataLabelPreset

The data label preset combination; None removes the existing setting. / 資料標籤預設組合;None 表示移除既有設定。

Returns

ChartSeriesBuilder

The current builder. / 目前 builder。

WithErrorIndicator(OdfChartErrorIndicatorInfo)

Sets the series error bar. 設定序列誤差棒。

public ChartSeriesBuilder WithErrorIndicator(OdfChartErrorIndicatorInfo info)

Parameters

info OdfChartErrorIndicatorInfo

The error bar setting. / 誤差棒設定。

Returns

ChartSeriesBuilder

The current builder. / 目前 builder。

WithStyle(Action<OdfChartStyle>)

Configures the series style. 配置序列樣式。

public ChartSeriesBuilder WithStyle(Action<OdfChartStyle> configure)

Parameters

configure Action<OdfChartStyle>

The style configuration delegate. / 樣式配置委派。

Returns

ChartSeriesBuilder

The current builder. / 目前 builder。