ChartDataLabelOptionsFluent
ChartForgeX.Core
The fluent methods of ChartDataLabelOptions, 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
- ChartDataLabelOptionsFluent
Methods
public static ChartDataLabelOptions ConnectorColor(ChartDataLabelOptions chartDataLabelOptions, ChartColor? value) #Sets ChartDataLabelOptions.ConnectorColor: Gets or sets an optional override color for data-label connector lines. Pie and donut callouts use the matching slice color when this is null.
Parameters
- chartDataLabelOptions ChartForgeX.Core.ChartDataLabelOptions
- The instance.
- value ChartForgeX.Primitives.ChartColor?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartDataLabelOptions { ConnectorColor = value }; chartDataLabelOptions.ConnectorColor(value);public static ChartDataLabelOptions ConnectorOpacity(ChartDataLabelOptions chartDataLabelOptions, double value) #Sets ChartDataLabelOptions.ConnectorOpacity: Gets or sets the opacity used by data-label connector lines.
Parameters
- chartDataLabelOptions ChartForgeX.Core.ChartDataLabelOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartDataLabelOptions { ConnectorOpacity = value }; chartDataLabelOptions.ConnectorOpacity(value);public static ChartDataLabelOptions ConnectorStrokeWidth(ChartDataLabelOptions chartDataLabelOptions, double value) #Sets ChartDataLabelOptions.ConnectorStrokeWidth: Gets or sets the stroke width used by data-label connector lines.
Parameters
- chartDataLabelOptions ChartForgeX.Core.ChartDataLabelOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartDataLabelOptions { ConnectorStrokeWidth = value }; chartDataLabelOptions.ConnectorStrokeWidth(value);public static ChartDataLabelOptions ConnectorStyle(ChartDataLabelOptions chartDataLabelOptions, ChartDataLabelConnectorStyle value) #Sets ChartDataLabelOptions.ConnectorStyle: Gets or sets the connector line shape used by outside and side data labels.
Parameters
- chartDataLabelOptions ChartForgeX.Core.ChartDataLabelOptions
- The instance.
- value ChartForgeX.Core.ChartDataLabelConnectorStyle
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartDataLabelOptions { ConnectorStyle = value }; chartDataLabelOptions.ConnectorStyle(value);public static ChartDataLabelOptions Placement(ChartDataLabelOptions chartDataLabelOptions, ChartDataLabelPlacement value) #Sets ChartDataLabelOptions.Placement: Gets or sets the preferred data-label placement for capable renderers.
Parameters
- chartDataLabelOptions ChartForgeX.Core.ChartDataLabelOptions
- The instance.
- value ChartForgeX.Core.ChartDataLabelPlacement
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartDataLabelOptions { Placement = value }; chartDataLabelOptions.Placement(value);public static ChartDataLabelOptions Visible(ChartDataLabelOptions chartDataLabelOptions, bool? value = true) #Sets ChartDataLabelOptions.Visible: Gets or sets chart-level data-label visibility. Series without an explicit override use this setting. When unset, the renderer uses its family's default visibility.
Parameters
- chartDataLabelOptions ChartForgeX.Core.ChartDataLabelOptions
- The instance.
- value bool? = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartDataLabelOptions { Visible = value }; chartDataLabelOptions.Visible(value);