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
90
PieChart3D: how to display integer values
posted

Hi,

I am using UltraChart as PieChart3D.  I set it to display values instead of percentages.  The problem is that the values are counts, but I am getting 2 decimal points.

I tried to change the FormatString to <DATA_VALUE:00>.  It looked correct on the designer but did not work when I run the application.

How to make the PieChart display integers.

 

Thanks,

Nuha

Parents
  • 12875
    posted

    Hi Nuha,

     

    Glad you were able to find the answer.   Your FormatString looked correct to me.  You should be able to use “00” or “##” to generate a 2 digit label.

     

    “00” would cause the value to be rounded to the nearest digit preceding the decimal.  For example, formatting 21.5 with "00" would result in the value 22.

     

    A “##” format string would cause the value to be truncated to the nearest digit preceding the decimal. For example, formatting 21.5 with "##" would result in the value 21.

    Let me know if you have any other questions. 

    Marianne

Reply Children
No Data