ChartPieOptionsFluent
ChartForgeX.Core
The fluent methods of ChartPieOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.
Inheritance
- object
- ChartPieOptionsFluent
Methods
public static ChartPieOptions CenterLabel(ChartPieOptions chartPieOptions, string? value) #Sets ChartPieOptions.CenterLabel: Gets or sets optional custom secondary text rendered in the center of donut charts.
Parameters
- chartPieOptions ChartForgeX.Core.ChartPieOptions
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartPieOptions { CenterLabel = value }; chartPieOptions.CenterLabel(value);public static ChartPieOptions CenterValue(ChartPieOptions chartPieOptions, string? value) #Sets ChartPieOptions.CenterValue: Gets or sets optional custom primary text rendered in the center of donut charts.
Parameters
- chartPieOptions ChartForgeX.Core.ChartPieOptions
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartPieOptions { CenterValue = value }; chartPieOptions.CenterValue(value);public static ChartPieOptions InnerRadiusRatio(ChartPieOptions chartPieOptions, double value) #Sets ChartPieOptions.InnerRadiusRatio: Gets or sets the ratio of the donut hole radius to the outer radius.
Parameters
- chartPieOptions ChartForgeX.Core.ChartPieOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartPieOptions { InnerRadiusRatio = value }; chartPieOptions.InnerRadiusRatio(value);public static ChartPieOptions InsideLabelRadiusRatio(ChartPieOptions chartPieOptions, double? value) #Sets ChartPieOptions.InsideLabelRadiusRatio: Gets or sets an inside label's distance from its slice center as a fraction of the outer radius.
Parameters
- chartPieOptions ChartForgeX.Core.ChartPieOptions
- The instance.
- value double?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartPieOptions { InsideLabelRadiusRatio = value }; chartPieOptions.InsideLabelRadiusRatio(value);public static ChartPieOptions LegendContent(ChartPieOptions chartPieOptions, ChartPieLegendContent? value) #Sets ChartPieOptions.LegendContent: Gets or sets optional pie and donut legend columns. Null retains native labels, values and percentages.
Parameters
- chartPieOptions ChartForgeX.Core.ChartPieOptions
- The instance.
- value ChartForgeX.Core.ChartPieLegendContent?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartPieOptions { LegendContent = value }; chartPieOptions.LegendContent(value);public static ChartPieOptions MaxSlices(ChartPieOptions chartPieOptions, int value) #Sets ChartPieOptions.MaxSlices: Gets or sets the maximum displayed pie or donut slices, including an aggregate Other slice.
Parameters
- chartPieOptions ChartForgeX.Core.ChartPieOptions
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartPieOptions { MaxSlices = value }; chartPieOptions.MaxSlices(value);public static ChartPieOptions OuterOutline(ChartPieOptions chartPieOptions, ChartStrokeStyle? value) #Sets ChartPieOptions.OuterOutline: Gets or sets an immutable outer-circle outline for each pie or donut band. Null adds no outer-circle mark.
Parameters
- chartPieOptions ChartForgeX.Core.ChartPieOptions
- The instance.
- value ChartForgeX.Core.ChartStrokeStyle?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartPieOptions { OuterOutline = value }; chartPieOptions.OuterOutline(value);public static ChartPieOptions OutsideLabelDistanceRatio(ChartPieOptions chartPieOptions, double value) #Sets ChartPieOptions.OutsideLabelDistanceRatio: Gets or sets the side-lane distance for outside pie and donut labels as a ratio of the outer radius.
Parameters
- chartPieOptions ChartForgeX.Core.ChartPieOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartPieOptions { OutsideLabelDistanceRatio = value }; chartPieOptions.OutsideLabelDistanceRatio(value);public static ChartPieOptions PreserveSourceOrder(ChartPieOptions chartPieOptions, bool value = true) #Sets ChartPieOptions.PreserveSourceOrder: Gets or sets whether pie and donut marks and legends keep authored observation order.
Parameters
- chartPieOptions ChartForgeX.Core.ChartPieOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartPieOptions { PreserveSourceOrder = value }; chartPieOptions.PreserveSourceOrder(value);public static ChartPieOptions ShowCenterLabel(ChartPieOptions chartPieOptions, bool value = true) #Sets ChartPieOptions.ShowCenterLabel: Gets or sets a value indicating whether donut charts render the center total and series label.
Parameters
- chartPieOptions ChartForgeX.Core.ChartPieOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartPieOptions { ShowCenterLabel = value }; chartPieOptions.ShowCenterLabel(value);public static ChartPieOptions SliceLabelBy(ChartPieOptions chartPieOptions, Func<ChartPieSliceLabelContext, string?>? value) #Sets ChartPieOptions.SliceLabelFormatter: Gets or sets a custom formatter for pie and donut slice data labels.
Parameters
- chartPieOptions ChartForgeX.Core.ChartPieOptions
- The instance.
- value System.Func<ChartForgeX.Core.ChartPieSliceLabelContext, string?>?
- The callback.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartPieOptions { SliceLabelFormatter = value }; chartPieOptions.SliceLabelBy(value);public static ChartPieOptions SliceLabelContent(ChartPieOptions chartPieOptions, ChartPieSliceLabelContent value) #Sets ChartPieOptions.SliceLabelContent: Gets or sets the text rendered for pie and donut slice data labels.
Parameters
- chartPieOptions ChartForgeX.Core.ChartPieOptions
- The instance.
- value ChartForgeX.Core.ChartPieSliceLabelContent
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartPieOptions { SliceLabelContent = value }; chartPieOptions.SliceLabelContent(value);public static ChartPieOptions SliceOpacity(ChartPieOptions chartPieOptions, double? value) #Sets ChartPieOptions.SliceOpacity: Gets or sets an opacity multiplier for Pie/Donut slice fill, separator and pattern paint; null retains ordinary native paint.
Parameters
- chartPieOptions ChartForgeX.Core.ChartPieOptions
- The instance.
- value double?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartPieOptions { SliceOpacity = value }; chartPieOptions.SliceOpacity(value);public static ChartPieOptions SliceOutline(ChartPieOptions chartPieOptions, ChartStrokeStyle? value) #Sets ChartPieOptions.SliceOutline: Gets or sets an immutable slice outline. Null retains the native surface-colored two-pixel separator.
Parameters
- chartPieOptions ChartForgeX.Core.ChartPieOptions
- The instance.
- value ChartForgeX.Core.ChartStrokeStyle?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartPieOptions { SliceOutline = value }; chartPieOptions.SliceOutline(value);