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
50
UltraChart designer bug?
posted

Apologies to the group if somehow this is a known issue; I searched the Infragistics sites but didn't find confirmation.  In fact it may not be a bug but some unfortunate result due to my misuse of the framework...

Background:
  -  Using  NetAdvantage 2011.1 for Windows Form
  -  In Visual Studio, using the designer, I edit an  Infragistics.Win.UltraWinChart.UltraChart ...
         - I set the ChartType   to  PointChart3D
         - I also set various properties,  in particular I alter the Format properties of the Axis.*  Labels

Problem:
    It appears that the order in which the code automatically produced in the InitializeComponent() method (myForm.designer.cs file) is not functional because the various assignments to properties such as
           this.ultraChart1.Axis.X.Labels.ItemFormatString = "<DATA_VALUE:0.##>";
are placed before the assignment of the ChartType
           this.ultraChart1.ChartType = Infragistics.UltraChart.Shared.Styles.ChartType.PointChart3D;

Since this is a well known fact that [re-]assigning the ChartType properties results in altering many of the Chart's properties  (see for eg. the ChartType property documentation or also several references in the forums),  this apparently alphabetic order in which the properties assignments are written out in the InitializeComponents method seems to be an oversight or a bug.


Am I missing something?
Any suggestion or workaround is welcome. 

Thanks!