Hello,
I have a SfCircularGauge that i'm using for my app on Android and iOS. I'm using the Scale and have LabelPrefix with New Line Character ("\n").
What i'm seeing is a different between how the label is rendered on Android and iOS. on iOS, the label become two lines, otherwise, on Android only have one lines.
This is my code:
var scale = new Scale
{
StartValue = 0,
StartAngle = 180,
LabelColor = Palette.Secondary.Blue,
LabelFontSize = 12,
LabelPrefix = "Target\n"
LabelOffset = 1,
ShowFirstLabel = false,
ShowTicks = false,
ShowRim = false
};
scale.SetBinding(Syncfusion.SfGauge.XForms.Scale.EndValueProperty, "TARGET");
scale.SetBinding(Syncfusion.SfGauge.XForms.Scale.IntervalProperty, "TARGET");
scale.SetBinding(Syncfusion.SfGauge.XForms.Scale.SweepAngleProperty, "SWEEP");
I have been used => LabelPrefix = string.Format("Target{0}", Environment.NewLine), but not working too..
Any ideas?
Thanks..