Title in Xamarin.iOS Chart(SfChart)
Following properties are used to customize its appearance.
TextColor– used to change the color of the text.
BackgroundColor– used to change the background color.
BorderColor– used to change the border color.
Opacity- used to control the transparency of the title.
BorderWidth– used to change the border width.
Font– used to change the text size, font family and font weight.
EdgeInsets- used to change the margin for title.
chart.Title.Text = "Efficiency of Oil Fired Power Production"; chart.Title.TextColor = UIColor.Blue;
chart.Title.Text = "Efficiency of Oil Fired Power Production"; chart.Title.TextAlignment = UITextAlignment.Left; chart.Title.TextColor = UIColor.Blue;
By using the
LineBreakMode property, You can wrap the chart title text content. The default value of this property is
chart.Title.Text = "Percentage change in efficiency of oil-fired power production in Russia for six months; chart.Title.TextColor = UIColor.Blue; chart.Title.LineBreakMode = UILineBreakMode.TailTruncation;
Was this page helpful? Yes No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page