Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
330
UltraCategoryChart XAxisLabelHorizontalAlignment won't align center?
posted

I am trying to align my labels in the center using:

UltraCategoryChart1.XAxisLabelHorizontalAlignment = Alignment.HorizontalCenterAlign

But they are slightly off center. It's not the end of the world, but slightly annoying. Any fix for this?

UltraCategoryChart1.XAxisInterval = 1 
UltraCategoryChart1.XAxisLabelFontSize = 16
UltraCategoryChart1.XAxisLabelLeftMargin = 14
UltraCategoryChart1.XAxisLabelTextColor = New SolidColorBrush(Color.Black)
UltraCategoryChart1.XAxisLabelTextStyle = FontStyle.Bold
UltraCategoryChart1.XAxisLabelVisibility = Infragistics.Portable.Components.UI.Visibility.Visible
UltraCategoryChart1.XAxisLabelHorizontalAlignment = Alignment.HorizontalCenterAlign