Hello, everyone:
I was playing around with SyncFusion charts. I have an example that uses it and was trying to modify it to know how it works.
I was able to modify all aspects of visual representation but the X labels.
When calling the constructor, I added the next code:
PrimaryAxis = new CategoryAxis()
{
Title = new ChartAxisTitle()
{
Text = axisXTitle,
Font = Font.SystemFontOfSize(Device.GetNamedSize(NamedSize.Small, typeof(ChartAxisTitle))),
TextColor = Color.Blue
},
LabelRotationAngle = 90,
EdgeLabelsDrawingMode = EdgeLabelsDrawingMode.Center,
LabelPlacement = LabelPlacement.BetweenTicks,
LabelsIntersectAction = AxisLabelsIntersectAction.None,
TickPosition = AxisElementPosition.Outside,
ShowMajorGridLines = false,
LabelStyle = new ChartAxisLabelStyle()
{
TextColor = Color.green,
Font = Font.SystemFontOfSize(Device.GetNamedSize(NamedSize.Micro, typeof(ChartAxisLabelStyle)))
}
}
No matter how I define font size, what size I put (micro, normal, big, 45, 1000...) the size still remain the same. I read that in older versions of SFCharts there was a bug for this, but I'm updating it via NuGet Package Manager to the almost last version (14.4.0.20, because newer versions are crashing on my system, and didn't have time to check why) and still have this issue, that it was suppose to be fixed on v12 or v13.
Any ideas what is happening here?