I have seen from screenshots in your site that there is this possibility but I cannot find how to do it.
From the web version I understood it is a property called LabelPosition which takes values like "center", "best fit" etc if I am not mistaken but I was unable to find this in the windows version of it.
Hello,
Yes, the UltraPieChart has a LabelsPosition property. You can read about it here:
https://ko.infragistics.com/help/winforms/infragistics.win.datavisualization.ultradatachart~infragistics.win.datavisualization.piechartbase~labelsposition
Please let me know if I may be of further assistance.
Sincerely,Sahaja KokkalagaddaAssociate Software Developer
In my application UltraChart class is defined as:
namespace Infragistics.Win.UltraWinChart { [Browsable(true)] [DefaultEvent("ChartDataClicked")] [DefaultProperty("ChartType")] [Designer("Infragistics.UltraChart.Design.UltraWinChartDesigner, Infragistics4.Win.UltraChart.v17.1.Design, Version=17.1.20171.1008, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb")] [DesignerSerializer("Infragistics.Win.UltraWinChart.WinChartHelper.UltraChartCodeDomSerializer, Infragistics4.Win.UltraChart.v17.1.Design, Version=17.1.20171.1008, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design")] [LicenseProvider(typeof(UltraLicenseProvider))] [LocalizedDescriptionAttribute("LD_UltraChart")] [ToolboxBitmap(typeof(UltraChart), "UltraChart.png")] [UltraLicenseAttribute("UltraWinChart")] public class UltraChart : UserControl, IChartComponent, ISupportInitialize, ISupportPresetSerialization, IUltraLicensedComponent { public UltraChart();
and does not inherit from PieBaseChart
thus the LabelsPosition is not there
You can control the position of the labels by using the HorizontalAlign and VerticalAlign properties located on the AxisLabelAppearance. For example, you might tryultraChart1.Axis.X.Labels.HorizontalAlign = StringAlignment.Near;
Please try this out and let me know whether it works.