Class ChartAxisTitle
Represents the axis title. This class can be used to customize the appearance of axis title.
Inheritance
Namespace: Syncfusion.SfChart.XForms
Assembly: Syncfusion.SfChart.XForms.dll
Syntax
public class ChartAxisTitle : Element, IThemeElement
Examples
SfChart chart = new SfChart();
chart.PrimaryAxis.Title = new ChartAxisTitle();
chart.PrimaryAxis.Title.Text = "XAxis";
Constructors
ChartAxisTitle()
Initializes a new instance of the ChartAxisTitle class.
Declaration
public ChartAxisTitle()
Fields
BackgroundColorProperty
Gets or sets the background color of the axis title. This is a bindable property.
Declaration
public static readonly BindableProperty BackgroundColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
BorderColorProperty
Gets or sets the border stroke color of the axis title. This is a bindable property.
Declaration
public static readonly BindableProperty BorderColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
BorderWidthProperty
Gets or sets the width of the axis title border line. This is a bindable property.
Declaration
public static readonly BindableProperty BorderWidthProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
FontAttributesProperty
Gets or sets the font style for the axis title. This is a bindable property.
Declaration
public static readonly BindableProperty FontAttributesProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
FontFamilyProperty
Gets or sets the font family name for the axis title. This is a bindable property.
Declaration
public static readonly BindableProperty FontFamilyProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
FontProperty
Gets or sets the Font for the axis title. This is a bindable property.
Declaration
public static readonly BindableProperty FontProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
FontSizeProperty
Gets or sets the font size for the axis title. This is a bindable property.
Declaration
public static readonly BindableProperty FontSizeProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
MarginProperty
Gets or sets the margin of the axis title. This is a bindable property.
Declaration
public static readonly BindableProperty MarginProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TextColorProperty
Gets or sets the color for the text of the axis title. This is a bindable property.
Declaration
public static readonly BindableProperty TextColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TextProperty
Gets or sets the text to be displayed on the axis title. This is a bindable property.
Declaration
public static readonly BindableProperty TextProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Properties
BackgroundColor
Gets or sets the background color of the axis title. This is a bindable property.
Declaration
public Color BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | This property takes the Xamarin.Forms.Color value. |
BorderColor
Gets or sets the border stroke color of the axis title. This is a bindable property.
Declaration
public Color BorderColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | This property takes the Xamarin.Forms.Color value. |
BorderWidth
Gets or sets the width of the axis title border line. This is a bindable property.
Declaration
public double BorderWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Double | This property takes the double value. |
Font
Gets or sets the Font for the axis title. This is a bindable property.
Declaration
public Font Font { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Font | This property takes the Font value. |
FontAttributes
Gets or sets the font styla for the axis title. This is a bindable property.
Declaration
public FontAttributes FontAttributes { get; set; }
Property Value
Type |
---|
Xamarin.Forms.FontAttributes |
FontFamily
Gets or sets the font family name for the axis title. This is a bindable property.
Declaration
public string FontFamily { get; set; }
Property Value
Type |
---|
System.String |
FontSize
Gets or sets the font size for the axis title. This is a bindable property.
Declaration
public float FontSize { get; set; }
Property Value
Type |
---|
System.Single |
Margin
Gets or sets the margin of the axis title. This is a bindable property.
Declaration
public Thickness Margin { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Thickness | This property takes the Xamarin.Forms.Thickness value. |
Text
Gets or sets the text to be displayed on the axis title. This is a bindable property.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | This property takes the string value. |
TextColor
Gets or sets the color for the text of the axis title. This is a bindable property.
Declaration
public Color TextColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | This property takes the Xamarin.Forms.Color value. |