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
710
axis decimal places
posted

I don't really know why it is not working for me. I have a 3D HeatMap chart and I would like the x and y axis label to have only 2 decimal places. My data looks like this: 10.000000, 20.000000.

Unfortunately, when I use the below, the data gets changed to 1.00, 2.00. I have no idea why this could happen.

 

ultraChart1.Axis.X.Labels.ItemFormatString =

"<DATA_VALUE:###.00>" ;

ultraChart1.Axis.Y.Labels.ItemFormatString =

"<DATA_VALUE:###.00>";

 Please help.

Parents
No Data
Reply
  • 27093
    posted

    Hello,

    Your formatting string is incorrect: try this one:

    ultraChart1.Axis.X.Labels.ItemFormatString =

    "<DATA_VALUE: #,###.##>" ;

     

    Hope this helps.

    Sincerely,

    Petar Monov

    Developer Support Engineer,

    Infragistics, Inc

     

     

     

Children
No Data