Class MultiLevelLabels
Inherited Members
Namespace: Syncfusion.JavaScript.DataVisualization.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class MultiLevelLabels : EJTagHelper
Constructors
MultiLevelLabels()
Declaration
public MultiLevelLabels()
Properties
Border
Gets or sets the value for border, which provides option to specify the border values for multi level labels.
Declaration
[JsonProperty("border")]
public MultiLevelLabelsBorder Border { get; set; }
Property Value
Type | Description |
---|---|
MultiLevelLabelsBorder |
Remarks
Options to set the border values.
End
Gets or sets the value for End, which provides options to specify, multi level labels end value.
Declaration
[JsonProperty("end")]
[EJDate]
public object End { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Remarks
End value of the multi-level labels.
Font
Gets or sets the value for Font, which provides option to customize font size, family, color, style and opacity
Declaration
[JsonProperty("font")]
public ChartFont Font { get; set; }
Property Value
Type | Description |
---|---|
ChartFont |
Remarks
Options for customizing the font of the text.
Level
Gets or sets the value for Level, which provides option to specify level for multi level labels to be rendered.
Declaration
[JsonProperty("level")]
public double Level { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Remarks
Level value of the multi-level labels.
MaximumTextWidth
Gets or sets the value for MaximumTextWidth, which specifies maximum text width for multi level axis labels.
Declaration
[JsonProperty("maximumTextWidth")]
public double? MaximumTextWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
Remarks
MaximumTextWidth value of the multi-level labels.
Start
Gets or sets the value for Start, which provides options to specify multi level labels start value.
Declaration
[EJDate]
[JsonProperty("start")]
public object Start { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Remarks
Start value of the multi-level labels.
Text
Gets or sets the value for Text, which provides option to render the text as multi level label.
Declaration
[JsonProperty("text")]
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Specifies text to be displayed inside the multi-level label.
TextAlignment
Gets or sets the value for TextAlignment, which is used to align the text of primary or secondary axis multi level labels.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("textAlignment")]
public Alignment TextAlignment { get; set; }
Property Value
Type | Description |
---|---|
Alignment |
Remarks
Specifies the alignment of the text inside the multi-level labels.
TextOverflow
Gets or sets the value for textOverflow, which displays axis labels without any overlap with another labels.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("textOverflow")]
public TextOverflow TextOverflow { get; set; }
Property Value
Type | Description |
---|---|
TextOverflow |
Remarks
Specifies the textOverflow value for the text.
Visible
Gets or sets the value for Visible, which enables or disables the visibility of multi level axis labels.
Declaration
[JsonProperty("visible")]
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
Show/hides the multi-level labels.
Methods
ShouldSerializeFont()
Declaration
public bool ShouldSerializeFont()
Returns
Type | Description |
---|---|
System.Boolean |