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.
Sorry about the confusion! I think it's not really dividing by 10. It's jut once I change the format, instead of showing me the data, it should be column #. For example: My data is 10, 20,30,40,50. When I change it to
this
.ultraChart1.Axis.X.Labels.ItemFormatString = "<DATA_VALUE:###,###,###,##0.0000>"; or your suggestion:
this.ultraChart1.Axis.X.Labels.ItemFormatString = "<DATA_VALUE:0.00##>"; or
My x-axis become 0.0000, 1.0000, 2.0000....etc.
Is there a setting which I need to set in order to use my data as x-axis while formatting to 4 decimal places? 10.0000.
Unfortunately, this is not working for me. Any other suggestion? It keeps dividing my value by 10 when I use the above.
You can try:
this.ultraChart1.Axis.X.Labels.ItemFormatString = <DATA_VALUE:0.00##>";