I have created a simple 2D stacked bar chart with UltraWinChart.UltraChart. Which works well when any of the value is greater than 10. But shows up the problem when all values are less than 10.This first state of chart shows up when all the values are below 10.RangeType = Automatic. this.ultraChart1.Axis.X.TickmarkInterval = 100D; this.ultraChart1.Axis.X.TickmarkStyle = Infragistics.UltraChart.Shared.Styles.AxisTickStyle.Smart; timeAxisAppearance1.TimeAxisStyle = Infragistics.UltraChart.Shared.Styles.RulerGenre.Discrete;
DataValues are 10,9,8,7
With same properties when any of data values have value more than 10, in following case values are 11,9,8,7
Though this case shows up with something, it doesnt looks good like the following case.
.
With same properties and with data values 50,9,8,7. All looks good, this is what expected for each scenario.
This is the expectation in each case regardless of data values.
Hello Rahul,
I followed the steps you suggested and was unable to reproduce the 2D StackedBarChart data rendering behavior you're describing. I added a StackedBarChart to my form and entered the data values in the ranges you specified. However, when the values are less than 10 I did not observe the behavior you mentioned.
I have attached the sample project I used to test this. Please test this project on your PC; whether or not it works correctly may help indicate the nature of this problem.
If the project does not work correctly, then the change in behavior is due to differences in your environment from mine and these differences can be anything from operating system version to the specific version of the Infragistics DLL versions used. My test was performed using version 2017.2.20172.1000 in Infragistics for WindowsForms 2017 Vol2. Please provide more details about your machine and version of the assemblies that you are referencing so that I can modify the environment that I am testing in to match yours.
If the project does show the product feature working correctly, then more information will be needed to reproduce the issue in a sample that can be used for debugging. It will help if you can provide a small, isolated sample application that demonstrates the behavior you are seeing. This can be done by either making the sample that I provided more like your application or by isolating the behavior from your application by removing dependencies on any third parties or databases.
Please let me know if I can provide any further assistance.
Sincerely,Sahaja KokkalagaddaAssociate Software Developer
2DStackedBarChartSample.zip