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
25
UltraChart 2D Stacked bar chart have issues with data values when all the values are less than 10.
posted

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.

All data values below 10This 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.

Parents
No Data
Reply
  • 6120
    Offline posted

    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 Kokkalagadda
    Associate Software Developer

    2DStackedBarChartSample.zip

Children
No Data