Class Chart3DSmartLabelSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
Chart3DSmartLabelSettingsBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.EJ2.Charts
Assembly: Syncfusion.AspNetMvc.Chart3D.dll
Syntax
public class Chart3DSmartLabelSettingsBuilder : ControlBuilder
Constructors
Chart3DSmartLabelSettingsBuilder()
Declaration
public Chart3DSmartLabelSettingsBuilder()
Chart3DSmartLabelSettingsBuilder(Chart3DSmartLabelSettings)
Declaration
public Chart3DSmartLabelSettingsBuilder(Chart3DSmartLabelSettings model)
Parameters
| Type | Name | Description |
|---|---|---|
| Chart3DSmartLabelSettings | model |
Methods
Background(String)
The background color for the relocated label.
Declaration
public Chart3DSmartLabelSettingsBuilder Background(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value |
Returns
| Type |
|---|
| Chart3DSmartLabelSettingsBuilder |
Border(Chart3DBorder)
The border properties for the relocated label.
Declaration
public Chart3DSmartLabelSettingsBuilder Border(Chart3DBorder value)
Parameters
| Type | Name | Description |
|---|---|---|
| Chart3DBorder | value |
Returns
| Type |
|---|
| Chart3DSmartLabelSettingsBuilder |
Border(Action<Chart3DBorderBuilder>)
Declaration
public Chart3DSmartLabelSettingsBuilder Border(Action<Chart3DBorderBuilder> border)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<Chart3DBorderBuilder> | border |
Returns
| Type |
|---|
| Chart3DSmartLabelSettingsBuilder |
ConnectorLineStyle(Chart3DConnectorLineStyle)
The connector line properties for the relocated label.
Declaration
public Chart3DSmartLabelSettingsBuilder ConnectorLineStyle(Chart3DConnectorLineStyle value)
Parameters
| Type | Name | Description |
|---|---|---|
| Chart3DConnectorLineStyle | value |
Returns
| Type |
|---|
| Chart3DSmartLabelSettingsBuilder |
ConnectorLineStyle(Action<Chart3DConnectorLineStyleBuilder>)
Declaration
public Chart3DSmartLabelSettingsBuilder ConnectorLineStyle(Action<Chart3DConnectorLineStyleBuilder> connectorLineStyle)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<Chart3DConnectorLineStyleBuilder> | connectorLineStyle |
Returns
| Type |
|---|
| Chart3DSmartLabelSettingsBuilder |
Offset(Double)
Specifies the position of the connector line and data label for relocated labels.
This property is used when a data label is relocated due to overlap with another data label.
The value ranges from 0 to 1:
0: Positions the connector at the start of the point region.0.5: Positions the connector at the center of the point region.1: Positions the connector at the end of the point region. This property is applicable only whenlabelIntersectActionis set toRelocateVertically. In vertical relocation mode, all connector lines and pointers are aligned along the same line, making it difficult to identify the corresponding data point. Theoffsetproperty helps distinguish the connector position by adjusting its anchor point within the point region.
Declaration
public Chart3DSmartLabelSettingsBuilder Offset(double value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | value |
Returns
| Type |
|---|
| Chart3DSmartLabelSettingsBuilder |
PointerShape(RelocatePointerShape)
Specifies the pointer shape displayed between the connector line and the label. The available options are: None - Displays the relocated label without a pointer. Arrow - Displays an arrow pointer between the connector line and the relocated label.
Declaration
public Chart3DSmartLabelSettingsBuilder PointerShape(RelocatePointerShape value)
Parameters
| Type | Name | Description |
|---|---|---|
| RelocatePointerShape | value |
Returns
| Type |
|---|
| Chart3DSmartLabelSettingsBuilder |