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
15
InfragisticsWPF4.Chart v10.3 - When setting Y axis Unit value from range [0.1 -- 1.] chart is not able to create range with 2 or more decimal places - rounds to 1 decimal place number.
posted

Hello.

WPF project, targeting 4.7.2 .NET Framework version.

We are using InfragisticsWPF4.Chart v10.3.

We created line chart.

When setting Y axis Unit value from range  [0.1 -- 1.] it is not able to create range with 2 or more decimal places - rounds to 1 decimal place number.

Using 2 or more decimal places. Y axis values are rounded to nearest 1 decimal place number.

Example.
A [issue]: when set unit=0.25, min=0, max=1 then it will display  y values: 0.3; 0.5; 0.8; 1.0
B: issuewhen set unit=0.24, min=0, max=1 then it will display  y values: 0.2; 0.5; 0.7; 1.0

C [works fine]: when set unit=0.05, min=0, max=1 then it will display  y values: 0.05; 0.10; 0.15; 0.20;...

D [works fine]: when set unit=1.111, min=0, max=10 then it will display  y values: 1.111; 2.222; 3.333;...

In our code I do not see any issue - Unit value is set for Axis options - so looks like it is Chart control issue. 
Did not tried latest version... 

Any comments or you are aware about such issue.

Parents
No Data
Reply
  • 7535
    Offline posted

    Hello Vidmantas, 

    Thank you for your post . I am little confused here , you posted the question under Windows Forms but you mentioned WPF dll , so may I know which platform chart you are using WinForms or WPF?

    Please keep in mind version 10.3 is no longer supported , we may or may not had an issue ,.

    You have to confirm by running the sample against latest version 21.2/22.1, if we still find the issue we can investigate it further.

    Regards,

Children
No Data